a{
    color: #FFFFFF;
}

a:hover{
    color: #c2c2c2;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* HEADER */
.top{
    margin-bottom: 30px;
}

.hipoteca_top{
    width: 100%;
    height: 80vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease;
}


.hipoteca_top_data {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hipoteca_text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
}

.hipoteca_top_data h1,
.hipoteca_top_data p{
    color: #FFFFFF !important;
    
}

.hipoteca_top_data h1 {
    font-size: 100px;
    font-weight: bolder;
    line-height: 1.1;
}

.hipoteca_top_data h1 em {
    color: transparent; 
    -webkit-text-fill-color: transparent; 
    -webkit-text-stroke: 3px #FFFFFF; 
}

.hipoteca_top_data p {
    font-size: x-large;
    width: 60%;
    align-self: flex-start;
    line-height: 1.1;
}

/* SECCION MEDIO 1 */
#middle{
    margin-bottom: 30px;
}

.middle{
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

.middle-side-left,
.middle-side-right {
    display: flex;
    align-items: center;
    text-align: start;
    justify-content: center;
    color: #000000;
}

.middle-side-left:hover h3,
.middle-side-right:hover h3 {
    font-weight: bolder;
    cursor: pointer;
}


.hipoteca-icon{
    font-size: 30px;
    margin: -15px 15px 0;  
}

/* MIDDLE SUB */
#middle_sub {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#formHipotecas,
.comparadorHipotecas,
.cambioCasa {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.formHipotecasOpciones {
    display: flex;
    flex-direction: row;
}

.formHipotecaOpcion {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: start;
    padding: 10px;
}

.formHipotecasInput{
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

.hipotecasSubmit{
    margin: 10px;
    border-radius: 5px;
    padding: 10px;
    background-color: #000000;
    border: 1px solid #000000;
    color: #FFFFFF;
}

.hipotecasSubmit:hover{
    background-color: #FFFFFF;
    border: 1px solid #000000;
    color: #000000;
}

/* ZONA2 */
.zona2{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.zona2 h3,
.zona2 p{
    color: #FFFFFF !important;
}

.zona2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Adjust the opacity (0.5 in this example) to control the transparency of the overlay */
    z-index: 1; /* Place the overlay above other content */
}

.zona2-content, .zona2-btn {
    position: relative;
    z-index: 2; /* Place the text and button above the overlay */
}

.zona2-btn a {
    background-color: #FFFFFF !important;
    border-color: 1px solid #FFFFFF !important;
    color: #000000 !important;
    border-radius: 5px;
}

.zona2-btn a:hover  {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: 1px solid #FFFFFF !important;
}

/* EURIBIR */
.valor-euribor{
    background-color: #FFFFFF;
    height: 10vh;
    border-radius: 10px;
    text-align: center;
    align-items: center;
}

.valor-euribor h4 {
    color: #000000;
    padding: 3vh;
}

.valor-euribor span{
    color: #d50000;
}

/* Blog */
.blog_button {
    display: flex;
    justify-content: end;
    left: 0 !important;
}

.blog_vender{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blog_vender_info_container {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 10px 0 0;
}

.blog_vender a,
.blog_vender h4,
.blog_vender span,
.blog_vender p {
    color: #000000 !important;
}

.blog_image{
    width: 250px;
    border-radius: 5px;
}

.blog_link {
    display: flex;
    flex-direction: column;
    justify-content: space-around !important;
}

/* MEDIO - TABLET */
@media (min-width: 750px) and (max-width: 950px) {
    
    .hipoteca_top_data h1 {
        font-size: 70px;
        font-weight: bolder;
    }

    .hipoteca_top_data p {
        font-size: medium;
    }

    .hipoteca_top_data{
        padding: 20px
    }
}


/* MOBILE */
@media (max-width: 750px) {

    .hipoteca_top_data{
        padding: 20px
    }
    
    .hipoteca_top_data h1 {
        font-size: 40px;
        font-weight: bolder;
    }

    .hipoteca_top_data p {
        font-size: large;
        width: 100%;
    }

    .middle{
        flex-direction: column;
    }

    .middle-side-left,
    .middle-side-right{
        justify-content: flex-start;
        margin: 20px 35px 20px;
    }
}