

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
}
nav {
  display:flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--rojo);
  color: white;
  height: 60px;
  width: 100%;
  position: fixed;
 top:0;
 z-index: 200;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
main {
  display: flex;
  height: 100%;
  width: 100vw;
  overflow: hidden;
}
#inicio {
    max-width: 100%;
    max-height: 100vh;
    background-size:cover;
    overflow: hidden;
}
#slider{
    position:absolute;
    height: 100vh;
    width: 400vw;
    display: grid;
    animation: 2s move infinite linear;
    grid-template-columns: repeat(4, 100vw);
    grid-template-rows: repeat(4, 1100px);
    overflow-y: hidden;
    overflow-x: hidden;
    animation: move 33s infinite ease-in-out;
    -webkit-animation: move 33s infinite ease-in-out;
}
#img1, #img2, #img3, #img4 {
  height: 100%;
  width: 100vw;
  object-fit: cover;
}
@keyframes move {
  0% {
    left: 0%;  

}
/*Transicion imagen 2*/
18% {
  left: 0%;
  
}
25% {
  left: -100vw;
}
/*Transicion imagen 3*/

43% {
  left: -100vw
}
50% {
  left: -200vw;
}
/*Transicion imagen 4*/

68% {
  left: -200vw;
}

  75% {
    left: -300vw;  }
    95% {
      left: -300vw
    }
    100% {
      left: 0%;
    }
}
.cuadro {
    z-index: 10;
}
#main-icon {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 10;
}

  .w-icon {
  height: 100px;
  border-radius: 100px;
}
section {
  background-color: var(--fondo-color);
  max-width: 100vw;
  overflow-x: hidden;
  height: auto;
  position: relative;
}


@media (max-width: 767px) {
  * {
    font-size: 0.92rem;
  }
  #main-icon {
    right: 15px;
    bottom: 15px;
    transform: scale(0.7); }}
