/*
*
* Boiler Plate stuff
*
*********************************/
:root {
  --anime-carousel-width: 9.3vw;
  --anime-carousel-height: 100px;
  --arrow-width: 50px;
  --slider-carousel-py: 15px;
}
::-webkit-scrollbar {
  display: none;
}
@media only screen and (max-width: 1000px) {
  :root {
    --anime-carousel-width: 25vw;
  }
}

.container-carousel {
  position: relative;
}

.logo {
  color: red;
  font-size: 4rem;
  text-align: center;
}

/*
*
* THE SLIDER CONTAINER
*
*********************************/
.slider-carousel {
  width: 100%;
  overflow-x: scroll;
  overflow-y: visible;
  white-space: nowrap;
  position: relative;
  padding-top: var(--slider-carousel-py);
  padding-bottom: var(--slider-carousel-py);
}

/*
*
* anime-carousel ELEMENTS!
*
*********************************/
.anime-carousel {
  width: var(--anime-carousel-width);
  height: var(--anime-carousel-height);
  display: inline-block;
  position: relative;
  color: white;
  padding: 0 2px;
  font-size: 0.8rem;
  transition: all 0.8s ease-in-out;
}

.anime-carousel:nth-of-type(1) {
  margin-left: var(--arrow-width);
}

.anime-carousel img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

@media only screen and (min-width: 900px) {
  .anime-carousel:hover {
    transform: scale(1.3);
    z-index: 2;
  }
}

/*
*
* BUTTONS
*
*********************************/
.btn-nav-carousel {
  width: var(--arrow-width);
  height: var(--anime-carousel-height);
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  outline: none;
  border: none;
  color: white;

  z-index: 5;
  visibility: hidden;
}

.move-left {
  left: 0;
  top: 56px;
}

.move-right {
  right: 0;
  top: 56px;
}

@media only screen and (max-width: 900px) {
  .btn-nav-carousel {
    display: none;
  }
}

@media only screen and (min-width: 901px) {
  .container-carousel:hover .btn-nav-carousel {
    visibility: visible;
  }
}