:root{
    --azul: #212733;
    --branco: #f3f3f3;
    --beje: #cdc6bc;
}

#servicos{
    scroll-margin-top: 250px;
}

.servicos .simulacao{
    background-color: var(--azul);
    color: var(--branco);
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding-block: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.servicos .simulacao p{
    animation: appear 10s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 15%;
}

.servicos .simulacao a{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 15%;
    background-color: var(--branco);
    border-radius: 5px;
    color: var(--azul);
    font-size: 18px;
    font-weight: 600;
    padding: 10px 18px;
    text-align: center;
    text-decoration: none;
    width: 180px;
}

@keyframes appear{
    from{
        opacity: 0;
        scale: .5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}

section.servicos .caixa{
    background-color: #0070af;
    color: var(--branco);
    font-size: 1.4em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding-block: 25px;
    width: 100%;
}



.servicos .box_text{
    animation: appear1 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 15%;
    margin: 10px auto;
    text-align: center;
}

@keyframes appear1{
    from{
        opacity: 0;
        scale: 0.8;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}

.servicos .box_text h2{
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.servicos .box_text p{
    font-size: 1.3em;
}

.servicos .flex_container{
    display: flex;
     align-items: center;
     justify-content: center;
     gap: 50px;
     flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 12vh;
    width: 90%;
}

.servicos .flex_container .box_sevico{
    animation: appear1 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 15%;
    display: flex;
     gap: 15px;
    margin-bottom: 80px;
    height: 150px;
    width: 30%;
    min-width: 340px;
}

.servicos .flex_container .box_sevico img{
    background-color: var(--beje);
    border-radius: 5px;
    padding: 6px 4px;
    height: 60px;
    width: 60px;
}

.servicos .flex_container .box_sevico span{
    display: flex;
    color: #212733;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.servicos .flex_container .box_sevico span a{
    width: fit-content;
    color: var(--azul);
    text-decoration: underline;
    transition: .2s;
}

.servicos .flex_container .box_sevico span a:hover{
    font-size: 16.4px;
    color: #2b3f66;
}





@media screen and (orientation:portrait){
    .servicos .box_text{
        margin: 10px auto;
        text-align: center;
        padding: 0 18px;
    }

    .servicos .flex_container{
        gap: 5px;
        margin-top: 50px;
    }

    .servicos .simulacao{
        text-align: center;
    }

    .servicos .flex_container .box_sevico{
        animation: unset;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }

    @keyframes appear2{
        from{
            opacity: 0;
            translate: -100vw -5vh;
        }
        to{
            opacity: 1;
            translate: 0 0;
        }
    }
}