:root{
    --footer-bg: #181818;
    --primary-bg: #ffffff;
    --secondary-color: #f2f2f2;
    --element-bg: #fff20042;
    --text-color: #2c2c2c;
    --border-radius: 8px;
    --round-border-radius: 2em;
    --shadow: 4px 6px 10px rgba(0, 0, 0, 0.16);
    --primary-color: #FFD700; /* Fallback */
    --primary-color-faded: #ffe75d; /* Faded Fallback */
}

.t5evo{
        --primary-color: #FFD700;
}


html{
    scroll-behavior: smooth;
}

.primary-bg{
    background-color: var(--primary-color);
}

.primary-text{
    color: var(--primary-color);
}

.primary-text-faded{
    color: var(--primary-color-faded);
}

.no-border{
    border: none;
}

*{
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

a{
    text-decoration: none;
    color: white;
    user-select: none;
}

img{
    user-select: none;
    pointer-events: none;
}

h1{
    margin-bottom: 0.1em;
}

.col-2{
    grid-template-columns: repeat(2, 1fr);
}
.col-3{
    grid-template-columns: repeat(3, 1fr);
}
.col-4{
    grid-template-columns: repeat(4, 1fr);
}
.col-5{
    grid-template-columns: repeat(5, 1fr);
}

.dark-mode{
    --primary-bg: #1a1a1a;
    --secondary-color: #212121;
    --footer-bg: #000000;
    --element-bg: #ffffff42;
    --text-color: #ffffff;
    --shadow: 4px 6px 10px rgba(0, 0, 0, 0.3);
    --primary-color: #ffde24; /* Fallback */
}

body{
    background-color: var(--secondary-color);
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-size: 1.2vw;

    display: grid;
    grid-template-rows: auto 16em;

    font-family: "Arial", sans-serif, "Comic Sans MS";
}   
header{
    background: linear-gradient(rgba(0,0,0,.8),transparent);
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    padding: 0.8em 0.8em 2em 0.8em;
    z-index: 69420;
}


.head-elements{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1em;
    padding: 0 1em 0 0.6em;
    margin-top: 0.2em;
}

.head-link{
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s;
    position: relative;
    color: white;
}

.head-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.head-link:hover::after {
  width: 100%;
}   

.head-menu-button{
    background: none;
    color: white;
    font-size: 1.7em;
    cursor: pointer;
}

.head-menu{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    background-color: rgba(16, 16, 16, 0.420);
    backdrop-filter: blur(2px);
    width: 100%;
    padding: 1em;
    padding-top: 5em;
    box-shadow: 1px 1px 10px 1px rgba(255, 255, 255, 0.1) inset;
    z-index: -1;
}

.head-menu-link{
    font-weight: bold;
    font-size: 1.2em;
    margin: 0.5em 0;
    transition: all 0.3s;
    color: white;
    position: relative;
    width: 100%;
}

.head-menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  left: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.head-menu-link:hover::after {
  width: 2.5em;
}



.hidden{
    display: none !important;
}

.full-width{
    width: 100% !important;
}


footer{
    background-color: var(--footer-bg);
    padding: 1em;
    text-align: center;
    color: white;
}

.logo-element{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-header{
    height: 2em;
}

.logo-header-text{
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 0.5em;
    display: inline-block;
}

.mode-switch{
    background: none;
    color: white;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: end;
    margin-left: auto;
    padding: 0.43em 0;
}

.fa-brightness:hover, .fa-moon:hover{
    color: var(--primary-color);
}

.site-section{
    padding: 2em;
    background-color: var(--primary-bg);
    color: var(--text-color);
    margin: 2em 0;
    min-height: 20em;
    position: relative;
}


.kapcsolat-section{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    position: relative;
}
.kapcsolat-info-container{
    margin-top: 1em;
    margin-left: 0.7em;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0.5em;
}
.kapcsolat-info{
    user-select: all;
    font-size: 0.9em;
    color: color-mix(in srgb, white 50%, var(--primary-color) 50%);
}

.social-media-buttons {
    display: flex;
    gap: 0.8em;
}
.social-media-button{
    font-size: 1.3em;
    transition-duration: 0.3s;
}
.social-media-button:hover{
    color: var(--primary-color);
}

.dev-promo{
    opacity: 0;
    user-select: none;
    position: absolute;
    bottom: 1em;
    right: 1em;
    color: white;
    transition: opacity 0.8s ease;
    padding: 2em;
    *{
        margin: 0.2em 0;
        font-size: 1em;
    }
}

.dev-promo a:hover{
    color: white;
}

.kapcsolat-section:hover .dev-promo{
    opacity: 0.3;
    transition-delay: 1s;
}

.dev-promo:hover{
    opacity: 1 !important;
    transition-delay: 0s !important;
}

.required{
    color: rgb(255, 59, 59);
}

.fa-brightness:hover{
    transform: rotate(45deg);
}

.fa-brightness{
    transition: all 0.3s ease;
}