@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Roboto:wght@100;300;400;500&display=swap');

html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
}

ul {
  list-style: none;
}
nav {
  background: #111;
  color: white;
  padding: 20px 50px;
}
.navTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search {
  display: flex;
  align-items: center;
  background: grey;
  padding: 10px 20px;
  border-radius: 10px;
}
.searchInput {
  border: none;
  background: transparent;
}
.searchInput::placeholder {
  color: lightgray;
}
.limitedOffer {
  font-size: 20px;
  border-bottom: 2px solid green;
  cursor: pointer;
}

.navBottom {
  display: flex;
  align-items: center;
  justify-content: center;
}
.menuItem {
  margin-right: 50px;
  cursor: pointer;
  color: lightgray;
  font-weight: 400;
  padding-top: 20px;
}

.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%);
  overflow: hidden;
}

.sliderWrapper {
  display: flex;
  width: 500vw;
  transition: all 1.5s ease-in-out;
}

.sliderItem {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sliderBg {
  width: 750px;
  height: 750px;
  border-radius: 50%;
  position: absolute;
}

.sliderImg {
  z-index: 1;
}

.sliderTitle {
  position: absolute;
  top: 30%;
  right: 10%;
  font-size: 60px;
  font-weight: 900;
  text-align: center;
  color: white;
  z-index: 1;
}

.sliderPrice {
  position: absolute;
  top: 30%;
  left: 10%;
  font-size: 60px;
  font-weight: 300;
  text-align: center;
  color: white;
  border: 1px solid gray;
  z-index: 1;
}

.buyButton {
  position: absolute;
  top: 70%;
  right: 12%;
  font-size: 30px;
  font-weight: 900;
  color: white;
  border: 1px solid gray;
  background-color: black;
  z-index: 1;
  cursor: pointer;
  padding: 5px 10px;
}

.buyButton:hover {
  background-color: white;
  color: black;
}

.sliderItem:nth-child(1) .sliderBg {
  background-color: #369e62;
}
.sliderItem:nth-child(2) .sliderBg {
  background-color: rebeccapurple;
}
.sliderItem:nth-child(3) .sliderBg {
  background-color: teal;
}
.sliderItem:nth-child(4) .sliderBg {
  background-color: cornflowerblue;
}
.sliderItem:nth-child(5) .sliderBg {
  background-color: rgb(124, 115, 80);
}


.sliderItem:nth-child(1) .sliderPrice {
  color: #369e62;
}
.sliderItem:nth-child(2) .sliderPrice {
  color: white;
}
.sliderItem:nth-child(3) .sliderPrice {
  color: teal;
}
.sliderItem:nth-child(4) .sliderPrice {
  color: cornflowerblue;
}
.sliderItem:nth-child(5) .sliderPrice {
  color: cornsilk;
}

.features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
}
.feature {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

.featureImg {
  width: 50px;
  height: 50px;
}
.featureTitle {
  font-size: 20px;
  font-weight: 600;
  margin: 20px;
}
.featureDescription {
  color: grey;
  width: 50%;
  height: 50px;
}

.product{
height: 100vh;
background: whitesmoke;
position: relative;
clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}
.productImg {
  width: 50%;
  
} 
.productDetails {
  position: absolute;
  top: 10%;
  right: 0;
  width: 40%;
  padding:50px;
}
.productTitle {
  font-size: 75px;
  font-weight: 900;
}
.productDesc {
  font-size: 24px;
  color: grey;
  padding: 20px 0;
}
.colors, .sizes {
  display: flex;
  margin-bottom: 20px;
}
.color {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: black;
  margin-right: 10px;
  cursor: pointer;
}
.color:last-child {
  background: darkblue;
}
.size {
  padding: 5px 20px;
  border: 1px solid black;
  margin-right: 10px;
  cursor: pointer;
  font-size: 20px;
}
.productBtn {
  float: right;
  padding: 10px 20px;
 background: black;
  color: white;
  font-weight: 600;
  cursor: pointer;
}
.productBtn:hover {
  background: white;
  color: black;
}
.payment {
  width: 500px;
  height: 580px;
  background: white;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  padding: 10px 50px;
  display: none;
  flex-direction: column;
  -webkit-box-shadow: 0px 0px 27px -3px rgba(0,0,0,0.87); 
box-shadow: 0px 0px 27px -3px rgba(0,0,0,0.87);

}
.payTitle {
  font-size: 20px;
  color: rgb(121, 121, 121);
  padding-bottom: 10px;
}
label {
  font-size: 14px;
  font-weight: 300;
}
.payInput {
  padding: 20px;
  margin: 10px 0;
  border: none;
  border-bottom: 1px solid grey;
}
.payInput::placeholder {
  color: rgb(163, 163, 163);
}

.cardIcons {
  display: flex;

}
.cardIcon {
  margin-right: 10px;
}
.cardInfo {
  display: flex;
  justify-content: space-between;
}
.sm {
  width: 30%;
}
.payBtn {
  position: absolute;
  height: 40px;
  bottom: -40px;
  width: 100%;
  left: 0;
  -webkit-box-shadow: 0px 0px 27px -3px rgba(0,0,0,0.87); 
box-shadow: 0px 0px 27px -3px rgba(0,0,0,0.87);
background: #369e62;
border: none;
color: white;
cursor: pointer;
}
.close {
  width: 20px;height: 20px;position: absolute;
  background: rgb(130, 130, 130);
  color: white;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
}
.gallery {
  padding: 50px;
  display: flex;
}
.galleryItem {
 flex: 1;
 padding: 50px;
}
.galleryImg {
  width: 100%;
}
.galleryTitle {
  padding: 20px 0;
}

.newSeason {
  display: flex;

}
.nsItem {
  flex: 1;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}
.nsImg {
  width: 100%;
  height: 700px;
}
.nsTitle {
  font-size: 40px;
  padding: 20px 0;
}
.nsButton {
  padding: 20px;
  margin-top: 40px;
  font-weight: 600;
  cursor: pointer;
}
.nsTitleSm {
  font-weight: 300;
}
footer {
  display: flex;
}
.footerLeft {
  flex: 2;
  display: flex;
  justify-content: space-between;
  padding: 50px;
}
.footerRight {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.fMenuTitle {
  font-size: 16px;
  margin-bottom: 20px;
}
.fList {
padding: 0;
}
.fListItem {
  margin: 10px 0;
  color: grey;
  cursor: pointer;
}

.fButton {
padding: 5px;
background: black;
color: white;
}
.fInput {
  padding: 5px;
}
.fIcons {
  display: flex;
}
.fIcon {
  width: 20px;
  height: 20px;
  margin-right: 20px;
}
.copiright {
  font-weight: 300;
  font-size: 14px;
}
@media screen and (max-width:480px){
  nav {
    padding: 20px;

  }
  .search {
    display: none;
  }
  .menuItem {
    margin: 20px;
    font-weight: 700;
    font-size: 20px;
  }
  .navBottom {
    flex-wrap: wrap;
  }
  .slider {
    clip-path: none;
  }
  .sliderImg {
    width: 90%;
  }
  .sliderBg {
    width: 100%;
    height: 100%;
  }
  .sliderTitle {
    display: none;
  }
  .sliderPrice {
    top: unset;
    bottom: 0;
    left: 0;
    background: lightgrey;
    border: none;
  }
  .buyButton {
    right: 0;
    top: 0;
  }
  .features {
    flex-direction: column;
    padding: 30px;
  }
  .feature {
    margin-bottom: 20px;
  }
  .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;
  }
  .productImg {
    width: 80%;
    
  }
  .productDesc {
    font-size: 14px;
  }
.gallery {
  display: none;
}
.newSeason {
  flex-direction: column;
  margin-top: 60%;
}
.nsImg {
  height: 600px;
}
.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: whitesmoke;
}
.payment {
  width: 90%;
  padding: 20px;
}
}