@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap&#39&#39&#39');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #333f12;
    --secundary-color: #ebebeb71;
}

body{
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    font-family: 'Righteous', cursive;


}
.container{
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 80vw;
    margin: auto;
    margin-bottom: 230px;
}
header{
    margin-top: 20px;
}
header a{
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--secundary-color);
    font-size: 2rem;
}
main{
    flex-grow: 1;
}
.title{
    position: relative;
    grid-column: 1/-1;
    place-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.title_text{
    font-size: 16vw;
    color: #232509;
}
.title_transparent{
    position: absolute;
    top: -40%;
    font-size: 18vw;
    color: rgba(255, 255, 255, 0.521);
    z-index: -1;
}
.description{
    grid-column: 1/7;
    place-self: start;
    color: var(--secundary-color);
    z-index: 1;
}
.description_title{
    font-size: 4rem;
}
.description_text{
    width: 600px;
    font-size: 1.5rem;
}
.action{
    grid-column: 7/-1;
    place-self: start end;
    height: 50px;
    width: 200px;
    background-color: var(--secundary-color);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.footer_text{
    grid-column: 1/-1;
    place-self: center;
    margin-bottom: 1px;
    color: var(--secundary-color);
    font-size: 1rem;
}
.ellie-image{
    position: absolute;
    top: 40%;
    left: 35%;
    size: 10px;
    transform: translate(-50%, -50%);
}


@media(max-width:960px){
    .container {
        grid-template-columns: 1fr;
    }
    header{
        margin-top: 30px;
    }
    .title{
        place-self: start center;
        transform: translateY(20%);
    }
    .description{
        grid-column: 1;
        grid-row: 2;
        place-self: center;
        text-align: center;
    }
    .action{
        grid-column: 1;
        grid-row: 2;
        place-self: end center;
        margin-bottom: 24px;
    }
    footer{
        display:none;
    }
}

@media(max-width:640px){
    .description_title{
        font-size: 10vw;
    }
    .description_text{
        display: none;
    }
    .action{
        width: 100%;
        font-size: 10vw;
    }
    .ellie-image{
        width: 90vw;
        size: 20px;
    }
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.slide-container{
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}
.image-container{
    width: 300vw;
    height: 100vh;
    display: flex;
    animation: slideAnimation 9s infinite ease-in-out;
    animation-play-state: running;
}
.slider-image{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.button-container{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-button{
    display: inline-block;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.slider-button:hover{
    background-color: #888;
}
.slider-button:hover ~ .image-container{
    animation-play-state: paused;
}
.image-container:hover{
    animation-play-state: running;
}

#slider-image1:target ~ .image-container{
    animation: none;
    transform: translateX(0);

}
#slider-image2:target ~ .image-container{
    animation: none;
    transform: translateX(-100vw);
    
}
#slider-image3:target ~ .image-container{
    animation: none;
    transform: translateX(-200vw);
    
}
/*animação*/
@keyframes slideAnimation{
    0% {transform: translateX(0);}
    33.33% {transform: translateX(-100vw);}
    66.66% {transform: translateX(-200vw);}
    100% {transform: translateX(0vw);}
}

footer h3{
    padding: 50px;
    text-align: center;
    color: var(--secundary-color);
}