

@font-face {
    font-family: "social";
    src: url(fonts/Social\ Media\ Circled.ttf);
    font-weight: normal;
    font-style: normal;
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("imgs/fondo.png");
  background-size: cover;
  background-repeat: no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

/* Título */
.titulo1 {
  text-align: center;
  margin-top: 20px;
}

.titulo1 h1 {
  font-weight: bold;
  font-size: 3.5rem; /* usa rem para escalar mejor */
}

/* Caja formulario */
.caja_formulario {
  width: 80%;
  max-width: 1000px;
  margin: 40px auto; /* centrado automático */
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
}

/* Formulario */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

form label {
  font-weight: bold;
  font-size: 1.2rem;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

input {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}

textarea {
  background-color: rgba(255, 255, 255, 0.4);
  color: black;
  min-height: 150px;
}
textarea::placeholder {
  color:rgba(0, 0, 0, 0.527); /* Color gris claro por defecto */
  opacity: 1; /* Para Firefox */
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

button {
  height: 50px;
  background-color: rgb(7, 126, 223);
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

button:hover {
  background-color: rgb(0, 63, 114);
  transform: scale(1.05);
  border: 3px solid rgb(11, 91, 156);
}

/* Footer */
footer {
  background-color: black;
  width: 100%;
  height: 160px;
  padding: 20px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.pie_pagina,
.telefono_pie {
  flex: 1 1 300px;
  text-align: center;
  margin: 10px;
}

.pie_pagina p,
.telefono_pie p {
  font-weight: bold;
  font-size: 1.2rem;
}


/* Estilo del texto de error */
.just-validate-error-label {
  color: #e63946;       /* rojo personalizado */
  font-size: 14px;      /* tamaño de fuente */
  font-weight: bold;    /* negrita */
  margin-top: 5px;      /* espacio respecto al campo */
  display: block;       /* asegura que aparezca debajo */
}

/* Estilo del campo con error */
.just-validate-error-field {
  border: 2px solid #e63946;  /* borde rojo */
  background-color: #fff5f56b;  /* fondo suave */
}



#Whats {
    position: fixed;
    top: 100px;
    left: 20px;
 
}


#Whats a {
    font-family: "social";
    font-size: 38px;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

#Whats a:hover {
     color: rgb(37, 211, 102);
    font-size: 45px;
}



  .modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
  }
  .modal-contenido {
    background:rgba(0, 0, 0, 0.6);
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    font-family: sans-serif;
  }
  .modal-contenido p {
    margin-bottom: 15px;
    font-weight: bold;
  }

.boton2{
  height: 50px;
  width: 70%;
  background-color: rgb(7, 126, 223);
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}




@media (max-width:890px){

  footer {
  background-color: black;
  width: 100%;
  height: 260px;
  padding: 20px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

}


@media (max-width:850px){

  footer {
  background-color: black;
  width: 100%;
  height: 360px;
  padding: 20px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

}

@media (max-width:800px){

  footer {
  background-color: black;
  width: 100%;
  height: 450px;
  padding: 20px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

}




@media (max-width:490px){


  .pie_pagina p{
  font-weight: bold;
  font-size: 1rem;
  
}



footer {
  background-color: black;
  width: 100%;
  height: 160px;
  padding: 20px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


#Whats {
    position: fixed;
    top: 100px;
    left: 10px;
 
}

#Whats a {
 
    font-size: 33px;
}


}


@media (max-width:390px){


  .pie_pagina p{
  font-weight: bold;
  font-size: 0.90rem;
}


}


@media (max-width:320px){


  .pie_pagina p{
  font-weight: bold;
  font-size: 0.80rem;
}


}























