:root {
    --primary-color: #618264;
    --secondary-color: #79AC78;
    --clear-color: #B0D9B1;
    --bright-color: #FAF2D3;
    --primary-color-dark: #354737;
    --background-color: #161e17;

    font-family: 'Montserrat', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: var(--background-color);
}

.first-section {
    background: linear-gradient(45deg, var(--primary-color), var(--clear-color));
    width: 90%;
    height: 600px;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.cdb {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color-dark);
}

.cdb-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--primary-color-dark);
    margin: 1% 0;
}

.cdb-text {
    font-size: 18px;
    font-weight: 700;
    margin-top: 2%;
    color: var(--primary-color-dark);
    width: 60%;
    line-height: 1.5;
}

.criar-conta-btn {
    color: var(--bright-color);
    display: flex;
    align-items: center;
    font-weight: 700;
    margin-top: 5%;
    border: 2px solid var(--clear-color);
    width: fit-content;
    padding: 2%;
    transition: ease-out 0.3s;
    background-color: var(--primary-color-dark);
}

.criar-conta-btn:hover {
    color: var(--background-color);
    box-shadow: inset 350px 0 0 0 var(--bright-color);
}

.second-section {
    width: 90%;
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

.papel-title {
    font-size: 48px;
    color: #FFF;
    text-align: center;
    font-weight: 700;
    width: 60%;
    margin-bottom: 10%;
}

.second-topics {
    display: flex;
    flex-direction: row;
}

.coracao-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topic-icon {
    color: #FFF;
    font-size: 48px;
}

.coracao-title {
    font-size: 20px;
    color: #FFF;
    font-weight: 500;
    margin: 4% 0;
}

.coracao-text {
    color: #FFF;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    width: 80%;
}

.third-section {
    background-color: var(--secondary-color);
    width: 90%;
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%;
    padding-top: 100px;
}

.third-title {
    font-size: 32px;
    color: #FFF;
    text-align: center;
    font-weight: 700;  
    margin-bottom: 5%;
}

.banner-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
}

.banner {
    display: flex;
    flex-direction: column;
    border-radius: 3%;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color-dark);
    padding: 2.5em 2em;
    align-items: start;
    flex: 1 1 14rem;
    gap: 3.25em;
    justify-content: space-between;
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    text-align: start;
    color: var(--bright-color);
    height: 64px;
}

.banner-text {
    font-size: 16px;
    font-weight: 400;
    color: #FFF;
    text-align: justify;
    line-height: 1.5;
    height: 250px;
}

.banner-link {
    font-size: 16px;
    font-weight: 400;
    color: #FFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin: 0 auto;
    background-color: var(--background-color);
    padding: 1.1rem;
}

.circle-arrow-icon {
    font-size: 16px;
    padding: 0 2%;
}

.fourth-section {
    background-color: var(--bright-color);
    width: 90%;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%;
    padding-top: 100px;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 3%;
    text-align: start;
    align-self: self-start;
    padding-left: 4%;
}

.faq-box {
    height: 600px;
    width: 75vw;
}

.question-box {
    display: flex;
    justify-content: space-between;
    width: 75vw;
    border-bottom: 1px solid black;
    margin-top: 3%;
}

.question {
    margin: 0;
    padding: 10px 10px 10px 50px;
    width:100%;
    cursor: pointer;
    border-bottom: 1px solid black;
    font-size: 16px;
    font-weight: 500;
}

.answers {
    padding: 0px 15px;
    margin: 5px 0;
    width:100%;
    height: 0;
    overflow: hidden;
    z-index: -1;
    position: relative;
    opacity: 0;
    transition: .3s ease;
}
  
.questions:checked ~ .answers{
    height: auto;
    opacity: 1;
    padding: 15px;
    z-index: 1;
    font-size: 16px;
    font-weight: 500;
}
  
.plus {
    position: absolute;
    margin-left: 10px;
    z-index: 5;
    font-size: 2em;
    line-height: 100%;
}

.questions {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1440px) { 

    .third-section {
        height: fit-content;
        padding: 5%;
    }

    .banner {
        width: 350px;
        height: 500px;
        gap: 0;
        /* flex: 1 1 10rem; */
    }

    
    
    .banner-text {
        height: fit-content;
        font-size: 14px;
        margin: 0 auto;
    }
    
}


@media screen and (min-width: 1063px) and (max-width: 1431px) {
    .banner:last-child {
        height: 250px;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) {

    .third-section {
        height: fit-content;
        padding-bottom: 100px;
    }

    .banner-text {
        height: fit-content;
    }

    .papel-title {
        margin-bottom: 30%;
    }

    .coracao-title {
        font-size: 16px;
        text-align: center;
    }

    .coracao-text {
        font-size: 14px;
    }

    .third-title {
        margin-bottom: 30%;
    }

}


@media screen and (min-width: 320px) and (max-width: 459px) {

    .cdb {
        font-size: 32px;
    }

    .cdb-title {
        font-size: 24px;
        margin-bottom: 10%;
    }

    .cdb-text {
        width: 100%;
        margin-bottom: 10%;
    }

    .criar-conta-btn {
        width: 80%;
        margin: 0 auto;
    }

    .papel-title {
        font-size: 36px;
    }


    .second-section {
        height: fit-content;
        padding-top: 30%;
        padding-bottom: 15%;
    }

    .second-topics {
        flex-direction: column;
    }

    .coracao-box {
        margin-bottom: 15%;
    }

}