html {
  scroll-behavior: smooth;
}
body {
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
}
nav {
  background-color: #111;
  color: #fff;
  padding: 20px 50px;
}
.navTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search {
  display: flex;
  align-items: center;
  background: gray;
  padding: 10px 20px;
  border-radius: 10px;
}
.searchInput {
  border: none;
  background-color: transparent;
}
.searchInput::placeholder {
  color: #ccc;
}
.limitedOffer {
  font-size: 20px;
  border-bottom: 2px green solid;
  cursor: pointer;
}
.navBottom {
  display: flex;
  align-items: center;
  justify-content: center;
}
.menuItem {
  margin-right: 50px;
  cursor: pointer;
  color: lightgray;
  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%);
  overflow: hidden;
}
.sliderWrapper {
  display: flex;
  width: 500vw;
  transition: all 450ms ease-in-out;
}
.sliderItem {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sliderImg {
  z-index: 1;
}
.sliderBg {
  width: 750px;
  height: 750px;
  position: absolute;
  border-radius: 50%;
}
.sliderTitle {
  z-index: 1;
  position: absolute;
  color: #fff;
  top: 10%;
  right: 10%;
  font-size: 60px;
  font-weight: 900;
  text-align: center;
}
.sliderPrice {
  z-index: 1;
  position: absolute;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  top: 10%;
  left: 10%;
  font-size: 60px;
  font-weight: 300;
  text-align: center;
  border: 1px solid #ccc;
}
.buyButton {
  z-index: 1;
  position: absolute;
  color: #fff;
  top: 50%;
  right: 10%;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  border: 1px solid #ccc;
  background-color: #000;
  cursor: pointer;
}
.buyButton:hover {
  color: #000;
  background-color: #fff;
}
.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: cornsilk;
}
.sliderItem:nth-child(1) .sliderPrice {
  color: #369e62;
}
.sliderItem:nth-child(2) .sliderPrice {
  color: rebeccapurple;
}
.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;
}
.featureIcon {
  width: 50px;
  height: 50px;
}
.featureTitle {
  font-size: 20px;
  font-weight: 600;
  margin: 15px;
}
.featureDescription {
  color: 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%;
  right: 0;
  width: 40%;
  padding: 50px;
}
.productTitle {
  font-size: 75px;
  font-weight: 900;
}
.productDescription {
  font-size: 18px;
  color: gray;
}
.colors,
.sizes {
  display: flex;
  margin-bottom: 20px;
}
.color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #000;
  margin: 10px;
  cursor: pointer;
}
.color:last-child {
  background-color: darkblue;
}

.size {
  padding: 5px 20px;
  border: 1px solid gray;
  margin-right: 10px;
  font-size: 20px;
  cursor: pointer;
}

.productButton {
  float: right;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.productButton:hover {
  background-color: #fff;
  color: #000;
}

.payment {
  position: absolute;
  background-color: #fff;
  width: 500px;
  height: 500px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 10px 50px;
  display: none;
  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);
}
.payTitle {
  font-size: 22px;
  color: #ccc;
}
label {
  font-size: 16px;
  font-weight: 300;
}
.payInput {
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-bottom: 1px solid #ccc;
}
.sm {
  width: 30%;
}
.payButton {
  position: absolute;
  height: 40px;
  bottom: -40px;
  width: 100%;
  left: 0;
  background-color: green;
  color: white;
  border: none;
  cursor: pointer;
  -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);
}
.payButton:hover {
  -webkit-box-shadow: inset 0px 0px 5px 1px #000000;
  box-shadow: inset 0px 0px 5px 1px #000000;
}
.payInput::placeholder {
  color: #aaa;
}
.cardIcons {
  display: flex;
}
.cardIcon {
  width: 40px;
  margin-right: 10px;
}
.cardInfo {
  display: flex;
  justify-content: space-between;
}
.close {
  position: absolute;
  top: 10;
  right: 10;
  color: white;
  width: 20px;
  height: 20px;
  background-color: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.close:hover {
  background-color: black;
}

.gallery {
  display: flex;
  padding: 50px;
}
.galleryItem {
  flex: 1;
  padding: 50px;
}
.galleryImg {
  width: 100%;
}

.newSeason {
  display: flex;
}
.nsTitle {
  font-size: 40px;
}
.nsItem {
  flex: 1;
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nsImg {
  width: 100%;
  height: 500px;
}
.nsButton {
  padding: 15px;
  font-weight: 600;
  cursor: pointer;
}
footer {
  display: flex;
}
.fMenuTitle {
  font-size: 16px;
}
.fMenuList {
  padding: 0;
  list-style: none;
}
.fListItem {
  margin-bottom: 10px;
  color: gray;
  cursor: pointer;
}
.footerLeft {
  flex: 2;
  display: flex;
  justify-content: space-between;
  padding: 50px;
}
.footerRight {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fInput {
  padding: 5px;
}
.fButton {
  padding: 5px;
  background-color: #000;
  color: #fff;
}
.fIcons {
  display: flex;
}
.fIcon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}
.copyright {
  font-size: 14px;
  font-weight: 300;
}

@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 {
    margin: 0;
    top: unset;
    bottom: 0;
    left: 0;
  }
  .buyButton {
    top: 0;
    bottom: unset;
    right: 0;
  }
  .features {
    flex-direction: column;
  }
  .product {
    clip-path: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .productImg {
    width: 80%;
  }
  .productDetails {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    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 {
    align-items: center;
    padding: 20px;
    width: 90%;
    background-color: whitesmoke;
  }
  .fMenuTitle{
    text-align: center;
  }
  .payment{
    width: 90%;
    padding: 20px;
  }
}
