html, *{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body{
    background-color: #1c1c1c;
    display: flex;
    justify-content: center;
}

section.container{
    width: 100%;
    background-color: #affc18;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header{
    position: relative;
    width: 100%;
    height: 35vh;    
    display: flex;
    justify-content: center;
    padding: 1rem;
}


.cabecalho{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo{
    margin-bottom: 1rem;
}

.logo img{
     width: 100px;
}

@font-face {
    font-family: fredoka;
    src: url('../fonts/FredokaOne-Regular.ttf');
}

.tittle-logo h1{
    font-family: fredoka;
    letter-spacing: .1em;
    font-size: 1.7em;
    color: #1c1c1c;
    text-transform: uppercase;
}


main{
   height: 60vh;
   width: 100%;   
   padding: 1rem 0; 
}

.menu{
    width: 90%;
    height: 100%;
    margin: auto;
}

.menu ul{
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    padding: 1rem 2rem;
    gap: 2rem;
}
.menu li{
    background-color: #1c1c1c;
    list-style: none;
    text-align: center;
    padding: .8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 1s;
    font-family: ferrea;
}

@font-face {
    font-family: ferrea;
    src: url(../fonts/RobotoMono-VariableFont_wght.ttf);
}

.menu li:hover{
    transform: scale(1.1);
    box-shadow: 0px 6px 24px 2px rgba(0,0,0,0.26);
}

.menu a{
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1rem;
    color: #affc18;
}

footer{
   width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
}

footer span{
    font-size: .7em;
    font-family: ferrea;
}


.up, .down{
    width: 38px;
    border-radius: 60%;
    padding: .3rem;
    display: flex;
    justify-content: center;
    position: absolute;
    background-color: #3a5a40;
    padding-top: .4rem;
    padding-bottom: .4rem;
    animation: arrow 2s infinite alternate ease-in-out;
}

@keyframes arrow{
    
     0%{
        -webkit-box-shadow: none; 
        box-shadow: none;
     }

     100%{
        -webkit-box-shadow: 0px 0px 14px 5px rgba(0,0,0,0.25); 
        box-shadow: 0px 0px 14px 5px rgba(0,0,0,0.25);
     }

}

.up{
    top: 1rem;
}


.down{
    bottom: 1rem;
}



.up i, .down i{
    font-size: 1.5em;
    color: #dad7cd;
    font-weight: 900;
    
}

.up i{
    animation: up 1s infinite alternate ease-in-out;
}


@keyframes up{
    
    0%{
       position: relative;  
       top: -.2rem; 
    }

    100%{
       position: relative;
       top: .1rem;
    }

}

.down i{
    animation: down 1s infinite alternate ease-in-out;
}

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
}


.card{
    border-radius: 10px;
    padding: .5rem;
    background-color: #d5d5d5;
    width: 90%;
    margin: auto;
}

.tittle h2{
    text-indent: .9rem;
    line-height: 2;
    font-family: fredoka;
    letter-spacing: .1rem;
    color: #1c1c1c;
}

.card-img img{
    width: 90%;
    border-radius: 10px;
    margin: auto;
}

.card-img,
.card-text,
.card-ul{
     position: relative;
     left: .8rem;
     font-family: ferrea;
}


.card-text{
   margin-top: .5rem;
}


.card-text span{
    font-size: .8em;
    line-height: 1.5em;
    color: #34495e;
}

.card-ul ul{
    list-style: none;
    margin-top: .5rem;
}

.card-ul li{
    font-size: .8em;
    line-height: 2;
}

@keyframes down{
    
    0%{
       position: relative;  
       top:-.1rem; 
    }

    100%{
       position: relative;
       top: .2rem;
    }

}


@media (min-width:480px){

  
section.container{
    width: 70%;
}

}


@media (min-width:640px){

  
    section.container{
        width: 50%;
    }
    
}


@media (min-width:1280px){

  
    section.container{
        width: 40%;
    }

    
.logo img{
    width: 120px;
}
    
}
