





  .sectiondos{
    background-color: #f2f2f2;
    height: 100vh;
    width: 100%;
  }
  .seccion1{
    height: 100vh;
    width: 100%;
  }
  .seccion3{
    height: 100% !important;
    background-color: #f2f2f2;
  }
  .seccion4{
    height: auto !important;
    background-color: #f2f2f2;
  }
  h1, h4 {
    opacity: 0;
    transform: translateY(50px); /* Comienza 20px abajo */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    margin: 20px 0;
    font-family: Arial;
}
.content-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.left {
    transform: translateX(-90px);
}

.right {
    transform: translateX(50px);
}
.visible {
    opacity: 1;
    transform: translateY(0); /* Se mueve a la posición original */
}
.sbm{
    width: 50%;
    background-color: #95BF8F;
    height: 100vh;
}
.pic{
    width: 50%;
    height: 100%;
    margin-left: 80px;
    margin-top: 50px;
   
}
.sbm {
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.sbm.visible {
    opacity: 1;
    transform: translateX(0);
}



.container2 {
    display: flex;
  justify-content: space-between; 
  }
  .contenedor {
   
  background-color: #95BF8F;
  width: 50%;
  height: 100vh;
  }
  .cont{ 
    width: 50%;
    height: auto;
    margin-left: 670px;
    margin-top: -650px;
  }
/* To hide the checkbox */
#checkboxInput {
    display: none;
  }
  
  .toggleSwitch {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 50px;
    height: 30px;
    background-color: rgb(82, 82, 82);
    border-radius: 20px;
    cursor: pointer;
    transition-duration: .2s;
  }
  
  .toggleSwitch::after {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    left: 5px;
    background-color: transparent;
    border-radius: 50%;
    transition-duration: .2s;
    box-shadow: 5px 2px 7px rgba(8, 8, 8, 0.26);
    border: 5px solid white;
  }
  
  #checkboxInput:checked+.toggleSwitch::after {
    transform: translateX(100%);
    transition-duration: .2s;
    background-color: white;
  }
  /* Switch background change */
  #checkboxInput:checked+.toggleSwitch {
    background-color:#95BF8F;
    transition-duration: .2s;
  }
  button {
    display: inline-block;
    border-radius: 4px;
    background-color:#95BF8F;
    border: 1px solid white;
    color: #FFFFFF;
    text-align: center;
    font-size: 17px;
    padding: 16px;
    width: 150px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
   }
   
   button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
   }
   
   button span:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -15px;
    transition: 0.5s;
   }
   
   button:hover span {
    padding-right: 15px;
   }
   
   button:hover span:after {
    opacity: 1;
    right: 0;
   }
  

  
label{cursor: pointer;}

/* Contenedor para centrar */
.ContainerCenter{
  display: flex;
  align-items: center;
  flex-direction: column;
}
/* Input */
input{display: none}



/* Slider */
.Carrusels{
  height: 600px;
  width: 1200px;
  position: relative;
  overflow-x: hidden;
}
.Carrusel{
  height: 100%;
  width: 100%;
  position: absolute;
  background-size: cover;
  overflow-y: hidden;
  transition: all .5s ease;
}
/* Estado 1 */
#Slider1:checked ~ .Carrusels .Carrusel:nth-of-type(1) {transform: translate(0%, 0);}
#Slider1:checked ~ .Carrusels .Carrusel:nth-of-type(2) {transform: translate(100%, 0);}
#Slider1:checked ~ .Carrusels .Carrusel:nth-of-type(3) {transform: translate(200%, 0);}
/* Estado 2 */
#Slider2:checked ~ .Carrusels .Carrusel:nth-of-type(1) {transform: translate(-100%, 0);}
#Slider2:checked ~ .Carrusels .Carrusel:nth-of-type(2) {transform: translate(0%, 0);}
#Slider2:checked ~ .Carrusels .Carrusel:nth-of-type(3) {transform: translate(100%, 0);}
/* Estado 3 */
#Slider3:checked ~ .Carrusels .Carrusel:nth-of-type(1) {transform: translate(-200%, 0);}
#Slider3:checked ~ .Carrusels .Carrusel:nth-of-type(2) {transform: translate(-100%, 0);}
#Slider3:checked ~ .Carrusels .Carrusel:nth-of-type(3) {transform: translate(0%, 0);}


/* Flechas */
.Carrusels .ArrowLeft, .Carrusels .ArrowRight{
  position: absolute;
  height: 100%;
  width: 2em;
  align-items: center;
  justify-content: center;
  display: none;
  user-select: none;
}
.Carrusels .ArrowLeft{left: 0px;}
.Carrusels .ArrowRight{right: 0px;}
/* Configuracion de flechas individuales */
#Slider1:checked ~ .Carrusels .Arrow1{display: flex;}
#Slider2:checked ~ .Carrusels .Arrow2{display: flex;}
#Slider3:checked ~ .Carrusels .Arrow3{display: flex;}


  
  .nav {
    
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
  }

  .nav {
    width: 100%;
    height: 65px;
    position: absolute;
    line-height: 65px;
    text-align: center;
    z-index: 1;
    
  }
  
  .nav div.logo {
    float: left;
    width: 250px;
    height: 65px;
  }
 
  
 
  .aaa{
    display: inline-block; /* Necesario para aplicar transformaciones */
    transform-origin: center; /* Establece el origen de la transformación en el centro */
    white-space: nowrap; 
    font-size: 19px;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 3px;
    
  }
  
  .nav div.main_list {
    height: 65px;
    float: left;
    
  }
  
  .nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  

.nav.scrolled {
    background-color: rgba(255, 255, 255, 0.8); /* Color de fondo del navbar cuando se hace scroll */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra opcional */
}

.nav .aaa {
    color: black; /* Cambia el color del texto en el navbar cuando se hace scroll */
}

.nav.scrolled .aaa {
    color: black; /* Cambia el color del texto cuando el navbar tiene la clase 'scrolled' */
}
  .nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 2rem;
  }
  
  
  .nav div.main_list ul li a {
    text-decoration: none;
    color: black;
    line-height: 65px;
    font-size: 20px;
    
  }
  
  .nav div.main_list ul li a:hover {
    color:#95BF8F;
  }


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
  
    
   
}
.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}


.en { display: none; }
.es { display: block; }
.language-switch {
    display: flex;
    align-items: center;
    margin-left: 400px;
}
.nav {
  background-color: #696969;
  padding: 10px 0;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.main_list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main_list ul {
  display: flex;
  gap: 20px;
}

.navlinks li {
  display: inline-block;
}

.navlinks a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 25px;
}


.menu-btn {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}


@media (max-width: 768px) {
  .main_list {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      background-color: #696969;
      left: 0;
      width: 100%;
      
      text-align: center;
  }

  .main_list.active {
      display: flex; 
  }

  .menu-btn {
      display: block; 
  }

  .navlinks li {
      padding: 15px 0;
  }

  .navlinks a {
      font-size: 20px;
  }

  .language-switch {
      display: block;
      margin: 20px 0;
      margin-top: 90px;
  }
}

  /**/

  #sobremi{
      margin-left: 15px;
       margin-right: 10px; 
       font-size: 30px;
        text-align: justify; 
        color: aliceblue;
  }
#titsobremi{
  font-size: 100px;
  margin-left: 50px;
   color: aliceblue;
}
#main-title{
font-size: 60px;
}
#sub-title{
  font-size: 30px;
  }
  @media screen and (max-width:768px) {
#main-title {
   
 font-size: 30px;
  
} 
#sub-title{
  font-size: 15px;
}
.language-switch{
  margin-left: 350px;
  position: fixed;
}
#sobremi{
  font-size: 15px;
}
#titsobremi{
  font-size: 30px;
  margin-left: 20px;
}
#section2{
  height: 400px;
}
#section1{
  height: 500px;
}
.Carrusels{
  width: 100%;
}
.sbm{
  height:500px;
}
.pic{
  position: absolute;
  margin-left: 110px;
  width: 150px;
  height: auto;
}
.imgca{
  width: 100%;
  height: auto;
  margin-top: 200px;
}
.contenedor{
  width: 50%;
  height: auto;
}
.cont{
width: 50%;
margin-left: 200px;
margin-top: -750px;

}
.navlinks li {
  padding: 15px 0;
}
.nav div.main_list ul li{
  padding-right: 1rem;
}
 }