body {
    height: auto;
    width: 100%;
}

#bootstrap-override h1,
h2,
h3,
p,
span,
li {
    color: #555555;
    font-family: 'Montserrat', sans-serif;
}

#bootstrap-override h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    font-size: 1rem;
}

.subtitle-text-container {
    width: 75%;
    margin-top: 0;
    margin-bottom: 0;

}

.subtitle-text {
    font-size: 1.3rem;
}

li {
    font-size: 1rem;
}

.border-magenta {
    border-bottom: 1px solid #E3205E;
}

.main-logo {
    width: 22rem;
}

.magenta-bg {
    background-color: #E3205E;
}

.form-container {
    width: 40%;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.form-padding {
    padding: 1.5rem 3.5rem 3.5rem 3.5rem;
    width: 100%;
    margin: 0 auto;
}

.mandatory-fields {
    width: 100%;
}

.form-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hdi-form-input {
    width: 100%;
    margin: 1rem 0;
    padding: 0.5rem 2rem;
    color: #555555;
    font-size: 0.9rem;
    height: 3.3rem;
}

#bootstrap-override textarea {
    width: 100%;
    margin: 1rem 0;
    padding: 0.5rem 2rem;
    color: #555555;
    font-size: 0.9rem;
}

.hdi-form-input::placeholder {
    color: #888B8D;
    opacity: 0.9;
    font-size: 15px;
}

#bootstrap-override .form-btn {
    background-color: #D9D9D9;
    color: black;
    text-align: center;
    padding: 0.5rem 1rem;
    width: 40%;
    margin: 1.5rem 0 0 0;
    font-size: 1.3rem;
}

.terms-section {
    width: 75%;

}

.footer-img-container {
    width: 15%;
    height: 100%;
}

.footer-img {
    width: 70%;

}

.green-footer-section {
    width: 85%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    padding-top: 1.5rem;

}

.green-footer-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 75%;

}

footer {
    height: 9.5rem;
}

.footer-text {
    color: #EFEFEF;
    margin: 0.8rem 0;
}

.mobile-hide {
    display: block;
}

.terms-section ul {
    padding-left: 1.5rem;
}

/* Estilos para el popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}



/* ESTILOS MOBILE */

@media (max-width: 760px) {

    #bootstrap-override h1 {
        font-size: 1.2rem;
    }

    p,
    span,
    li {
        font-size: 0.8rem;
    }


    .main-logo {
        width: 13rem;
    }

    .subtitle-container {
        width: 100%;
    }

    .subtitle-text-container {
        width: 100%;
        margin-bottom: 0;
    }

    .subtitle-text {
        font-size: 1rem;
    }

    .form-container {
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .form-padding {
        padding: 1rem 2rem 2rem 2rem;
    }

    #bootstrap-override .form-btn {
        width: 50%;
        font-size: 0.8rem;
    }

    .hdi-form-input {
        padding: 0.2rem 1rem;
        font-size: 0.7rem;
        height: 2.5rem;
    }

    #bootstrap-override textarea {
        padding: 0 1rem;
        font-size: 0.7rem;
    }

    .hdi-form-input::placeholder {

        font-size: 0.7rem;
    }

    .terms-section {
        width: 100%;
        padding: 1rem;
    }

    footer {
        height: 7rem;
    }

    .footer-img-container {
        width: 25%;
        height: 100%;
    }

    .footer-img {
        width: 70%;

    }

    .green-footer-section {
        width: 75%;
        padding-top: 0rem;

    }

    .green-footer-flex {

        width: 100%;


    }

    .footer-text {
        margin: 0.3rem 0;
        font-size: 0.6rem;
    }

    .mobile-hide {
        display: none;
    }

    .mandatory-fields {
        width: 75%;
        margin: 0 auto;
    }

    .terms-section ul {
        padding-left: 0.8rem;
    }
}