@import url('https://fonts.googleapis.com/css2?family=Expletus+Sans:wght@500&family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    font-size: 1em;
    border: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    text-decoration: none;
    max-width: 100%;
    line-height: 1.4em;
    font-family: 'Chakra Petch', Arial, Helvetica, sans-serif;
}
body{
    background-color: #00131D;
}
.animate-border{
    position: relative;
    overflow: hidden;
}
.animate-border > *{
    z-index: 10;
}
.animate-border::before{
    content: '';
    position: absolute;
    top: -40%;
    left: 30%;
    width: 50%;
    height: 200%;
    background-color: #dc143c;
    transform: rotate(45deg);
    border-radius: 1em;
    animation: animate-border 4s linear infinite;
}
.animate-border::after{
    content: '';
    position: absolute;
    inset: .27em;
    background-color: #00131D;
    border-radius: 1em;
}
.link{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
}

#section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em 0;
}
#card{
    width: 100vw;
    max-width: 500px;
    padding: 1em .65em;
    border-radius: 1em;
    border: 2px solid #dc143c;
    display: flex;
    flex-direction: column;
    position: relative;
}
#header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: .5em;
}
#header > h1{
    font-size: 2em;
    color:#ffffff;
    font-weight: 500;
    padding: .3em .65em;
}
#header > figure {
    height: 7em;
    width: 7em;
    animation: giro 5s linear infinite alternate-reverse; 
}
#header > figure > img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#cont-card{
    display: flex;
    flex-direction: column;
    flex: 1;
}
.info-card{
    position: relative;
    border-radius: .2em;
    padding: .5em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: .5s;
    background-color: #00A7FF;
}
.info-card.conteudo-bloqueado{
    background-color: #003b5a;
}
.info-card + .info-card{
    margin: 1em 0 0;
}
.info-card:hover{
    background-color: #002e47;
}

.info-card > .titulo-card {
    color: #ffffff;
    font-weight: 500;
    transition: .5s;
    font-size: 1.125em;
    text-transform: uppercase;
    padding: .3em .5em;
    text-align: center;
}
.info-card > figure {
    height: 3em;
    width: 3em;
}

.hide{
    display: none;
}
.box-cookies{
    background-color: #01263b;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index:  100;
}
.msg-cookies{
    color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#cookie-img{
    width: 3em;
    height: 3em;
}
.btn-cookies{
    background-color: #f1f1f1;
    border-bottom-left-radius: 1em;
    border-top-right-radius: 1em;
    padding: .3em 1em;
    display: block;
    margin: 0 auto;
    cursor: pointer;

}

@keyframes giro {
    from{
        transform: translateX(-100%);
    }
    to{
        transform: translateX(100%);
    }
}

@keyframes animate-border {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

@media screen and (width <= 600px){
    #header > h1{
        font-size: 1.125em;
    }
    #card{
        border: none;
        border-radius: 0;
        max-width: 100%;
    }
    .info-card > h4{
        font-size: 1em;
    }
}