/*
font-family: 'Oswald', sans-serif;
font-weight: 200; ExtraLight 
font-weight: 300; Light
font-weight: 400; Regular
font-weight: 500; Medium
font-weight: 600; SemiBold
font-weight: 700; Bold

font-family: 'Roboto', sans-serif;
font-weight: 400; Regular
font-weight: 500; Medium
font-weight: 700; SemiBold
font-weight: 900; Black
font-style: italic; Italic
font-weight: 700; font-style: italic; ExtraBold Italic

font-family: 'Roboto Condensed', sans-serif;
font-weight: 300; Light
font-weight: 700; Bold
*/

:root {
    --link-text-color: #c4da53;     
    --content-width: 67%;
    --content-margin: 0 2em;
    --font-size-p: 1em;
}

main a {
    color: var(--link-text-color);
    background-color: black;
    padding: 0.25em;
}
body {
    background: linear-gradient(to bottom, #9dcb41, #b5d44e);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Navigation Bar Styles */
.navbar {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    background-color: #000000;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 14% 72% 14%;
    padding: 0 1%;
    height: 4.5em; 
}

.navbar-logo {
    display: flex;
    justify-content: end;
    overflow-y: visible;
}

.navbar-logo .logo {
    height: 5em;
    width: auto;
    justify-self: right;
    align-self: self-end;
    margin-top: 0.75em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-left: 1.7%;
}

.navbar-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-item {
    margin: 0;
}

.navbar-link {
    color: var(--link-text-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-decoration: none;
    font-size: 1.5em;
    padding: 1em 0.5em 0;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-link:hover {
    font-weight: 700;
}

.navbar-link:active {
    transform: translateY(1px);
    font-weight: 700;
}

.navbar-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5em;
}

.language-button {
    background: none;
    border: none;
    width: 2.5em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.flag-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    align-items: center;
    justify-content: center;
}

.hamburger-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--link-text-color);
    transition: all 0.3s ease;
}

.hamburger-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 4.5em;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 999;
    padding: 1em 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {  
    list-style: none;
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-item {
    margin: 0.5em 0;
}

.mobile-nav-link {
    color: var(--link-text-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-decoration: none;
    font-size: 1.2em;
    padding: 0.5em 1em;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.mobile-nav-link:hover {
    font-weight: 700;
}


/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hidden class for loading spinner */
.hidden {
    display: none !important;
}

/* Footer Styles */
.footer {
    background-color: #000000;
    width: 100%;
    height: 4em;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 0.5em 1em 0;
    display: flex;
    align-items: top;
    justify-content: center;
}

.social-buttons {
    display: flex;
    gap: 0.5em;
    align-items: top;
}

.social-button {
    width: 2.25em;
    height: 2.25em;
    background-color: var(--link-text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000000;
    border: 2px solid var(--link-text-color);
}

.social-button:hover {
    background-color: #000000;
    color: var(--link-text-color);
}

.social-button svg,
.social-button img {
    width: 1.5em;
    height: 1.5em;
}

.social-button img {
    filter: brightness(0);
}

.social-button:hover img {
    color: var(--link-text-color);
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   Organized by size (largest to smallest)
   ======================================== */

/* Large tablets and small desktops */
@media (max-width: 1023px) {
    :root {
        --content-width: 80%;
    }
    .navbar-container {
        grid-template-columns: 20% 60% 20%;
        padding: 0 1em;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
        justify-content: center;
    }
    
    .navbar-logo {
        justify-content: flex-start;
        align-items: center;
    }
    
    .navbar-action {
        justify-content: flex-end;
        align-items: center;
    }
    
    /* Ensure logo and language button maintain their positions */
    .navbar-logo .logo {
        height: 5em;
        margin-top: 0.75em;
    }
    
    .language-button {
        width: 2.5em;
        height: 2.5em;
    }
}

/* Tablets and small laptops */
@media (max-width: 768px) {
    :root {
        --content-width: 89%;
        --font-size-p: 0.9em;
        --content-margin: 0 1em;
    }

    .navbar-container {
        padding: 0 15px;
        height: 60px;
        grid-template-columns: 25% 50% 25%;
    }
    
    .navbar-logo {
        justify-content: flex-start;
        align-items: center;
    }
    
    .navbar-logo .logo {
        height: 4em;
        margin-top: 0.5em;
    }
    
    .navbar-action {
        justify-content: flex-end;
        align-items: center;
    }
    
    .language-button {
        width: 2em;
        height: 2em;
    }
    
    .hamburger-button {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .mobile-nav {
        top: 60px;
    }

    /* Mobile responsive adjustments for footer */
    .social-buttons {
        gap: 1em;
    }
    
    .social-button {
        width: 2.2em;
        height: 2.2em;
    }
    
    .social-button svg,
    .social-button img {
        width: 1.3em;
        height: 1.3em;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --content-width: 98%;
        --font-size-p: 0.8em;
    }

    .navbar-logo .logo {
        height: 3em;
        margin-top: 1.5em;
    }

    .navbar-list {
        gap: 15px;
    }
    
    .navbar-link {
        font-size: 2rem;
        padding: 1rem 2rem;
    }
    
    .navbar-button {
        padding: 1rem 2rem;
        font-size: 2rem;
        min-width: 10rem;
    }
}

body.tribilin * {
    transition: transform 3s ease-in-out!important;
}

body.tribilin a, body.tribilin button {
    pointer-events: none!important;
}


body.tribilin *:hover {
    transform: scale(0.9) rotate(1080deg)!important;
}
