@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --primary-color: #F0D7A1;
    --clr-black: #222;
    --clr-white: #fff;
    --clr-brown:#874209;
    --clr-green:#2E4C20;
    --clr-light-brown:#D69A40;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", serif;
    background-color: var(--primary-color);
}

.header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--clr-brown);
    color: white;
    z-index: 20;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.4);
    
}

.header__logo {
    font-family: 'Gloria Hallelujah', serif;
    font-size: 1.5rem;
}

.header__burger {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: none;
    color: white;
}

.header__menu {
    display: flex;
    list-style: none;
}

.header__item {
    margin: 0 1rem;
    display: flex;
    height: 2rem;
    justify-content: center;
    align-items: center;
}

.header__link {
    text-decoration: none;
    color: white;
    font-family: "Lato", serif;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero {
    text-align: center;
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero__absolute-title{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 2.5rem;
    color: var(--clr-black);
}

.hero__absolute{
    font-family: 'Gloria Hallelujah', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--clr-black);
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 1rem;
    text-align: center;
    z-index: 1;
}

.hero__video {
    width: 90%;
    aspect-ratio: 16/9;
}
.hero__absolute-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    gap: 1rem;
    padding: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--clr-white);
    background-color: var(--clr-brown);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: .3s ease-in-out;
}

.test__img {
    width: 90%;
    max-width: 75rem;
    aspect-ratio: 16/9;
    background-image: url(./../assets/class.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero__cta {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.about__board{
    background-color: var(--clr-green);
    border-radius: 2rem;
    border: 1rem solid var(--clr-light-brown);
    width: 75%;
    color: var(--clr-white);
    padding: 2rem;
    max-width: 1000px;
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    padding-top: 5rem;
    text-align: center;
    
}
.about__content{
    padding: 2rem;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.about__content:first-of-type {
    justify-content: start;
}
.about__description {
    width: 50%;
    font-size: 1.5rem;
    text-align: left;
}
.about__image{
    max-width: 50%;
}

.about__title, .project__title,
.features__title,.shop__title,.environment__title, .team__title{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 2.5rem;
    text-align: center;
    padding: 5rem 0 2rem 0;
}
.about__title{
    padding: 0;
}
.features__subtitle{
    font-family: 'Gloria Hallelujah', serif;
    text-align: center;
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--clr-white);
}

.features__background{
    background-image: url(./../assets/features.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.features__box-test{
    display: flex;
    flex-direction: column;
    background-color: var(--clr-white);
    box-shadow: 10px 10px 5px rgba(0, 0, 0, .4);
    width: 20rem;
    height: 25rem;
    gap: 2rem;
    padding: 2rem;
}
.features__box-title{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 1.5rem;
    text-align: center;
}
.features__box-image{
    height: 25rem;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, .4);
}
.features__box{
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 2rem;
}
.shop, .environment, .knowmore__div{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.shop__content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    padding: 2rem;
}
.shop__image{
    max-width: 40%;
    position: relative;
}
.shop__image-pallet{
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 30%;
    max-width: 10rem;
    height: auto;
    z-index: 1;
}
.shop__description{
    width: 30%;
    font-size: large;
    font-family: "Lato", serif;
    line-height: 2;
}

.environment__content-circle {
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background-color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-white);
    font-size: 1.5rem;
    font-family: 'Gloria Hallelujah', serif;
    animation: bounce 2s infinite;
    z-index: 1;
}
.project__planning{
    font-size: 2rem;
    text-align: center;
    font-family: 'Gloria Hallelujah', serif;
    padding: 1.5rem;
    padding-top: 5rem;
}

.environment__content-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.shadow {
    position: absolute;
    bottom: -30px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50%;
    height: 10%;
    border-radius: 50%;
    animation: shadow-bounce 2s infinite;
}

.interaction__title{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 2rem;
    text-align: center;
}

.interaction__content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10%;
    padding: 2rem;
}

.interaction__content-image{
    width: 30rem;
}
.interaction__content-box{
    width: 80%;
    gap: 2rem;
    display: flex;
    flex-direction: column;
    max-width:40rem;
}

.knowmore{
    display: none;
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(10px);
    background-color: var(--clr-brown);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    font-family: 'Gloria Hallelujah', serif;
    width: 95%;
    text-align: center;
    height: auto;
    z-index: 15;
}

.knowmore__about{
    top: 55%;
}
.knowmore__environment {
    top: 75%;
}


.knowmore__img{
    max-width: 500px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.knowmore__content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 2rem;
}

.button{
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--clr-black);
    border: none;
    border-radius: 2rem;
    cursor: pointer;    
    font-family: Lato, serif;
    font-size: 1rem;
    text-transform: uppercase;
    transition: .3s ease-in-out;
    width: fit-content;
    font-weight: bold;
}
.button:hover{
    background-color: var(--clr-light-brown);
}

.wave-button {
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.wave-button span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.wave-button:hover span {
    animation: wave .5s ease-in-out;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


@keyframes shadow-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1);
        background-color: rgba(0, 0, 0, .75);
    }
    40% {
        transform: scale(.6);
        background-color: rgba(0, 0, 0, .4);
    }
    60% {
        transform: scale(.8);
        background-color: rgba(0, 0, 0, .55);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-60px);
    }
    60% {
        transform: translateY(-35px);
    }
}
.environment{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.environment__content{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
}
.environment__content-image{
    max-width: 40%;
}
.environment__content-description{
    width: 80%;
    text-align: center;
    line-height: 2;
}

.screenshots__gallery {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.screenshots__image {
    width: 300px;
    border-radius: 10px;
}

.footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--clr-brown);
    color: white;
    font-family: "Lato", serif;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10;
    display: none;
}

.nav-menu.active ~ .overlay {
    display: block;
}

.team{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    
}
.team__member-name{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 2rem;
    text-align: center;
    padding: 1.5rem;
}
.team__content{
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}
.team__member{
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 1rem;
    background-color: var(--clr-light-brown);
    /* border: 2px solid var(--clr-brown); */
    width: 20rem;
    padding: 1rem;
}

.team__member-image{
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin: 0 auto;
}

.team__member-role{
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem;
}

.project__diagramme{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-direction: column;
}
.project__arrow{
    transform: rotate(90deg);
    width: 3rem;
}
.project__time{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 5rem;
    text-align: center;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.project__notdo{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
}

.project__notdo-imgs{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.project__notdo-img{
    width: 100%;
    max-width: 30rem;
    aspect-ratio: 1/1;
}

.project__task{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project__content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    width: 80%;
}

.project__notdo-title{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 2rem;
    padding: 1rem;
}

.project__finish{
    max-width: 30rem;
}

.project__notdo-description{
    max-width: 40rem;
}

.project__github{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 2rem;
    font-weight: bold;
}

.dropdown {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dropdown__title {
    padding: 10px;
    cursor: pointer;
    font-family: 'Gloria Hallelujah', serif;
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
}

.dropdown__title::after {
    content: "\25BC";
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.dropdown__content-section{
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.dropdown__content-img{
    max-width: 20rem;
    min-width: 20rem;
    height: auto;
}

.dropdown__content-title{
    font-family: 'Gloria Hallelujah', serif;
    font-size: 2rem;
    padding: 1rem;
}

.dropdown__content-border{
    border-bottom: 1px solid var(--clr-brown);
    padding: 2rem;
}

.dropdown__content-description{
    max-width: 40rem;
}

.dropdown__title.active::after {
    transform: rotate(180deg);
}
.dropdown__content {
    display: none;
    padding: 10px;
}

.dropdown__content-code{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.dropdown__content-code-img{
    max-width: 40rem;
    height: auto;
}

.project__use-image{
    width: 5rem;
    height: auto;
}
.project__use-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
}

.img-code{
    height: 13rem;
}

@media (max-width: 1024px) {
    .project__content{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .features__box{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .features__background{
        height: 67rem;
    }
    .shop__content{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .shop__description{
        width: 90%;
    }
    .shop__image{
        max-width: 80%;
    }
    .environment__content{
        flex-direction: column;
        gap: 5rem;
    }
    .environment__content-image{
        max-width: 75%;
    }
    .about__board{
        width: 95%;
    }
    .about__content{
        gap: 2rem;
    }
    .about__description{
        width: 100%;
    }
    .interaction__title,.about__title,
    .features__title,.shop__title,.environment__title, .team__title, .project__title{
        font-size: 1.5rem;
        padding: 2rem 0 1rem 0;
    }
}

@media (max-width: 768px) {
    .header__burger {
        display: block;
    }
    .header__link {
       width: 100%;
       height: 100%;
    }
    .header__menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--clr-brown);
        width: 100%;
        
        padding: 1rem 0;
    }
    .header__item {
        margin: 0;
        text-align: center;
        height: 3rem;
    }
    .header__menu.active {
        display: flex;
    }
    .environment__content-circle{
        width: 20rem;
        height: 20rem;
        font-size: 1rem;
    }

    .environment__content-image{
        max-width: 90%;
    }
    .about__content{
        flex-direction: column;
        
    }
    .about__content:first-of-type {
        flex-direction: column-reverse;
    }
    .about__board{
        padding: 0rem;
        padding-bottom: 1.5rem;
    }
    .about__title{
        padding: 2rem 0;
    }
    .about__content{
        gap: .5rem;
    }
    .about__image{
        max-width: 75%;
    }
    .shadow{
        bottom: -15px;
    }
    .interaction__content{
        flex-direction: column;
    }
    .interaction__content-image {
        max-width: 90%;
    }
}