*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: sans-serif;
}

body .todo{


        min-height: 100vh;
        max-width: 100vw;
        line-height: 1.4;
        padding-left: 6%;
    
}








main{
    margin-top: 50px;
  }
  .noticias{
    font-size: 60px;
    color: white;
    font-family: "Poppins", sans-serif;
    opacity: 50%;
  }
  .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: #842842;
    font-weight: bold;
  }
  
  
  .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: #842842 ;
    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%);
  }











  .container {
    border-radius: 20px;
    background-color: #fafafa;
    max-width: 1200px; 
    position: relative;  
    
}

.container::after {
    position: absolute;
    top: 0px;
    left: 0px;
    content: ' ';
    background-image:  linear-gradient(to right top, #53506b,
  #736e79c7, #b2a6b3, #ded6dd);
    width: 100%;
    height: 100%;
    filter: blur(10px);
    z-index:-2;
}
.heading-1{
    font-size: 40px;
    text-transform: uppercase;
    padding-left: 30px;
    padding: 10px;
}
.heading-2 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 20px;
    padding-left: 30px;
     font-family: Kanit 300;
}
.heading-3 {
    font-size: 20px;
    text-transform: uppercase;
    color: crimson;
    margin-bottom: 10px;
    padding-right: 20px;
}
aside {
    display: block;
    border: #53506b;
}
.sub-heading{
    font-size: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    padding-left: 30px;
}
.sub-heading p {
    font-weight: 700;
    text-transform: capitalize;
    margin-right: 10px;
}
.sub-heading span {
    color: #555;
    font-weight: 300;
    border-right: 1px solid #ccc;
    padding-right: 10px;
}
.sub-heading .importent {
    color: crimson;
    text-transform: uppercase;
    font-weight: 300;
}
/* HOME */
.home {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.home-img {
    width: 800px;
    height: 500;
    padding-left: 30px;
}
.list {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10px;
    margin-bottom: 10px;
    padding-right: 20px;
    text-align: justify;
}
.list img {
    width: 100%;
    height: 40px;
}
.lists img {
width: 300px;
height: 200px;
}
.container figure{
    width: 320px;
    height: 250px;
    overflow: hidden;
    transition: all 500ms ease;
    border-radius: 5px;

}
.container figure img{
    width: 100%;
    height: 100%;
    transition: all 500ms ease;

}
.container figure img:hover{
    transform: scale(1.3);
    cursor: pointer;
}
.texto {
    display: grid;
    grid-template-columns: 1fr fr;
    text-align: justify;
    padding-left: 40px;
    padding-right: 10px;
}
.texto1 {
    display: grid;
    grid-template-columns: fr 1fr;
    padding-left: 5px;
    padding-right: 50px;
    text-align: justify;
}
.right .news__title{
    text-align: justify;
    padding-right: 50px;
    font-size:15px;
    font-family: Kanit 300;
}
.lu{
    text-decoration: none;
    color:#50091e ;
}
.lu:hover{
text-decoration: underline;
}








.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);
  }
  