@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}


:root {
    --cor-vermelho: #E30613;
}

.container {
    margin-top: 5rem;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}


.box {
    width: 25%;
    border-radius: 0.625rem;
    box-shadow: 0.5rem 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.219);
    text-align: center;
    height: 34.375rem;
    padding: 1.875rem;
    padding-bottom: 0;
}

.image {
    width: 100%;
    height: 18.75rem;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0.9375rem 0;
}

p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    text-align: justify;
}

.btn,
.btn2,
.btn3 {
    padding: 1rem;
    text-align: center;
    color: #ffffff;
    background-color: #E30613;
    border-radius: 0.3125rem;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover,
.btn2:hover,
.btn3:hover {
    background-color: #b30612;
}


.tips-arrow {
    display: flex;
    justify-content: flex-end;
    padding: 0 0.0625rem 0 0;
}

.tips-arrow img {
    width: 5rem;
    margin: 2rem;
}

.pai-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
}

.pailinha {
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.linha {
    width: 98%;
    border-bottom: var(--cor-vermelho) 0.150rem solid;
    margin-right: 2rem;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tips {
    font-size: 1.4rem;
    width: 100%;
    color: #E30613;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}


.tip1,
.tip2,
.tip3 {
    text-align: justify;
    width: 100%;
    height: 40rem;
    background-color: #F8F7F4;
    border-radius: 1.25rem;
    margin: 2rem 0 0 0;
    box-shadow: 0.5rem 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.219);
}

.tip1 .img-tips img,
.tip2 .img-tips img,
.tip3 .img-tips img {
    border-radius: 1.25rem 1.25rem 0 0;
    width: 100%;
    height: 20rem;
}

.information-title {
    display: flex;
    justify-content: center;
}


.texto {
    text-align: center;
    margin: 1.5rem;
}

.botao a,
button {
    width: 80%;
    height: 2rem;
    border: none;
    border-radius: 1.25rem;
    background-color: #E30613;
    color: white;
    text-decoration: none;
    font-size: 1.12rem;
    font-weight: bold;
    display: block;
    margin: 0 auto;
}

.botao button:hover {
    background-color: #b30612;
    width: 100%;
}

@media screen and (min-width: 769px) and (max-width: 1700px) {

    .texto {
        margin: 1rem;
    }

    .container {
        margin-top: 3rem;
        margin-bottom: 2rem;
        gap: 8rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .box {
        width: 80%;
        height: 30rem;
    }

    .btn,
    .btn2,
    .btn3 {
        font-size: 1.5rem;
        padding: 1.475rem;
        padding-left: 5rem;
        padding-right: 5rem;
        text-align: center;
    }


    .image {
        width: 100%;
        height: 12.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        margin-bottom: 3.5rem;
        font-size: 1.4rem;
        text-align: justify;
    }

    .tips-arrow img {
        width: 3rem;
        height: 3rem;
        margin: 0;
    }


    .pai-title {
        margin: 0;
    }

}

@media (max-width: 768px) {

    .container {
        margin-bottom: 2rem;
        gap: 8rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .btn,
    .btn2,
    .btn3 {
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.4rem;
        margin-bottom: 4rem;

    }

    .btn,
    .btn2,
    .btn3 {
        font-size: 1.5rem;
        padding: 1.475rem;
        padding-left: 5rem;
        padding-right: 5rem;
        text-align: center;
    }


    .box {
        width: 80%;
        height: 33rem;
    }

    .image {
        width: 100%;
        height: 12.5rem;
    }


    .tips {
        font-size: 0.8rem;
    }



    .texto {
        margin: 1rem;
    }

    .tip1,
    .tip2,
    .tip3 {
        height: auto;
    }

    .tip1 .img-tips img,
    .tip2 .img-tips img,
    .tip3 .img-tips img {
        height: 9.375rem;
    }

    .botao a,
    button {
        font-size: 1rem;
        width: 90%;
    }
}