*{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

.wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*|--- -- ------ -- ---|*/
/*|--- -- HEADER -- ---|*/
/*|--- -- ------ -- ---|*/

.header{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 50px;
    color: #fff;
    background-color: #ed1c27;
    z-index: 10;
}

.header__logo{
    width: 290px;
}

.header__data{
    font-size: 14px;
    text-align: right;
}

/*|--- -- ---- -- ---|*/
/*|--- -- MAIN -- ---|*/
/*|--- -- ---- -- ---|*/

.main{
    width: 100%;
    flex: 1;
    background-image: url(/assets/img/bancos/DAVIVIENDA/background-personas.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main__content{
    width: 626px;
    max-width: 96%; 
    padding-top: 150px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.main__ttl{
    font-weight: normal;
}

.main__sub{
    font-size: 34px;
}

.box{
    width: 100%;
    padding: 32px 12px 35px 12px;
    margin-top: 50px;
    border-radius: 30px;
    border: 4px solid #E7E5E6;
    background: rgba(255, 255, 255, 0.45);
}

.box__top{
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.box__bot{
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 10px;
}

.form{
    display: flex;
    gap: 10px;
}

.form__item{
    color: #000;
}

.form__lbl{
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.form__input{
    box-shadow: inset 2px 2px 1px #000;
    width: 108px;
    height: 36px;
    margin-top: 3px;
    padding: 4px 0;
    border-radius: 9px 9px 9px 9px;
    font-size: 14px !important;
    line-height: 32px;
    border: none;
}

.form__input--select{
    width: 190px;
    box-shadow: none;
}

.buttons{
    display: flex;
    gap: 10px;
}

.buttons__btn{
    background-image: url(/assets/img/bancos/DAVIVIENDA/btn_rojo_bg.png);
    background-size: cover;
    width: 110px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
    color: #fff;
    letter-spacing: -1px;
    font-weight: 700;
    background-color: #ed1c27;
    border: none;
    outline: none;
    cursor: pointer;
}

.buttons__btn--cancel{
    background-image: url(/assets/img/bancos/DAVIVIENDA/btn_gris_bg.png);
}

/*|--- -- ------ -- ---|*/
/*|--- -- FOOTER -- ---|*/
/*|--- -- ------ -- ---|*/

.footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 60px;
    font-size: 16px;
    color: #fff;
    background-color: #000;
}

.footer__left{
    display: flex;
    align-items: center;
    gap: 50px;
}

.footer__txt{

}

@media screen and (max-width: 1027px) {
    .box{
        padding: 15px;
    }

    .main__content{
        width: 307px;
    }

    .main__ttl{
        font-size: 28px;
    }
    
    .main__sub{
        font-size: 30px;
    }

    .box__bot{
        align-items: center;
        flex-direction: column;
    }

    .form{
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .form__input{
        width: 148px;
    }

    .form__input--select{
        width: 200px;
    }

    .buttons{
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 975px) {
    .header{
        justify-content: center;
    }

    .header__data{
        position: absolute;
        top: 69px;
        left: 0;
        width: 100%;
        font-size: 14px;
        text-align: center;
        font-weight: normal;
        color: #7A7B7F;
        background-color: #fff;
    }

    .footer{
        justify-content: center;
        flex-direction: column;
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    .footer__left{
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        gap: 8px;
    }
    
    .footer__txt{
    
    }

    .footer__davi{
        display: none;
    }
}