.fundo_tela {
    background-color: var(--cor_fundo_tela);
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: var(--font-family-montserrat);
    overflow: hidden;
    display: flex; /* Adiciona display flex para centralizar na vertical e horizontal */
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
}

.container_total {
    display: flex;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
}

.box_cadastro {
    width: 40vw;
    height: 80vh;
    margin: auto auto auto auto;
    background-color: var(--cor_branca);
    border-radius: 1vw;
    box-sizing: border-box;
    position: relative;
}

.box_contorno {
    width: 40vw;
    height: auto;
    margin: auto auto auto auto;
    background-color: var(--cor_branca);
    border-radius: 1vw;
    box-sizing: border-box;
    position: relative;
}

.btn_fechar_principal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    right: 0.5vw;
    top: 0.5vw;
    text-decoration: none;
    cursor: pointer;
}

    .btn_fechar_principal i {
        color: #aaaaaa;
        font-size: 1.5vw;
    }


.btn_fechar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    right: 0.5vw;
    top: 1.5vw;
    text-decoration: none;
    cursor: pointer;
}

    .btn_fechar i {
        color: #aaaaaa;
        font-size: 1.5vw;
    }

.texto_header {
    text-align: center;
    font-family: var(--font-family-koho);
    color: var(--cor_cinza_escura);
    font-weight: bold;
    font-size: 1.6vw;
    margin: auto;
    padding: 1vw 0;
    border-bottom: 0.1vw solid var(--cor_cinza_clara);
}


.scroll_seletor {
    max-height: calc(55vh - 2.5vw);
    overflow: hidden;
    overflow-y: auto;
    margin-top: 0.5vw;
}

.scroll_padrao {
    max-height: calc(70vh - 2.5vw);
    overflow: hidden;
    overflow-y: auto;
    margin-top: 0.5vw;
}

/* ************************Responsividade******************** */
@media only screen and (max-width: 1024px) {
    .box_cadastro {
        width: 45vw;
        height: 80vh;
        margin: auto;
    }

    .btn_fechar_principal {
        right: 1vw;
        top: 1vw;
    }

        .btn_fechar_principal i {
            font-size: 2.5vw;
        }

    .btn_fechar {
        right: 1vw;
        top: 2vw;
    }

        .btn_fechar i {
            font-size: 2.5vw;
        }

    .texto_header {
        font-size: 2.5vw;
        padding: 2.5vw 0;
    }

    .scroll_seletor {
        max-height: calc(50vh - 2.5vw);
    }

    .scroll_padrao {
        max-height: calc(60vh - 2.5vw);
    }

    .box_contorno {
        width: 70vw;
        height: 80vh;
    }
}

@media only screen and (max-width: 768px) {
    .box_cadastro {
        width: 45vw;
        height: 80vh;
        margin: auto;
    }

    .btn_fechar_principal {
        right: 1vw;
        top: 1vw;
    }

        .btn_fechar_principal i {
            font-size: 3vw;
        }

    .btn_fechar {
        right: 1vw;
        top: 2vw;
    }

        .btn_fechar i {
            font-size: 3vw;
        }

    .texto_header {
        font-size: 3vw;
        padding: 3vw 0;
    }

    .scroll_seletor {
        max-height: calc(35vh - 2.5vw);
    }

    .scroll_padrao {
        max-height: calc(55vh - 2.5vw);
    }

    .box_contorno {
        width: 80vw;
        height: 80vh;
    }
}

@media only screen and (max-width: 480px) {
    .box_cadastro {
        width: 100vw;
        height: 100vh;
        margin: auto;
        padding: 0 4vw;
    }

    .btn_fechar_principal {
        right: 3vw;
        top: 3vw;
    }

        .btn_fechar_principal i {
            font-size: 5vw;
        }

    .btn_fechar {
        right: 3vw;
        top: 4vw;
    }

        .btn_fechar i {
            font-size: 5vw;
        }

    .texto_header {
        font-size: 5vw;
        padding: 5vw 0;
    }

    .scroll_seletor {
        max-height: calc(65vh - 2.5vw);
    }

    .scroll_padrao {
        max-height: calc(75vh - 2.5vw);
    }

    .box_contorno {
        width: 100vw;
        height: 100vh;
    }
}
