@font-face {
    font-family: Roboto-Regular;
    src: url("../fonts/roboto/Roboto-Regular.ttf") format('truetype');
}

@font-face {
    font-family: Apis-Light;
    src: url("../fonts/apis/Apis-Light.ttf") format('truetype');
}

@font-face {
    font-family: Apis-Regular;
    src: url("../fonts/apis/Apis-Regular.ttf") format('truetype');
}

@font-face {
    font-family: Apis-Medium;
    src: url("../fonts/apis/Apis-Medium.ttf") format('truetype');
}

@font-face {
    font-family: Apis-Bold;
    src: url("../fonts/apis/Apis-Bold.ttf") format('truetype');
}

body {
    font-family: Apis-Regular;
    position: relative;
    background-image: url("../img/bg_2.png");
    background-repeat: no-repeat;
    background-color: rgba(236, 176, 212, 0.40);
}

.container-main {
    padding: 74px 78px 0 133px;
}

.container-main .header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.header div:nth-child(1) {
    width: 441px;
    padding: 0 0 0 7px;
}

.container-content {
    display: flex;
}

.container-content .info {
    max-width: 584px;
    padding: 25px 0 0 0;
}

.container-content .info div:nth-child(1) {
    font-family: Apis-Bold;
    font-size: 48px;
    line-height: 53px;
    color: #0092bc;
    margin-bottom: 10px;
}

.container-content .info div:nth-child(2) {
    font-family: Apis-Bold;
    font-size: 45px;
    line-height: 49px;
    color: #575756;
}

.container-content .info div:nth-child(3) {
    font-family: Apis-Bold;
    font-size: 39px;
    line-height: 39px;
    color: #575756;
    margin-bottom: 20px;
}

.container-content .info div:nth-child(4) {
    font-family: Apis-Regular;
    font-size: 16px;
    line-height: 20px;
    color: #575756;
}

.container-content form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(0, 146, 188, 0.48);
    margin-left: 64px;
    padding: 32px 37px 21px 37px;
    max-width: 854px;
    /* min-height: 988px; */
}

.container-content form h2 {
    font-family: Apis-Bold;
    font-size: 30px;
    line-height: 30px;
    color: #575756;
    margin-bottom: 9px;
}

.container-content .form-1 div {
    margin-bottom: 10px;
}

.container-content .form-2 {
    margin-top: 30px;
    padding-left: 7px;
}

.container-content .form-2 .parrafo {
    padding-right: 14px;
}

.container-content form .subtitle {
    font-family: Apis-Light;
    font-size: 18px;
    line-height: 18px;
    color: #575756;
    margin-bottom: 19px;
}

.container-content form input[type="text"],
.container-content form input[type="email"],
.container-content form input[type="number"],
.container-content form select {
    font-family: Apis-Light;
    font-size: 20px;
    line-height: 20px;
    height: 62px;
    padding-left: 25px;
    background-color: #f6f6f6;
    border-radius: 0;
}

form input[type="checkbox"] {
    margin-top: 3px;
}

form label {
    display: inline;
    font-family: Apis-Light;
    font-size: 14px;
    line-height: 19px;
    color: #575756;
    margin: 0 0 0 6px;
}

form a {
    text-decoration: underline;
    color: #575756;
}

form span {
    font-family: Apis-Medium;
    font-size: 14px;
    line-height: 14px;
}

.button-container {
    text-align: right;
}

form button {
    font-family: Apis-Bold;
    color: white;
    background-color: #c4197f;
    padding: 22px 66px 28px 59px;
    font-size: 20px;
    line-height: 20px;
    border: 1px solid #926aa3;
    margin-right: 82px;
}

.pie {
    margin-top: 82px;
    font-family: Apis-Regular;
    font-size: 16px;
    line-height: 22px;
    padding: 10px 57px 17px 44px;
    text-align: center;
    background-color: #0092bc;
    color: white;
}

.footer {
    width: 100%;
    position: absolute;
    bottom: -50px;
    font-family: Roboto-Regular;
    color: #ffffff;
    background-color: #000000;
    padding-top: 15px;
    padding-bottom: 15px;

}

.footer a {
    color: #ffffff
}

.modal .modal-content {
    border-radius: 40px;
    border: none;
}

.modal .modal-header {
    background-color: #0092bc;
    border-radius: 40px 40px 0 0;
    color: white;
    background-image: url(../img/modal_header.png);
    background-repeat: no-repeat;
    background-position: center 75%;
    padding: 90px 0 80px 0;
    position: relative;
}

.modal .modal-body {
    text-align: center;
    font-family: Apis-Regular;
    min-height: 130px;
}

.modal p {
    font-size: 22px;
    line-height: 22px;
}

#not-found .boton,
#modal-already-confirmed .boton {
    display: flex;
    align-items: center;
    background-color: #0092bc;
    padding: 20px 25px;
    border-radius: 50px;
    position: absolute;
    bottom: -30%;
    right: calc(50% - 145px);
}

#not-found a,
#modal-already-confirmed a {
    font-size: 22px;
    color: white;
}

#modal-ok .modal-body p:nth-child(1) {
    font-family: Apis-Bold;
    font-size: 22px;
    line-height: 25px;
    margin: 0;
}

#modal-ok .modal-body p:nth-child(2) {
    font-size: 22px;
    line-height: 25px;
}

#modal-ok .modal-body p:nth-child(3) {
    font-size: 16px;
    line-height: 20px;
}

.modal button.close {
    background-color: white;
    opacity: 1;
    border-radius: 50%;
    padding: 8px 14px;
    position: absolute;
    top: 40px;
    right: 40px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

@media (max-width: 1714px) {
    /* .header div:nth-child(1) {
        padding-bottom: 33px;
    } */

    .container-content .info div:nth-child(1) {
        font-size: 40px;
        line-height: 46px;
    }

    .container-content .info div:nth-child(2) {
        font-size: 37px;
        line-height: 43px;
        color: #575756;
    }

    .container-content .info div:nth-child(3) {
        font-size: 30px;
        line-height: 30px;
    }

    .container-content form {
        margin-left: 64px;
        padding: 32px 37px 21px 37px;
        max-width: 700px;
    }
}

@media (max-width: 1400px) {
    .container-content {
        flex-direction: column;
    }

    .container-content .info {
        max-width: none;
        padding: 25px 0 25px 0;
    }

    .container-content form {
        padding: 32px 37px 21px 37px;
        max-width: none;
        margin: 0;
    }

    .button-container {
        text-align: center;
    }

    form button {
        margin: 15px auto 0 0;
    }

    .container-content .form-2 {
        margin-top: 30px;
    }
}

@media (max-width: 900px) {
    .container-main {
        padding: 33px 30px 0 30px;
    }
}

@media (max-width: 500px) {
    body {
        background-image: url(../img/bg_mobile.png);
        background-size: cover;
        background-color: white;
    }

    .container-main {
        padding: 33px 13px 0 12px;
    }

    .header div:nth-child(1) {
        padding: 0 0 0 17px;
        margin-top: 12px;
        width: 201px;
    }

    .header div:nth-child(2) {
        width: 82px
    }

    .container-content .info {
        max-width: none;
        padding: 37px 0 23px 17px;
    }

    .container-content .info div:nth-child(1) {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 0;
    }

    .container-content .info div:nth-child(2) {
        font-size: 28px;
        line-height: 33px;
    }

    .container-content .info div:nth-child(3) {
        font-size: 24px;
        line-height: 29px;
        margin-bottom: 10px
    }

    .container-content .info div:nth-child(4) {
        font-size: 10px;
        line-height: 10px;
    }

    .container-content form {
        padding: 32px 25px 21px 25px;
    }

    .container-content form .subtitle {
        margin-bottom: 28px;
    }

    .container-content .form-2 {
        margin-top: 18px;
    }

    form button {
        padding: 19px 46px 18px 49px;
    }

    .pie {
        padding: 10px 10px 17px 10px;
    }

    .modal .modal-body p:nth-child(1) {
        font-size: 18px;
        line-height: 20px;
    }

    .modal .modal-body p:nth-child(2) {
        font-size: 18px;
        line-height: 20px;
    }

    .modal .modal-body p:nth-child(3) {
        font-size: 12px;
        line-height: 14px;
    }
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.25) !important;
}

.dni-error-msg {
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    font-weight: 500;
}