@charset "utf-8";

/* -------------------- FUENTES -------------------- */
@font-face {
    font-family: "font1";
    src: url(../fuentes/extralight.ttf) format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "font2";
    src: url(../fuentes/light.ttf) format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "font3";
    src: url(../fuentes/regular.ttf) format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "font4";
    src: url(../fuentes/bold.ttf) format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "font5";
    src: url(../fuentes/extrabold.ttf) format("truetype");
    font-display: swap;
}


/* -------------------- BASE -------------------- */
html, body {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: font1;
    scroll-behavior: smooth;
}

/* -------------------- BANNER FORMULARIO -------------------- */
#banner_formulario {
    --opacidad-negro: 0.7;
   background-image: 
  linear-gradient(rgba(4, 48, 92, 0.856), rgba(6, 45, 83, 0.89)),
   url("../img/promo.webp");
    background-size: cover;
    background-position: center 2px;
    background-repeat: no-repeat;
    filter: contrast(100%);
    min-height: 80vh;
    width: 100%;
    float: left;
}

/* Texto */
#banner_formulario p {
    font-size: 1vw;
    color: #FFFFFF;
    line-height: 200%;
    text-align: center;
}
#banner_formulario h1 {
    color: #FFFFFF;
    text-shadow: -3px 3px 11px #000000;
    font-size: 5vw;
    font-family: font4;
    line-height: 110%;
    margin-top: 2%;

}
#banner_formulario h2 {
    color: #fff;
    font-size: 1.2vw;
    letter-spacing: 0.1vw;
    font-family: font1; 
    
}
#banner_formulario h3 {
    color: #fff;
    font-size: 1vw;
    font-family: font1;
    letter-spacing: 0.05vw;
    line-height: 220%;
}
#banner_formulario h4 {
    color: #FFFFFF;
    font-size: 1.2vw;
    margin-top: -15px;
    line-height: 125%;
    font-family: font4;
}

/* -------------------- SANATORIOS -------------------- */
#pie h2 {
    color: #FFFFFF;
    font-size: 1.8vw;
    line-height: 140%;
    text-align: center;
    font-family: font5;		
}
#pie h3 {
    color: #FFFFFF;
    font-size: 1.8vw;
    line-height: 140%;
    text-align: center;
    font-family: font1;		
}

#sanatorios h3 {
    color: #FFFFFF;
    font-size: 1.8vw;
    line-height: 140%;
    text-align: center;
    font-family: font5;		
}
#sanatorios h4 {
    color: #FFFFFF;
    font-size: 1.1vw;
    line-height: 170%;
    text-align: left;
    font-family: font1;		
}

/* -------------------- MENÚ -------------------- */
#menu { 
    position: relative; 
    z-index: 1000; 
}
#menu a {
    color: #2f4085;
    font-size: 1.2vw;
    font-weight: bold;
    text-decoration: none;
    margin-left:4%;
    transition: color 0.3s;
    font-family: font3;
    letter-spacing: 0.5px;
}
#menu a:hover {
    color: #009BDB;
}

/* -------------------- FORMULARIO -------------------- */
.campos_form {
    width: 55%;	
    border-radius: 10px;
    font-size: 20px;
    margin: auto;
    padding: 4%;
    margin-bottom: 3%;
    border: 0;
    font-family: font1;
}
#boton_enviar {
    background-color: #009BDB;
    width: 60%;
    padding: 3%;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.2vw;
    font-family: font2;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#boton_enviar:hover {
    background-color: #a700b6;
}

/* -------------------- CLÍNICAS -------------------- */
#clinicas {
    margin: 0;
    padding: 3%;
    background-color: #142147;
    color: #fff;
}
#clinicas p {
    margin: 0;
    font-size: 18px;
}

/* -------------------- PIE -------------------- */
#pie p {
    font-size: 1.5vw;
    color: #FFFFFF;
}

/* -------------------- DIVS -------------------- */
.div100 { width: 100%; padding: 0%; float: left; }
.div70  { width: 60%; padding: 1%; float: left; height: 45px; }
.div60  { width: 56%; padding: 1%; float: left; margin-left: 2%; }
.div40  { width: 36%; padding: 2%; float: left; text-align: center; }
.div30  { width: 38%; padding: 0%; float: left; text-align: right; }
.div30clinicas { width: 29%; padding: 2%; float: left; text-align: left; margin-bottom: 5%; }
.div20  { width: 15%; padding: 1%; float: left; }

.vistav { display: none; }
.vistah { display: block; }

#sanatorios > h4 {
    text-align: center;
}

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

    #banner_formulario h1 { font-size: 8vw; margin: 10%; }
    #banner_formulario h2 { font-size: 4vw; }
    #banner_formulario h3 { font-size: 4vw; width: 80%; margin: auto; text-align: center; line-height: 170%; }
    #banner_formulario h4 { font-size: 4.5vw; font-family: font3; }
    #banner_formulario h5 { font-size: 6.2vw; font-family: font3; color: #FFFFFF; }

    #sanatorios h3 { font-size: 4vw; margin-top: 10%; }
    #sanatorios h4 { font-size: 3.8vw; color: #ffffff; }

    #sanatorios > h4 {
     text-align: center;
    }
    #pie h2 {
    color: #FFFFFF;
    font-size: 4vw;
    line-height: 140%;
    text-align: center;
    font-family: font5;		
}
    #pie h3 {
        color: #FFFFFF;
        font-size: 4vw;
        line-height: 140%;
        text-align: center;
        font-family: font1;		
    }
    #pie p {
        color: #FFFFFF;
        font-size: 3.8vw;
        text-align: center;
        font-family: font1;
    }

    #banner_formulario p {
    font-size: 3.5vw;
    color: #FFFFFF;
    line-height: 150%;
    text-align: center;
    }

    .campos_form {
        width: 70%;	
        border-radius: 10px;
        font-size: 18px;
        padding: 6%;
        margin-bottom: 5%;
    }

    #boton_enviar {
        background-color: #009BDB;
        width: 80%;
        padding: 5%;
        border: none;
        border-radius: 10px;
        color: #fff;
        font-size:3.8vw;
        font-family: font2;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    #boton_enviar:hover {
        background-color: #a700b6;
    }

    .vistav { display: block; }
    .vistah { display: none; }

    .div40 { width: 90%; padding: 5%; float: left; text-align: center; background-color: #142147}
    .div30clinicas { width: 90%; padding: 5%; float: left; text-align: left; color: #fff; margin: auto; }
    .div100 { width: 100%; padding: 0%; float: left; }
    
}
