.contenidoContactos {
  background-color: hsl(211, 61%, 86%, 0.8);
    color: #333;
    width: 100%;
    align-items: center;
    flex-direction: column;
    display: flex;
    bottom: 0;
    padding-top: 150px;
    padding-bottom: 20px;
}

.contenidoContactos h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 5vw, 45px);
  color: #e24a4a;
  text-align: center;
  display: inline-block;
  text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000,
    1px 1px 1px #000, 2px 2px 4px #000;
  margin-bottom: 30px;
  margin-left: 30px;
  margin-right: 30px;
}

.contacto {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  margin-bottom: 50px;
  width: 95%;
}

#emailForm {
  width: 50%;
  color: #333;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 0px 10px;   
}

#message{
  resize: none;
  height: 100px;
  width: 100%;  
  overflow: auto;
}

#tituloCaja{
  border: 2px solid #FF8A65;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;

  background: #BF360C;
  padding: 10px 20px;
}

form{
  background: #FBE9E7;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-right: 2px solid #FF8A65;
  border-left: 2px solid #FF8A65;
  border-bottom: 2px solid #FF8A65;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 5px 50px;
  height: 420px;
}

label {
  width: 100%;
  display: block; 
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  color: #BF360C;
  text-align: left;
  padding-top: 20px;
  margin-bottom: 10px;
}

input,
textarea{
  border-radius: 8px;
  padding: 10px;
}

input,
textarea {
  display: block;
  height: 30px;
  font-size: 15px;
  width: 100%;
  background-color: #ffffff;
  border: 2px solid #FF8A65;
  margin-top: 5px;
}


.boton {
  all: unset;
  cursor: pointer;
  width: 50%;
  text-align: center;
  margin: 10px 0px;
  font-size: 20px;
  padding: 10px 15px;
  background: #ffffff;
  color: #BF360C;
  outline: #FF8A65 2px solid;
  border-radius: 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-family: sans-serif;
}

.boton:hover {
  cursor: pointer;
  color: #ffffff;
  background-color: #BF360C;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  outline: #FF8A65 2px solid;
  border-radius: 5px;
}

.contactoTexto {
  width: 35%;
  padding: 0px 10px;
  display: flex;
  flex-direction: column;
}

#informacion{
  background: #FBE9E7;
  border-left: 2px solid #FF8A65;
  border-right: 2px solid #FF8A65;
  border-bottom: 2px solid #FF8A65;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 10px 30px;
  height: 420px;
}

.contactoTexto h2, #emailForm h2{
  font-family: math;
  font-size: 26px;
  color: #ffffff;
  text-align: center;
  text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000,
    1px 1px 1px #000, 2px 2px 4px #000;
}

.contactoTexto div h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  color: #BF360C;
  text-align: left;
  padding-top: 20px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.contactoTexto #informacion p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 3vw, 20px);
  color: #BF360C;
  text-align: left;
  margin-left: 15px;
  margin-bottom: 20px;
}

.contactoTexto #informacion a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 3vw, 20px);
  color: #BF360C;
  text-align: left;
  padding-top: 20px;
  margin-left: 15px;
}

.contactoTexto #informacion a:hover {
  color: #ff3c00;
  
}


table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    margin: 1rem auto;
    font-family: Arial, sans-serif;
  }

  th, td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
  }

  thead {
    background: #BF360C;
    color: white;
    text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000,
    1px 1px 1px rgb(39, 91, 150), 2px 2px 4px #000;
  }

  tbody tr {
    background-color: #f9f9f9;
  }


.localizaciones {
  width: 80%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

.localizacion {
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  border: #9575CD 4px solid;
  
}

.textoLocalizacion {
  width: 45%;
  height: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  background: #4A148C;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.textoLocalizacion h4 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 26px;
  color: #f3f3f3;
  text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000,
    1px 1px 1px #000, 2px 2px 4px #000;
  display: inline-block;
  padding-bottom: 5px;
  text-align: left;
}

.textoLocalizacion p {
  padding-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(10px, 5vw, 16px);
  color: #e2e2e2;
  text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000,
  1px 1px 1px #000, 2px 2px 4px #000;
}

.ubicacion {
  padding: 20px 30px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  width: 55%;
  background: #EDE7F6;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

iframe{
  width: 100%;
  border-radius: 4px;
  outline: #9575CD 2px solid;
}

@media (max-width: 423px) {
  iframe{
    height: 250px;
  }

  #informacion{
    height: 450px;
  }
}

@media (max-width: 700px) {
  .contenidoContactos{
    padding-top: 110px;
  }
}

@media (max-width: 900px) {

  .contacto{
    flex-direction: column;
    align-items: center;
  }

  .localizacion{
     flex-direction: column;
  }

  .textoLocalizacion{
    width: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 0px;
  }

  .ubicacion{
    width: 100%;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 3px;
  }

}

@media (max-width: 1260px) {
  h1{
    margin-bottom: 10px;
  }

  #emailForm, .contactoTexto {
    width: 95%;
    min-width: 290px;
  }

  #emailForm{
    margin-bottom: 30px;
  }
  
}