*{
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
}
body{
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.nav-link{
    font-size: 14px;
    font-weight: 400;
    color: rgb(0,0,0);
}
nav {
    background-color: rgb(245,245,248);

}

.head-link{
    background-color: #f0f0f2;
    display: flex;
    justify-content: space-between;
    
}
.head-link ul{
    margin-left: 150px;
}

.head-link ul li{
    display: inline-block;
    padding: 10px 0 2px;
}
.head-link ul li a{
text-decoration: none;
color: #516154;
}
.head-link ul li a:hover{
    text-decoration: underline;
}
section{
    cursor: pointer;
}
.product{
    font-weight: 400;
    font-size: 40px;
}
.description{
    font-size: 14px;
}

.links-wrapper ul li{
    justify-content: center;
}
.vertical{
    margin-top: 15px;
    border-right: 2px  solid #7d7d7e;
    height: 5px;
}
.learn{
    background-color: #06c;
    color: #fff;
    border-radius: 50px;
    margin: 10px;
    padding: 15px;
}
.links-wrapper .learn {
    text-decoration: none;
    color: #fff;
}
.pre-order{
    color: blue;
    border-radius: 50px;
    margin: 10px;
    padding: 15px;
}
.pre-order:hover{
    background-color: #0d6efd;
    color: white;
}
.buy{
    background-color: #fff;
    color: #fff;
    border-radius: 50px;
    margin: 15px;
    padding: 10px;
}
.internal-wrapper{
    justify-content: center;
    text-align: center;
}
.available{
    color: #848388;
}
.first-sec{
    background-image: url(../images/img/hero_iphone16pro-large.jpg);
    width: 100%;
    height: 580px;
    background-size: cover;
    background-position: center;
    color: #fff;
    align-items: center;
    justify-content: center;
}
.intro{
 padding-top: 40px;

}
.bottoms{
    padding-top: 300px;
}
.second-pair .bottoms{
    padding-top: 330px;
}
.second-sec{
    background-image: url(../images/img/hero_iphone16-large.jpg);
    width: 100%;
    height: 580px;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.third-sec{
    background-image: url(../images/img/hero_apple_watchlarge.jpg);
    width: 100%;
    height: 580px;
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    padding: 65px 20px;
}
.fourth-sec{
    background-image: url(../images/img/promo_apple_watch_ultra2_avail__dyawbjw9cowi_large.jpg);
    width: 50%;
    height: 580px;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.fiveth-sec{
    background-image: url(../images/img/airpods_4-large.jpg);
    width: 50%;
    height: 580px;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.sixth-sec{
    background-image: url(../images/img/airpods_pro.jpg);
    width: 50%;
    height: 580px;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.seventh-sec{
    background-image: url(../images/img/airpodsmax.jpg);
    width: 50%;
    height: 580px;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.eighth-sec{
    background-image: url(../images/img/promo_carrier__e0izvxwqosgi_large.jpg);
    width: 50%;
    height: 580px;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.nineth-sec{
    background-image: url(../images/img/iphone_tradein.jpg);
    width: 50%;
    height: 580px;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.first-pair, .second-pair, .third-pair{
  display: flex;
  gap: 10px;
}


.slider-container{
    position: relative;
    width: 100%;
    height: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.slider .buy{
    border-radius: 50px;
    margin: 0px;
    padding: 4px;
    color: black;
}
.slide{
    position: relative;
    min-width: 100%;
    height: 100%;
}
.slide .caption {
    position: absolute;
    left: 0;
    bottom: 5%;
    font-size: 14px;
    color: white;
    display: flex;
    gap: 1px;
    padding: 1rem 1rem;
    border-radius: 0 2rem 2rem 0;
  }
  .slide .caption a{
    color: #1d1d1f;
    text-decoration: none;
  }
  .slide .caption .prop{
    margin: 5px;
  }

  .slider{
    position: relative;
    width: 70%;
    height: 70%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    animation: 15s sliding infinite;
}
  
  .slide.one {
    background-image: url(../images/bad_monkey.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.two {
    background-image: url(../images/instigators.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.three {
    background-image: url(../images/presumed.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.four {
    background-image: url(../images/time.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.five {
    background-image: url(../images/leagues.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.six {
    background-image: url(../images/lady.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.seven {
    background-image: url(../images/sunny.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.eight {
    background-image: url(../images/friday.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.nine {
    background-image: url(../images/cowboy.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  .slide.ten {
    background-image: url(../images/the-morning.jpg);
    width: 100%;
    height: 500px;
    background-position: center;
    background-size: cover;
  }
  
  @keyframes sliding {
    0% {
      transform: translateX(0%);
    }
    10% {
        transform: translateX(0%);
      }
    20% {
      transform: translateX(-100%);
    }
    30% {
      transform: translateX(-100%);
    }
    40% {
      transform: translateX(-200%);
    }
    50% {
      transform: translateX(-200%);
    }
    60% {
      transform: translateX(-300%);
    }
    70% {
      transform: translateX(-300%);
    }
    80% {
      transform: translateX(-400%);
    }
    90% {
        transform: translateX(-400%);
      }
    100% {
      transform: translateX(-500%);
    }
  }
   
  
footer{
    padding-left: 10%;
    padding-right: 10%;
}       
.footer-wrapper{
    background-color: #f5f5f7;
    color: #1d1d1f;
    font-size: 10px;
}
.upper-text{
    border-bottom: 1px solid #d2d2d7;
    color: #86868b;
    padding: 17px 0 20px;
}
.upper-text a{
    color: #516154;
}
.footer-links{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}
.footer-links ul{
    list-style: none;
}
.footer-links ul li{
    padding: 5px 0;
    font-size: 10px;
}
.footer-links a{
text-decoration: none;
color: #516154;
}
.footer-links a:hover{
    text-decoration: underline;
}
.footer-links h3{
   font-size: 10px;
   font-weight: 600;
}
.more-ways{
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.copyright-wrapper{
    display: flex;
    justify-content: space-between;
    padding: 10px 0 20px;
}
.terms-link ul li{
    display: inline-block;
    padding: 0 5px;
    border-right: 1px solid #ccc;
}
.terms-link ul li a{
text-decoration: none;
color: #516154;
}
.terms-link ul li a:hover{
    text-decoration: underline;
}
.footer-country .usa{
    vertical-align: top;
}
.usa a{
    text-decoration: none;
    color: #516154;
}
.usa a:hover{
text-decoration: underline;
}


@media (max-width: 600px) {
  .header-wrapper{
      font-weight: 100;
      font-size: 10px;
  }
  .product{
      font-weight: 400;
      font-size: 36px;
  }
  .description{
      font-size: 14px;
  }
  .first-pair, .second-pair, .third-pair {
    display: inline;
  }
  .fourth-sec, .fiveth-sec,.sixth-sec,.seventh-sec,.eighth-sec,.nineth-sec{
      width: 100%;
      height: 580px;
      background-position: center;
      background-size: cover;
      text-align: center;
      color: #fff;
      padding: 65px 20px;
  }
  .slider{
      gap: 2px;
  }
  .slider .buy{
      border-radius: 20px;
      margin: 0px;
      padding: 4px;
      color: black;
  }
  
  .slide .caption {
      position: absolute;
      left: 0;
      bottom: 5%;
      font-size: 10px;
      color: white;
      display: flex;
      gap: 1px;
      padding: 1rem 1rem;
      border-radius: 0 2rem 2rem 0;
    }
    footer{
      padding-left: 5%;
      padding-right: 5%;
  } 
}