
*{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    box-sizing: border-box;
    list-style: none;
}

body{
    background-color: #34A326;
    text-align: center;
    font-family: poppins, sans-serif;
}


.header {

    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    .head {
    
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 63px;
      background: #17171791;
      
      width: 100%;
      z-index: 100;
    }
    
    .navbar {
    display: flex;
    margin-right: 10px;
    text-align: center;
    }
    
    .logo {
      margin-left: 30px;
    }
    
    
    .navbar a {
    
      display: block;
      padding: 23px 20px;
      color: #fff;
      text-decoration: none;
      text-transform: uppercase;
      font-size: 20px;
    }
    
    .navbar a:hover {
      background: #34A326;
    }

    .title {
      color: #fff;
      text-align: left;
      margin: 15px 30px;
      font-size: 30px;
      font-weight: 1200;
    }

p{
  margin: 5px 60px 5px;
  text-align: justify;
}
    /*-------------SLIDER---------- */

  
  h2 {
      text-align: center;
      font-size: 35px;
      padding: 15px;
      color: #34A326;
      font-weight: 900;
  }
  h3{
    text-align: center;
    font-size: 25px;
    padding: 15px;
    color: #34A326;
    font-weight: 300;
  }

.elementos{
  text-align: justify;
  margin: 20px 60px;
}

  .slider-frame {
    width: 800px;
      height: auto;
    margin:50px auto 0;
    overflow: hidden;
  }
  
  .slider-frame ul {
    display: flex;
    padding: 0;
    width: 400%;
    animation: slide 10s infinite alternate ease-in-out;
  }
  
  .slider-frame li {
    width: 100%;
    list-style: none;
  }
  
  .slider-frame img {
    width: 100%;
  }
  
  @keyframes slide {
    0% {margin-left: 0;}
    20% {margin-left: 0;}
    
    25% {margin-left: -100%;}
    45% {margin-left: -100%;}
    
    50% {margin-left: -200%;}
    70% {margin-left: -200%;}
    
    75% {margin-left: -300%;}
    100% {margin-left: -300%;}
  }
  
  /* Estilos para dispositivos móviles */
@media screen and (max-width: 767px) {
  .slider-frame {
      width: 100%;
  }

  .slider-frame ul {
    display: flex;
      width: 400%; /* Ajusta según tus necesidades */
      animation: slide 10s infinite alternate ease-in-out;
      margin-left: 0; /* Asegura que el slider esté en la primera imagen */
  }

  .slider-frame li {
      width: 100%;
  }

  .slider-frame img {
      width: 120%;
  }
}

  /*------------FIN SLIDER---------*/

/*------NAVBAR-------*/
.menu{
  background-color: #00000071;
  color: #fff;
  height: 100px;
  display: flex;
}

.menu__container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.menu__links{
  height: 100%;
  transition: transform .5s;
  display: flex;
}

.menu__item{
  list-style: none;
  position: relative;
  height: 100%;
  --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
  --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
  --transform: rotate(-90deg);
}

.menu__item:hover{
  --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  --transform: rotate(0);
}

.menu__link{
  color: #fff;
  text-decoration: none;
  padding: 0 30px;
  display: flex;
  height: 100%;
  align-items: center;
}

.menu__link:hover{
  background-color: #34A326;
}


.menu__arrow{
  transform: var(--transform);
  transition: transform .3s;
  display: block;
  margin-left: 3px;
}

.menu__nesting{
  list-style: none;
  transition:clip-path .3s;
  clip-path: var(--clip);
  position: absolute;
  right: 0;
  bottom: 0;
  width: max-content;
  transform: translateY(100%);
  background-color: #000;
}

.menu__link--inside{
  padding: 30px 100px 30px 20px;
}

.menu__link--inside:hover{
  background-color: #798499;
}

.menu__hamburguer{
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  cursor: pointer;
  display: none;
}

.menu__img{
  display: block;
  width: 36px;
}

@media (max-width:800px){
  .menu__hamburguer{
      display: flex;
  }

  .menu__item{
      --clip:0;
      overflow:hidden ;
  }

  .menu__item--active{
      --transform: rotate(0);
      --background: #5e7094;
  }

  .menu__item--show{
      background-color: var(--background);
  }


  .menu__links{
      position: fixed;
      max-width: 400px;
      width: 100%;
      top: 70px;
      bottom: 0;
      right: 0;
      background-color: #000;
      overflow-y: auto;
      display: grid;
      grid-auto-rows: max-content;
      transform: translateX(100%);
  }

  .menu__links--show{
      transform: unset;
      width: 100%;
  }

  .menu__link{
      padding: 25px 0;
      padding-left: 30px;
      height: auto;
  }

  .menu__arrow{
      margin-left: auto;
      margin-right: 20px;
  }

  .menu__nesting{
      display: grid;
      position: unset;
      width: 100%;
      transform: translateY(0);
      height: 0;
      transition: height .3s;
  }

  .menu__link--inside{
      width: 90%;
      margin-left: auto;
      border-left: 1px solid #798499;
  }
}

/*----FIN NAVBAR-----*/

.text-box{
  display: inline-block;
  background-color: #fff;
  margin: 40px 80px;
  padding: 20px 0px;
  border-radius: 20px;
  align-items: center;
  box-shadow: 5px 5px #24262b;
  transition: .2s;
}

.text-box:hover{
  transform: translateY(-4px);
  box-shadow: 0 1px 14px 2px rgba(0, 0, 0, 1.15);
}

.text-box i{
  line-height:1rem;
  text-align: center;
  color: #34A326;
  font-size: 3rem;
  padding-top: 20px;
   
}
  /*----------FOOTER--------------*/

.container{
  max-width: 1200px;
  margin: 20px auto;
}

.footer {
background-color: #24262b;
padding: 80px 10px;
}

.footer-row{
  display: flex;
  flex-wrap: wrap;
}

.footer-links{
  width: 25%;
  padding: 0 15px;
  list-style: none;
}

.footer-links h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 25px;
  font-weight: 500;
  border-bottom: 2px solid #34A326;
  padding-bottom: 10px;
  display: inline-block;
  list-style: none;
}


.footer-links ul li a {
  font-size: 18px;
  text-decoration: none;
  color: #34A326;
  display: block;
  margin-bottom: 15px;
  transition: all.3s ease;
  list-style: none;

}

.footer-links ul li a:hover{
  color: #fff;
  padding-left: 6px;
}

.social-link a {
  display: inline-block;
  min-height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: all .5s ease;
}

.social-link a:hover {
  background-color: #34A326;
}

.fin{
  text-align: center;
  color: #fff6;
}

@media(max-width:991px) {
  .footer-row {
    text-align: center;
  }

  .footer-links {
    width: 100%;
    margin-bottom: 30px;
  }
}

/*----------FIN FOOTER-------------*/