/*BASIC ROOT*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #dfdfdf;
}

body::-webkit-scrollbar {display: none; }
h1, h2 {color: #f1f1f1; }

p {
    color: #dfdfdf;
    font-size: 1.4rem;
}

.img-mobile {
    display: none;
}

.mob-show {
    display: none;
}

.desk-show {
    display: block;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.spacer-top {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .content {
        overflow-x: hidden;
    }

    .mob-show {
        display: block;
    }

    .desk-show {
        display: none;
    }

    .spacer-top {
        margin-top: 10px;
    }
}

/* cookie banner*/
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: #ffffff;
    color: #2c3e50;
    padding: 25px;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

#cookie-banner.show {
    display: flex;
}

#cookie-banner div {
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.5;
}

#dismiss-banner {
    padding: 10px 24px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border: none;
    color: white;
    width: 200px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#dismiss-banner:hover {
    opacity: 0.9;
}

#learn-more {
    margin-top: 12px;
    color: #2980b9;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
}

#learn-more:hover {
    text-decoration: underline;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 768px) {
    #cookie-banner {
        padding: 20px;
        width: 95%;
        bottom: 0;
        border-radius: 0;
    }

    #dismiss-banner {
        width: 80%;
    }
}

/*IOEN BTN*/
.api {
    padding: 7px 12px 7px 15px;
    font-weight: normal;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.6s, background 0.6s, border 0.6s;
}

.api:hover {
    color: rgb(0, 0, 0);
    background-color: #ffffff;
    border: 1px solid rgb(0, 0, 0);
}

.api-fixed {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 5px; 
    text-decoration: none; 
    z-index: 1001;
    align-content: center;
}

.api-fixed.active {
    display: inline-block;
}

@media (max-width: 768px) {
    .api {
        font-size: 16px;
    }
    
}

/* NAVIGATION */
.nav {
    position: fixed;
    background-color: #111111;
    background-image: linear-gradient(to bottom, black, #121212 );
    padding: 15px;
    width: 100%;
    z-index: 1000;
}

.base-nav {
    display: flex;
    justify-content: space-between;
}

.mobile-nav {
    display: none;
    justify-content: space-between;
}

.nav-left {
    display: flex; 
}
.nav-right {
    display: flex;
    align-items: center;
    padding-right: 2%;
}
.nav-right p {
    margin-right: 15px;
    align-items: center;
    align-content: center;

}
.nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 0 10px;
    font-weight: normal;
    transition: color 0.5s ease;
}

.nav-left a {
    font-size: 1.8rem;
} 

.nav-left a:hover {
    color: rgb(124, 124, 124);
}

.nav-right a {
    font-size: 18px;
    position: relative;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.nav-right a:hover {
    color: rgb(124, 124, 124);
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

.hamburger {
    margin-right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}
  
.hamburger span {
    margin-left: 1px;
    position: absolute;
    width: 22px;
    height: 2.75px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}
  
.hamburger span:nth-child(1) {
    top: 12px;
}
  
.hamburger span:nth-child(2) {
    top: 20.5px;
}
  
.hamburger span:nth-child(3) {
    top: 29px;
}
  
.hamburger.active span:nth-child(1) {
    top: 20.5px;
    transform: rotate(45deg);
}
  
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
  
.hamburger.active span:nth-child(3) {
    top: 20.5px;
    transform: rotate(-45deg);
}

.h-text {
    z-index: 1001;
    font-size: 1.8rem;
    color: white;
    padding: 10px;
    margin: 0 10px;
    align-self: center;
}

.mobile-nav .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    height: 100vh;
    background-color: #111111;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.77), #121212ca);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 20px;
    z-index: 1000;
}

.mobile-nav .nav-links.active {
    transform: translateX(0);
}

.mobile-nav .nav-links a {
    text-decoration: none;
    color: white;
    padding: 5px 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    cursor: pointer;
}

.mobile-nav .sub-links {
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: height 0.3s ease;
    height: 0;
}

.mobile-nav .sub-links a {
    font-size: 1.2rem;
    color: #ccc;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .base-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

}

@media (max-width: 930px) {
    .nav-right a {
        margin: 0 4px;
        padding: 6px;
    }
}

@media (max-width: 850px) {
    .nav-right a {
        margin: 0 2px;
        padding: 5px;
    }
}

/*FOOTER*/
footer {
    background-image: linear-gradient(to top, black, #121212);
    color: white;
    padding: 50px 20px;
    position: relative;
}

.spacer-footer {
    margin-top: 150px;
}

.spacer-3 {
    padding: 3%;
}

.spacer-5 {
    padding: 5%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex;
    max-width: 78%;
    margin: auto;
    flex-wrap: wrap;
    position: relative;
}

.social, .legal {
    text-align: left;
    margin-left: 20px;
    width: 200px;
}
.legal ul li a {
    color: #dfdfdf !important;
}

.social h2, .legal h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: white !important;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    color: black;
    text-align: center;
    line-height: 40px;
}

.social-icon-x {
    width: 40px;
    height: 40px;
    content: url("/media/x.png");
}

.social-icon-yt {
    width: 40px;
    height: 40px;
    content: url("/media/y.png");
}

.social-icon-in {
    width: 40px;
    height: 40px;
    content: url("/media/l.png");
}

.legal ul {
    list-style: none;
    padding: 0;
    font-size: 16px;
}

.legal ul li {
    margin: 5px 0;
}

.legal ul li a {
    color: #dfdfdf !important;
    text-decoration: none;
}

.copyright {
    margin-top: 40px;
    font-size: 20px;
    text-align: center;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .footer-container {
        max-width: 100px;
        display: flex;
        align-items: start;
        text-align: start;
        padding: 1% 20px;
        margin: 1%;
    }

    .spacer-5 {
        margin: 0%;
    }
}

/*btn link (main) */
.link-button {
    padding: 10px 20px 10px 20px;
    font-weight: bold;
    background-color: white;
    color: black;
    border: 1px solid transparent;
    border-radius: 25px;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.6s, background 0.6s, border 0.6s;
}
.link-button:hover {
    color: white;
    background-color: #121212;
    border: 1px solid white;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
    gap: 4px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
}

.lang-item {
    position: relative;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
}

.lang-item:hover {
    color: #fff;
}

.lang-item.active {
    background: #fff;
    color: #111;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 14px rgba(0,0,0,0.12);
}

.lang-not {
    position: absolute; 
    width: 60%; 
    margin: 90vh 15% 0 15%; 
    z-index:5; 
    background: rgba(255, 109, 109, 0.418); 
    font-weight: bold;
    display: flex; 
    justify-content: center; 
    padding: 10px 5%; 
    border-radius: 25px;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .lang-not {
        width: 80%;
        margin: 90vh 5% 0 5%;
    }
}