html {
  scroll-behavior: smooth;
}

body {
  font-family: "Teko", sans-serif;
  margin: 0;
  padding: 0;
  /* font-size:large ;*/
}
nav {
  background-color: black;
  padding: 20px 50px;
  color: white;
}
.navTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search {
  display: flex;
  align-items: center;
  background-color: grey;
  padding: 10px 20px;
  border-radius: 10px;
  
}
.searchInput {
  border: none;
  background: transparent;
}
.searchInput::placeholder {
  color: lightgrey;
}
.limitedOffer {
  font-size: 20px;
  border-bottom: 2px solid gold;
  cursor: pointer;
}
.navBottom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
 
}
.menuItem {
  margin-right: 50px;
  cursor: pointer;
  color: lightgrey;
  font-weight: 400;
}
.slider {
  background: url("https://images.unsplash.com/photo-1604147495798-57beb5d6af73?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2370&q=80");
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 85%
  ); /*made using css -clip path maker on google helps you to create custome shapes.*/
  overflow: hidden;
}
.sliderWrapper {
  display: flex;
  width: 500vw;
  transition: all 1s ease-in-out;
}
.sliderItem {
  display: flex;
  width: 100vw;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sliderTitle {
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 60px;
  font-weight: 900;
  text-align: center;
  color: rgb(209, 204, 204);
  z-index: 1;
}
.sliderPrice {
  position: absolute;
  top: 10%;
  left: 10%;
  font-size: 60px;
  font-weight: 300;
  text-align: center;
  color: whitesmoke;
  z-index: 1;
  /*border: 1px solid gray;*/
}
.sliderBg {
  width: 750px;
  height: 750px;
  border-radius: 50%;
  position: absolute;
}
.sliderImg {
  z-index: 1;
}

.buyButton {
  position: absolute;
  top: 50%;
  right: 10%;
  font-size: 19px;
  font-weight: 900;
  color: white;
  border: 1px solid grey;
  background-color: black;
  z-index: 1;
  cursor: pointer;
  size: 30vh;      /*vh: viewport width  that way the text-size will follow the size of the browser window.*/
}
.buyButton:hover {
  background-color: lightyellow;
  color: black;
}

.sliderItem:nth-child(1) .sliderBg {
  background-color: #d61263;
}
.sliderItem:nth-child(2) .sliderBg {
  background-color: rebeccapurple;
}
.sliderItem:nth-child(3) .sliderBg {
  background-color: rgba(170, 235, 18, 0.996);
}
.sliderItem:nth-child(4) .sliderBg {
  background-color: cornflowerblue;
}
.sliderItem:nth-child(5) .sliderBg {
  background-color: rgb(245, 165, 27);
}

.sliderItem:nth-child(1) .sliderPrice {
  color: #cad1cd;
}
.sliderItem:nth-child(2) .sliderPrice {
  color: white;
}
.sliderItem:nth-child(3) .sliderPrice {
  color: rgb(161, 56, 7);
}
.sliderItem:nth-child(4) .sliderPrice {
  color: rgb(163, 82, 82);
}
.sliderItem:nth-child(5) .sliderPrice {
  color: cornsilk;
}
.features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
}
.feature {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.featureIcon {
  width: 50px;
  height: 50px;
}
.featureTitle {
  font-size: 20px;
  font-weight: 600;
  margin: 20px;
}

.featureDesc{
  color:light gray;
  width: 50%;
  height: 100px;
}

.product {
  height:100vh;
  background-color: whitesmoke;
  position:relative;
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
}
.productImg{
  width:50%
}
.productDetails{
  position:absolute;
  top:10%;
  width:40%;
  padding:50px;
  right:0;
}
.productTitle {
  font-size:75px;
  font-weight: 900;
  color: gold;
}
.productDesc{
  font-size: 25px;
  color:rgb(155, 119, 119);
}
.colors,
.sizes {
  display:flex;
  margin-bottom: 20px;
}
.color{
  width:32px;
  height:32px;
  border-radius:5px;
  background-color: black;
  margin-right: 10px;
  cursor:pointer;
}
.color:last-child {
  background-color: darkblue;;
}
.size{
  border: 1px solid black;
  margin-right: 10px;
  cursor:pointer;
  font-size: 20px;
  padding: 5px 20px;
}
.productButton{
  float:right;
  padding: 10px 15px;
  background-color: black;
  font-weight: 600;
  cursor:pointer;
  color:white;
}
.productButton:hover {
  background-color: white;
  color:black;
}

.payment{
  width:500px;
  height:500px;
  background-color: white;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
  padding: 10px 50px;
  display:flex;
  flex-direction:column;
  -webkit-box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.3);  /*code written using css box shadow generator website.*/

}

.payTitle{
  font-size:20px;
  color:rgb(27, 2, 2);
}

.payInput {
  padding:10px;
  margin: 10px 0px;
  border:none;
  border-bottom: 1px solid gray;
}

.payInput ::placeholder {
  color: rgb(163,163,163);
}
.cardIcons {
  display:flex;
}
.cardIcon{
  margin-right: 10px;
}
.cardInfo {
  display: flex;
  justify-content: space-between;
}

.sm {
  width: 30%;
}
.payButton {
  position:absolute;
  height:40px;
  bottom: -40px;
  width: 100%;
  left: 0;
  -webkit-box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.3);
  background-color: #369e62;
  color:white;
  border:none;
  cursor:pointer;


}
.close{
  width: 20px;
  height:20px;
  position:absolute;
  background-color:gray;
  color:white;
  top:10px;
  right:10px;
  display:flex;
  align-items:center;
  justify-content: center;
  cursor: pointer;
  padding:2px;
}
.label{
  font-size: 16px;
  font-weight: 350;
}

.gallery{
  padding:50px;
  display: flex;;
}
.galleryItem{
  flex:1;
  padding:50px;
}
.galleryImg{
  width:100%;
}

.newSeason{
  display: flex;
}
.nsItem{
  flex:1;
  background-color:black;
  color:white;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.nsImg{
  width:100%;
  height:500px;
}
.nsTitle{
  font-size: 30px;
}

.nsButton{
  padding:15px;
  font-weight: 600;
  cursor:pointer;
}
.nsItem:nth-child(2) {
  padding: 50px;
}
footer{
  display: flex;
}
.footerLeft{
  flex:2;
  display:flex;
  justify-content: space-between;
  padding: 50px;
}
.fMenuTitle{
  font-size:16px;
}
.fList{
  padding:0;
}
.fListItem{
  margin-bottom:10px;
  color:goldenrod;
  cursor:pointer;
}
.footerRight{
  flex:1;
  padding:50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fInput{
  padding:5px;
}
.fButton{
  padding:5px;
  background-color: black;
  color: white;
}
.fIcons{
  display: flex;
}
.fIcon{
  width:20px;
  height:20px;
  margin-right: 10px;
}
.copyright{
  font-weight: 300;
  font-size: 24px;
}

@media screen and (max-width:480px) {
  nav {
    padding: 20px;
    
  }
  .search{
    display: none;
  }
  .navBottom{
    flex-wrap: wrap;
  }
  .menuItem{
    margin:20px;
    font-weight: 700;
    font-size: 20px;
  }
  .slider{
    clip-path: none;
  }
  .sliderImg{
    width:90%;
  }
  .sliderBg{
    width:100%;
    height:100%;
  }
  .sliderTitle{
    display: none;
  }
  .sliderPrice{
    top:unset;
    bottom:-50;
    left:0;
    background-color: lightgray;
  }
  .buybutton{
    right:0;
    top:0;
  }
  .features{
    flex-direction: column;
  }
  .product{
    clip-path:none;
    display:flex;
    flex-direction:column;
    align-items: center;
  }
  .productDetails{
    width:100%;
    padding:0;
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    top: 0;
  }

  .productTitle{
    font-size: 50px;
    margin: 0;
  }
  .gallery{
    display: none;
  }
  .newSeason{
    flex-direction: column;
  }
  .nsItem:nth-child(2){
    padding:50px;
  }
  footer{
    flex-direction: column;
    align-items:center;
  }
  .footerLeft{
    padding:20px;
    width:90%;
  }
  .footerRight{
    padding:20px;
    width:90%;
    align-items: center;
    background-color: whitesmoke;
  }
  .payment{
    width:90%;
    padding: 20px;
  }

  
}

