* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: 'calibri';
}

main{
  margin-top: 50px;
}
.noticias{
  font-size: 60px;
  color: white;
  font-family: "Poppins", sans-serif;
  opacity: 50%;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-title {
  animation: fade-in 1.5s ease-in-out;
}


.contenedor {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
}

header {
  width: 100%;
  background-color:#FAFAFA;
clear: both;
content: '';
display: table;
position: absolute;
z-index: 999;
}


.navegacion {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.navegacion li {
  list-style: none;
  padding: 20px 0;
}

.navegacion li a {
  text-decoration: none;
  color: #621010;
  font-weight: bold;
  font-size: 19px;
}


.wave{
  position: absolute;
  bottom: 0;
  width: 100%;
}

.fijo {
  left: 0;
  top: 0;
  position: fixed;
  width: 100%;
  background-color: #ffffff;
}



.fondo-valle{
  background-image: url("../img/fondo-valle.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 88vh;
  background-attachment: fixed;
}

.contenido-fondo-valle{
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contenido-fondo-valle h2{
  color: #ffffff;
  font-size: 50px;
  text-align: center;
}

.contenido-fondo-valle h1{
  color: #ffffff;
  font-size: 100px;
text-align: center;
}
nav ul li a::before{
  display: block;
  content: '';
  width: 0%;
  background-color: #6e0909;
  height: 5px;
  top: 0;
  position: relative;
  transition: width 0.2s; 
}
nav ul li a:hover::before{
  width: 100%;
}
#mi-encabezado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px; /* Ajusta la altura según tu encabezado */
  background-color: #FAFAFA; /* Ajusta el color de fondo según tu encabezado */
  transition: transform 0.3s;
}

#mi-encabezado.oculto {
  transform: translateY(-100%);
}




.separator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.linea {
  flex-grow: 1;
  height: 3px;
  background-color: #6e0909;
  max-width: 60px;
}

.text {
  margin: -12px 30px;
  color: #6e0909;
  font-family: Arial, Helvetica, sans-serif;
}
.titulo{
  text-align: center;
  font-size: 30px;
  color: #313131c9;
  font-family: sans-serif;
}



.body{
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: sans-serif;
}
.container{
max-width: 1200px;
width: 90%;
margin: 0 auto;
}

.grid-card{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 25px;
}


@media(min-width:768px){
	.grid-card{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	
}

@media(min-width:980px){
	.grid-card{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
	
}

.card{
	width: 100%;
	margin: 20px;
	border-radius: 7px;
	overflow: hidden;
	background: #ede6eb69;
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
	cursor: default;
	transition: all 400ms ease;
}
.card:hover{
	box-shadow: 5px 5px 20px rgba(0, 0, 0, 4);
	transform: translateY(-3%);
}
.card img{
	width: 100%;
	height: 210px;
}
.card .contenido{
	padding: 15px;
	text-align: center;
}
.card .contenido p{
	line-height: 1.5;
	color: #6a6a6a;
}
.card .contenido h3{
	font-weight: 400;
	margin-bottom: 15px;
}
#informacion {
	display: none;
	display: block;
  }
#cont {
  display: none;
}
#formation {
	display: none;
  }

  .hidden {
	display: none;
  }


  .enlace {
    background-color:#621010;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none; /* Eliminar la subrayado del enlace */
    color: #000; /* Color del texto del enlace */
    color: #fff;
    transition: background-color 0.8s ease;
  }

.enlace:hover{
  background-color: #cf1616;
}
.titulos{
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 21px;
  font-weight: bold;
}


.container figure{
  width: auto;
  height: auto;
  overflow: hidden;
  transition: all 500ms ease;
  border-radius: 5px;

}
.container figure img{
  transition: all 500ms ease;

}
.container figure:hover img {
  transform: scale(1.3);
  cursor: pointer;
}





.formulario{
  background-image: url("../img/fondo-valle3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 88vh;
  background-attachment: fixed;
}

.contenedor-formulario{
  width: 100%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 50px;
  margin-top: 90px;
  padding-top: 50px;

}
.contenedor-formulario h2{
  margin-bottom: 15px;
  font-size: 45px;
  color: #FAFAFA;
}
.contenedor-formulario p{
  font-size: 17px;
  line-height: 1-6;
  margin-bottom: 30px;
  color: #FAFAFA;
}
.formmm {
  font-size: 17px;
  display: inline-block;
  text-decoration: none;
  width: auto;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}
.formmm i{
  color: #6e0909;
  margin-right: 10px;
}
.contenedor-formulario form .campo, textarea{
  width: 100%;
  padding: 15px 10px;
  font-size: 15px;
  margin-bottom: 20px;
  border: 0;
  outline: 0px;
  background: inherit;
  color: #ced4da;
  height: 10px;
}
.contenedor-formulario form textarea{
  max-width: 530px;
  min-width: 530px;
  min-height: 140px;
  max-height: 150px;
}
.contenedor-formulario .btn-enviar{
  padding: 15px;
  font-size: 16px;
  border: none;
  outline: 0px;
  color: white;
  border-radius: 3px;
  cursor: pointer;
  transition: all 300ms ease;
}
.contenedor-formulario .btn-enviar{
  background: #621010;
  border-radius: 10px;
}
.contenedor-formulario .btn-enviar:hover{
  background: #cf1616;
}

.contenedor-formulario form:hover .campo:hover, textarea:hover{
  transition: border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  -webkit-transition: border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  background-clip: padding-box;
  line-height: 1.5;
}
#informacion {
  display: block;
}

.pie {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie a {
  text-decoration: none;
  color: #ddd1dd;
  margin: 30px 50px;
}

.pie a:hover {
  color: #FAFAFA;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* ajusta el nivel de opacidad según tus necesidades */
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.input-container {
  position: relative;
  display: inline-block;
}

.input-container .campo {
  border: none;
  outline: none;
}

.input-container .line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.input-container .campo:hover + .line {
  transform: scaleX(1);
}

.input-container .campo:focus + .line {
  transform: scaleX(1);
}

.input-container .area:hover + .line {
  transform: scaleX(1);
}

.input-container .area:focus + .line {
  transform: scaleX(1);
}










#animation-container {
  opacity: 0;
  transition: opacity 1s;
}

.animate {
  opacity: 1;
}

