:root {
    --primary-color: #7F6BF6;
    --action-color: #F3A712;
    --secondary-color: #F1E3F3;
    --font-family: 'Nunito', sans-serif;
    --text-color: #000500;
}

/* *,
*::before,
*::after {
    box-sizing: border-box;
    outline: 2px solid limegreen;
} */

html {
    scroll-behavior: smooth;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    line-height: 1.6;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    /* text-align: left; */
    padding: 1rem;
    color: white;


}



.logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}


.logo-img-nendel {
    height: 40px;
}

.logo-img-kodcoz {
    height: 70px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;

    z-index: 100;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;

}

.hamburger span {
    display: block;

    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.nav-toggle {
    display: none;
}

/* Mobile Styles */
@media (max-width: 950px) {
    .nav-menu {
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 74px;
        right: 0;
        left: 0;
        display: none;
        padding: 1rem;
        text-align: left;
    }

    .nav-menu li {
        width: 100%;
    }

    .play-button {
        text-align: center !important;
    }

    .nav-menu a {
        text-align: left;
    }

    /* .nav-toggle:checked +.nav-menu {
        display: flex;
    } */
    .nav-toggle:checked~.nav-menu {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}


.hero {
    background-image: url('images/hero3-tr.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size:80%;
    background-color: #010825;
    /*clamp(800px, 100vh - 74px, 100vh);*/
    height: calc(100vh - 102px);
    min-height: 700px;
    max-height: 1024px;
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-shrink: 1;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;

    color: white;
    text-align: center;
    position: relative;
    padding: 2rem;
    font-size: clamp(1rem, 5vw, 2.5rem);
}

.home h3 {
    font-size: clamp(24px, 4vw, 48px);
}
.hero-title{
    position: absolute;
    bottom: 0px;
    width: 100vw;
    font-size: 16px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
}
.title-icon{
    width: 64px;
}

.info {
    width: 60vw;
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    font-size: clamp(10px, 4vw, 16px);
    ;
}

.info :nth-child(1) {
    color: var(--action-color);
    border-radius: 8px;
    padding: 12px;
    text-align: left;
}

.info :nth-child(2) {
    color: var(--action-color);

    border-radius: 8px;
    padding: 12px;
    text-align: right;
}


/* .infos{
    width: clamp(500px, 8vw, 1000px);    
    background-color: red;
}

.sun{
    width: 200px;
    font-size: 16px;
    top: 30%;
    left: 10%;
}
.banana{
    width: 200px;
    font-size: 16px;
    top: 370px;
    right: 500px;
} */

.play-button {
    color: var(--text-color) !important;
    background-color: var(--action-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.subtitle {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 200;
    text-align: center;
}

/* @media (max-width: 768px) {
    .hero {
        background-size: 0%;
    }
} */

@media (max-width: 820px) {
    .hero {
        background-size: 150%;
    }
}
@media (min-height: 1200px) {
    .hero {
        background-size: 150%;
    }
}

section {
    padding: 2rem 1rem;
    /* margin: 0rem 10rem; */
    margin: auto;

}

.features {
    text-align: center;
    background-color: var(--primary-color);
    background-image: url("./images/s_background 2.png");
    background-repeat: repeat;
    background-size: 500px;
    overflow: hidden;
}

.icon-color {
    color: var(--primary-color);

}


.features-list {
    padding: 16px;
    display: flex;
    gap: 2rem;
    width: 100%;
    width: max-content;
    animation: scroll 30s linear infinite;

}

.features-list:hover {
    animation-play-state: paused;
}

.title {
    text-align: center;
}

.feature {
    background-color: var(--secondary-color);
    color: var(--text-color);
    max-width: 300px;
    padding: 1rem;
    flex: 0 0 auto;
    border-radius: 10px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .feature {
        max-width: 400px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-opposite {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.categories {
    overflow: hidden;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;

    width: max-content;
    animation: scroll-opposite 20s linear infinite;
}

.cards:hover {
    animation-play-state: paused;
}

.category-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    align-items: center;
    justify-content: start;
    text-align: center;
    width: 300px;
    height: 350px;
    gap: 0.5rem;
    border-radius: 12px;
    padding: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 168px;
    height: 168px;
    text-align: center;
    border-radius: 8px;

}


.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #faeafc;

}

.about p {
    max-width: 1200px;
    text-align: center;
}

.about h2 {
    margin-bottom: 32px;
}

.images-wrapper {
    width: 100%;
    max-width: 1200px;
    overflow-x: auto;
    padding: 0 1rem;

}

.images {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    width: 1064px;
}

.images img {
    flex: 0 0 auto;
    width: 200px;
    border-radius: 10px;
    scroll-snap-align: start;
}

.images::-webkit-scrollbar {
    display: none;
}

.images {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.download-buttons {
    margin-top: 16px;

}

.download-buttons a {
    text-decoration: none;
}

.aboutUs {
    text-align: center;
}

.aboutUs-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

.aboutUs-text {
    /* flex: 1 1 50%; */
    max-width: 1200px;
    text-align: center;
    font-size: 1.1rem;
    color: #333;
}

.aboutUs-image {
    flex: 1 1 45%;
    text-align: center;
}

.aboutUs-image img {
    max-width: 100%;
    border-radius: 12px;
    max-height: 400px;
    object-fit: cover;
}

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

footer a {
    color: white;
    margin: 0 0.5rem;
}