@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

:root{
    --background: linear-gradient(135deg, #667eea7e 0%, #764ba298 100%);
    --color-primary: #667eea;
    --color-secundary: #764ba2;
    --boton-padding: 20px 40px;
}


body{
    font-family: 'Raleway', sans-serif;
}

.container{
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding: 80px 0;
    max-width: 1200px;
}

.subtitle{
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 35px;

}

/* aqui va la parte de hero o encabezado */
.hero{
    height: 100vh;
    background-image:var(--background), url('../Imagenes/logoult.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position-x: center;
    position: relative;
}

.hero .container{
    padding: 0;
}

.nav{
    display: flex;
    justify-content: flex-end;
    height: 70px;
    align-items: center;
    font-weight: 700;
}

.nav--footer{
    font-weight: 300;
    justify-content: start;
}

.nav__items{
    color: seashell;
    text-decoration: none;
    margin-right: 20px;
    padding: 10px 15px;
    font-weight: inherit;
}

.nav__items--cta{
    border: 1px solid white;
}

.nav__items--footer{
    padding: 10px;
}

.hero__container{
    display: flex;
    height: calc(100vh - 70px);
    align-items: center;
    color: white;
}

.hero__texts{
    width: 80%;
    margin-bottom: 50px;
}

.hero__tittle{
    font-size: 3.2rem;
}

.hero__subtitle{
font-size: 2rem;
font-weight: 300;
margin: 15px 0;
}

.hero__cta{
    display: inline-block;
    background: #fff;
    padding: var(--boton-padding);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 40px;
}

.hero__wave{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

/*aqui empueza la clase de about*/

.presentation {
    padding-top: 0;
    text-align: center;
    font-size: 1.5rem;
}

.presentation__logo{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 10px;
    text-align: center;
    object-fit: cover;
    object-position:center;
}
.presentation__text{
   width: 100%;
   margin: 0 auto;
   text-align: justify;
   font-weight: 300;
   
}
.presentation__mv{
    font-size: 1.2rem;
}

.presentation__cta{
    display: inline-block;
    margin-top: 30px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    padding: var(--boton-padding);
    border-radius: 40px;
}

.about{
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-items: center;
    align-items: center;
    }

.about__img{
    text-align: center;
}

.about__img--left{
    text-align: left;
}

.about__picture{
    max-width: 80%;
}

.about__texts{
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
    text-align: justify;
}

/* Aqui va el diseño de la parte de Proyectos */

.projects{
    background: #f2f2f2;
}
.projects__grid{
    display: grid;
    height: 550px;
    grid-template-areas: 
    "img1 img1 img2 img3"
    "img1 img1 img4 img5";
    gap: 10px;
}

.projects__item{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.projects__img{
    width: 100%;
    height: 100%;
    object-fit:cover;
    cursor: pointer;
}
.projects__item:nth-of-type(1){
    grid-area: img1;
}
.projects__item:nth-of-type(2){
    grid-area: img2;
}
.projects__item:nth-of-type(3){
    grid-area: img3;
}
.projects__item:nth-of-type(4){
    grid-area: img4;
}
.projects__item:nth-of-type(5){
    grid-area: img5;
}

.projects__hover{
    position: absolute;
    background: #dc143c8c;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    cursor: pointer;
    transition: transform .3s ease-in-out;
}
.projects__item:hover .projects__hover{
    transform: translateX(0%);
}
.projects__icon{
    margin-top: 20px;
    font-size: 40px;
}

/* aqui van los testimonios */
.testimony__grid{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimoy__item{
    width: 90%;
    margin: 0 auto;
    background: var(--color-secundary);
    box-shadow: 0 8px 10px rgba (66,66,66, .5);
    border-radius: 50px;
    padding: 30px 25px;
    color: #fff;
    margin-bottom: 50px;
}

.testimony__person{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimony__img{
    width: 100px;
    min-width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-right: 30px;
}

.testimony__name{
    font-size: 1.5rem;
    margin-bottom: 10px;

}
.testimony__verification{
    color: #e0afa0;
    font-weight: 700;
}
.testimony__review{
    font-weight: 300;

}

/* pie de pagina o footer*/

.footer{
    background: var(--color-primary);
}

.footer__grid{
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    align-items: center;
}

.footer__title{
    font-weight: 400;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.footer__icons{
    display: flex;
    justify-content: space-evenly;
}

.footer__container-icons{
    display: inline-block;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align:center; 
    border: 1px solid #fff ;
    border-radius: 50%;
}

.footer__icon{
    color: #fff;
    font-size: 45px;
    text-decoration: none;
}
.fab.footer__icon{
    line-height: 60px;
}
.texto-justificado {
  text-align: justify;
}
.contenedor-video-con-texto {
  display: flex; /* Usa Flexbox para alinear los elementos horizontalmente */
  align-items: center; /* Centra verticalmente los elementos dentro del contenedor */
  gap: 20px; /* Añade un espacio entre los elementos (texto izquierdo, video, texto derecho) */
  flex-wrap: wrap; /* Permite que los elementos se envuelvan a la siguiente línea en pantallas pequeñas */
  justify-content: center; /* Centra el contenido si no hay suficiente espacio para todos */
 margin-right: 9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 0px; /* Ajusta este valor según el espacio que necesites */
  /* Si también quieres un margen izquierdo */
  margin-left: 30px; 
  margin: 90px;
  text-align: justify;
}

.texto-lateral {
  flex: 0; /* Permite que los textos laterales ocupen el espacio disponible */
  min-width: 700px; /* Ancho mínimo para los textos laterales antes de que se envuelvan */
  /* Puedes ajustar el ancho mínimo según tus necesidades */
}

.texto-lateral p {
  margin-bottom: 1px; /* Espacio entre párrafos dentro del texto lateral */
  line-height: 4; /* Mejora la legibilidad del texto */
}

.contenedor-video {
  flex: 5; /* Da más peso al video, para que ocupe más espacio que los textos */
  min-width: 405px; /* Ancho mínimo para el video */
  /* Si quieres añadir un borde al video, hazlo aquí o en la etiqueta <video> */
  /* Ejemplo de borde moderado aplicado al contenedor del video: */
  /* border: 1px solid #ccc; */
  /* padding: 3px; */
  /* box-sizing: border-box; */
}

.contenedor-video video {
  width: 80%; /* Asegura que el video ocupe todo el ancho de su contenedor */
  height: auto; ; /* Mantiene la proporción del video */
  display: block; /* Elimina espacio extra debajo del video */

  /* Si prefieres aplicar el borde directamente al video: */
  border: 15px solid #ccc; /* Borde moderado */
  padding: 10px;
  box-sizing: border-box;
}

/* Media query para pantallas pequeñas (móviles) */
@media (max-width: 300px) {
  .contenedor-video-con-texto {
    flex-direction: column; /* Apila los elementos verticalmente en pantallas pequeñas */
  }

  .texto-lateral {
    min-width: 100%; /* Los textos ocupan todo el ancho */
    text-align: center; /* Centra el texto en pantallas pequeñas */
  }

  .contenedor-video {
    min-width: 111%; /* El video ocupa todo el ancho */
    margin-top: 20px; /* Añade espacio entre el texto y el video cuando se apilan */
    margin-bottom: 15px;
  }


.contenedor-principal {
 

  max-width: 1200px; 
  margin-left: auto; 
  margin-right: auto; }

.bordes{

    border: 5px dashed #c188e7;
}}
