.slider
{
  height: 700px;
  margin-top: -50px;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  display: grid;
  gap: 2rem;
}

.slider .list{
  position: absolute;
  width: max-content;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s;
}

.slider .list .item {
  position: relative;
}

.slider .list img{
  width: 1300px;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
  filter: opacity(65%);
}
.slider .buttons{
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}
.slider .buttons button{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}
.slider .dots{
  position: absolute;
  bottom: 10px;
  left: 0;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.slider .dots li{
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
}

.slider .dots li.active{
  width: 30px;
}

.content{
  position: absolute;
  padding-left: 10px;
}

.slider .list .item .content{
  color: var(--primary-color-light);
  left: 1%;
  top:  5%;
  width: 400px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .item .content p:nth-child(1){
  padding-left: 10px;
  text-transform: uppercase;
  letter-spacing: 10px;
}
.slider .list .item .content h2{
  font-size: 50px;
  margin: 0;
}

@keyframes showContent {
  to{
      transform: translateY(0);
      filter: blur(0);
      opacity: 1;
  }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .8s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}

@media (width > 540px) {

  .slider .list .item .content{
    color: var(--primary-color-light);
    left: 1%;
    top: 55%;
    width: 1000px;
    max-width: 80%;
    z-index: 1;
  }
  
  .slider .list .item .content p:nth-child(1){
    padding-left: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
  }
  .slider .list .item .content h2{
    font-size: 56px;
    margin: 0;
  }

  .slider{
    height: 700px;
    width: auto;
    margin-top: -50px;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    display: grid;
    gap: 2rem;
  }
}

@media (width > 768px) {

  .slider .list .item .content{
    color: var(--primary-color-light);
    left: 1%;
    top: 55%;
    width: 1000px;
    max-width: 80%;
    z-index: 1;
  }
  
  .slider .list .item .content p:nth-child(1){
    padding-left: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
  }
  .slider .list .item .content h2{
    font-size: 67px;
    margin: 0;
  }

  .slider{
    width: 900px;
    max-width: 100vw;
    height: 700px;
    margin: auto;
    margin-top: -50px;
    margin-left: 35px;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    display: grid;
    gap: 2rem;
  }
}


@media (width > 1024px) {

  .slider .list .item .content{
    color: var(--primary-color-light);
    left: 1%;
    top: 60%;
    width: 1000px;
    max-width: 80%;
    z-index: 1;
  }
  
  .slider .list .item .content p:nth-child(1){
    padding-left: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
  }
  .slider .list .item .content h2{
    font-size: 100px;
    margin: 0;
  }

  .slider{
    width: 1300px;
    max-width: 100vw;
    height: 700px;
    margin: auto;
    margin-top: -50px;
    margin-left: 35px;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    display: grid;
    gap: 2rem;
  }
}


/* @media screen and (max-width: 768px){
  .slider{
      height: 400px;
  }
}

@media (width > 540px) {
  .banner__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner__card:nth-child(1) {
    grid-area: 1/1/2/3;
  }

  .order__grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */