:root{
  --blanco: #fff;
  --negro: #000;
  --primario: #eec100;
  --secundario:#6d0303;

  --fuentePrincipal: font-family: 'Lato', sans-serif;
}

/*  GLOBALES */

html{
  font-size: 62.5%;
  box-sizing: border-box; /* Hack para box model*/
}

*, *:before, *:after {
  box-sizing: inherit;
} /* Hack para box model*/

body{
  font-size: 16px;
  line-height: 1.5;
  background-image: url("../img/fondos/fondo_web_secundario.webp");
  height: 100%;
  max-height: fit-content;
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  background-color: azure;
  display: flex;
  flex-direction: column;
}
a{
  color: var(--primario);
  text-decoration: none;
}

a:hover{
  color:orange;
}

.contenedor{
  max-width: 120rem;
  margin: 0 auto;
}

h1, h2, h3 {
  text-align: center;
  font-family: var(--fuentePrincipal);
  text-transform: uppercase;
}

h1{
  font-size: 4rem;
}

h2{
  font-size: 3.2rem;
}

h3{
  font-size: 2.4rem;
}

/* ESTILOS RECUADRO */

.contacto{
  background-image: url("../img/fondos/fondo_texto.webp");
  height: 400px;
  background-position-y: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  border-radius: 44px 44px 44px 44px;
  border: 0px solid #fff;
  margin: 5rem 2rem;

}

.texto{
  text-align: left;
  position: absolute;
  top: 7%;
  left: 7%;
  right: 7%;
  color: black;
  font-size: 1rem;

}

/* ESTILOS TITULO Y PARRAFO */

.texto h1{
  text-align: left;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ESTILOS TELEFONOS */

.telefonos{
  display: flex;
  justify-content: space-evenly;
  font-size: 1rem;
}

.telefonos a{
  text-decoration: none;
  color: #9E9B9B;
  font-weight: bold;
}

@media (min-width: 768px) {
  .contacto{
    height: 600px;
    max-width: 900px;
    margin: 8rem 10rem;
  }
  
  .texto{
    text-align: left;
    position: absolute;
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .texto h1{
    font-size: 2rem;
  }

  .centrar-texto{
    font-size: 1.7rem;
  }

  .telefonos{
    font-size: 2rem;
  }
  
}


/* ESTILO FORMULARIO */

.container{
  width: 80% !important;

}

.formulario{
  margin: 0 auto;
  line-height: 1 !important;
}

.campo__label {
  text-align: right;
}

.campo__field{
  width: 100%;
  height: 80%;
  border: 1px solid #D3D1D0;
  border-radius: 1.5rem;
  padding: 0.3rem 1.7rem;
}



input:focus, .campo__field:focus {
  outline:none !important;
  outline-width: 0 !important;
  box-shadow: none;
}

.linea_formulario hr{
  background-color: #000 !important;
  margin: 2rem 0 1rem 0;
}


.campo__boton{
  margin: 0 auto;
}

.boton{
  border: 1px solid #D3D1D0;
  border-radius: 1.5rem;
  background-color: #fff;
  padding: 1rem 2rem;
  font-weight: bold;
  color: #929290;
}

@media (min-width: 768px) {
  .campo__boton{
    margin: 1rem auto;
  }
}

.mapa{
  display: none;
}


@media (min-width: 768px) {
  .container{
    max-width: 900px !important;
  }

  .contacto-contenedor{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  
  .mapa{
    display: block;
    border: 1px solid #D3D1D0;
    border-radius: 1.5rem;
    height: 217px;
    margin-top: 2rem;
  }
  
  .mapa iframe{
    width: 100%;
    height: 100%;
  }
}


@media (min-width: 1024px) {

  .mapa iframe{
    width: 100%;
  }


}



.footer .contacto-footer{
  display: none;
}

@media (min-width: 1280px) {
  .footer{
    margin-top: 5rem;
  }
  .footer .contacto-footer{
    display: inherit;
  }
}


