body {
  margin: 0;
}


html::-webkit-scrollbar {
  display: none;
}

* {
  box-sizing: border-box;
  margin: 0;
}

img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}

.navBar {
  display: flex;
  width: 100%;
  background-color: black;
  position: relative;

  i {
    padding: 1.3rem 1rem;
    transition: all .2s linear;
  }

  .fa-search {
    position: absolute;
    right: 0rem;
  }

  i:hover {
    background-color: #80808088;
  }


}

.theHeader {
  text-align: center;
  background-color: #f1f1f1;
  padding: 2.3rem;
  font-family: 'tahoma';
  * {
    user-select: none;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: 2.6rem;
  }

  p {
    font-style: italic;
  }

  span {
    background-color: black;
    color: white;
    padding: .4rem;
    margin-left: .1rem;
      /* border-top-left-radius: 30px;
      border-bottom-left-radius: 30px; */
    border-radius: 30px;
  }
}

.portada-principal {
  width: 100%;
  min-height: 100vh;
  background-color: orange;
  background-image: url(assets/imagen1.avif);
  aspect-ratio: 16 / 9;
  background-position: center;
  background-size: cover;
  position: relative;
  background-repeat: no-repeat;

  h2 {
    position: absolute;
    right: 3rem;
    top: 40%;
    font-size: 6rem;
    font-family:fantasy;
    word-spacing: 1rem;
    color: white;
    text-align: right;
  }
}


.main-principal {
  display: flex;
  width: 100%;
  overflow: hidden;

  .main__left {
    flex: 70%;
    background-color: #2054e6;
    padding: 1rem;
    height: max-content;

    h2 {
      text-align: center;
      margin: 1.3rem;
      font-size: 2rem;
    }


    .container {
      background-color: #04aa6d;
      padding: 1rem;
      display: flex;
      flex-direction: column;
      margin-bottom: 1rem;
    }

    .container__description {
      display: flex;
      justify-content: space-between;
      background-color: #ffff0088;

      p {
        padding: .5rem;
        font-weight: 800;
      }

      * {
        font-size: 1.2rem;
      }

      p.container-like {
        color: #2054e6;
        user-select: none;
      }

      input.fa-thumbs-up {
        appearance: none;
        color: #2054e6;
      }

      input.fa-thumbs-up:checked {
        color: #2054e6;
      }
    }
  }

  .main__right {
    flex: 30%;
    background-color: orange;
    padding: 1rem;
    

    .carrusel-vertical {
      display: flex;
      column-gap: 1rem;
    }

    .carrusel-vertical__left,
    .carrusel-vertical__right {
      flex-basis: 50%;
      display: flex;
      flex-direction: column;
      row-gap: 1rem;
    
    }

    .carrusel-container {
      min-height: 140px;
      
      img {
        border-radius: 2rem;
      }
    }

    .carrusel-vertical__left {
      animation: moverArriba 20s ease infinite;
    }

    .carrusel-vertical__right {
      
      animation: moverAbajo 20s ease infinite;
    }
  }
}



@keyframes moverArriba {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -20%);
  }
}
@keyframes moverAbajo {
  0%, 100% {
    transform: translate(0, -20%);
  }
  50% {
    transform: translate(0, 0);
  }
}

.fa-arrow-down-container,
.fa-arrow-up-container {
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: white;
  padding: 1rem 5rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  width: 3px;
  display: flex;
  flex-wrap: wrap;
  place-content: center;

  &:hover {
    opacity: .5;
  }

  i {
    padding: 0;
  }
}

.fa-arrow-up-container {
  left: 0;
}

footer {
  text-align: center;
  padding: 1rem;
  font-family: Cochin, Cambria;
  font-style: italic;
  background-color: salmon;
  font-size: 1rem;
}

@media (width <= 900px) {
  .portada-principal {
    h2 {
      font-size: 4rem;
    }
  }

  .main-principal {
    .main__right,
    .main__right {
      flex-basis: 50%;
    }

    .main__left h2 {font-size: 1.8rem; margin-top: 0px; margin-bottom: .8rem;}
  }

}

@media (width <= 600px) {
  .fa-arrow-down,
  .fa-arrow-up {
    padding: 1rem 3rem;
  }

  .theHeader {
    p {
      font-size: .9rem;
    }
  }

  .portada-principal {
    h2 {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }

  .main-principal {
    flex-direction: column;
    overflow: hidden;

    .main__left {
      flex: 0;
      padding-bottom: .5rem;

      
      h2 {
        font-size: 1.5rem;
      }
      .container {
        justify-items: center;


        p, i {
          font-size: .9rem;
        }

        input.fa-thumbs-up {
          position: relative;
          top: -.1rem;
        }

        i.like,
        i.like2,
        i.like3 {
          position: relative;
          top: -.2rem;
          font-style: normal;
        }
        
      }
    }


    .main__right {
      overflow: hidden;
      width: 100%;
      height: 700px !important;
      background-color: orange;
    }
  }

  footer {
    padding: 1rem;

    * {
      font-size: 1rem;
    }
  }

  .fa-arrow-down-container,
  .fa-arrow-up-container {
    display: none;
  }
}