html {
    scroll-behavior: smooth;
}

body{
        font-family: "Lato", sans-serif;
        padding: 0;
        margin: 0;      
}

nav {
    background-color: #000;
    color: #fff;
    padding: 20px 50px;
}

.navTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search {
    display: flex;
    align-items: center;
    background-color: gray;
    padding: 10px 20px;
    border-radius: 10px;
}

.searchInput{
    border:none;
    background-color: 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;
}

.slider {
    background:url("https://images.unsplash.com/photo-1550039120-5d6529f0c4de?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0 85%);
    min-height: calc(100vh - 200px);
    overflow: hidden;

}

.sliderWrapper {
    display: flex;
    width: 500vw;
    transition: all 1s ease-in-out;
}

.sliderItem {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sliderBg {
    width: 750px;
    height: 750px;
    border-radius: 50%;
    /* background-color: yellow; */
    position: absolute;
}

.sliderImg {
    z-index: 1;
    /* width: 800px; */
}

.sliderTitle {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 60px;
    font-weight: 900;
    text-align: center;
    color: white;
    z-index: 1;
}

.sliderPrice {
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    color: white;
    border: solid 1px gray;
    z-index: 1;
}

.buyButton {
    position: absolute;
    top: 50%;
    right: 10%;
    font-size: 30px;
    font-weight: 900;
    color: white;
    border: solid 1px gray;
    cursor: pointer;
    background-color: black;
    z-index: 1;
}

.buyButton:hover {
    background-color: white;
    color: black;
}

.sliderItem:nth-child(1) .sliderBg {
    background-color: seagreen;
}

.sliderItem:nth-child(2) .sliderBg {
    background-color: purple;
}

.sliderItem:nth-child(3) .sliderBg {
    background-color: darkolivegreen;
}

.sliderItem:nth-child(4) .sliderBg {
    background-color: firebrick;
}

.sliderItem:nth-child(5) .sliderBg {
    background-color: orange;
}

.sliderItem:nth-child(1) .sliderPrice {
    color: seagreen;
}

.sliderItem:nth-child(2) .sliderPrice {
    color: purple;
}

.sliderItem:nth-child(3) .sliderPrice {
    color: darkolivegreen;
}

.sliderItem:nth-child(4) .sliderPrice {
    color: firebrick;
}

.sliderItem:nth-child(5) .sliderPrice {
    color: orange;
}

.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: 20px;
}

.featureDesc {
    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%);
}

.payment {
    width: 500px;
    height: 500px;
    background-color: white;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin:auto;
    padding: 10px 50px;
    display: none;
    flex-direction: column;
    box-shadow: 8px 6px 25px -7px rgba(0,0,0,0.81);
-webkit-box-shadow: 8px 6px 25px -7px rgba(0,0,0,0.81);
-moz-box-shadow: 8px 6px 25px -7px rgba(0,0,0,0.81);
}

.payTitle {
    font-size: 20px;
    color: gray;
}

label {
    font-size: 16px;
    font-weight: 300;
}

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

.payInput::placeholder {
    color: gray;
}

.cardIcons {
    display: flex;
}
.cardIcon {
    margin-right: 10px;
}
.cardInfo {
    display: flex;
    justify-content: space-between;
}

.payInput.sm {
    width: 30%;
}

.payButton {
    position: absolute;
    height: 40px;
    bottom: -40px;
    width: 100%;
    left: 0;
    background-color: #369e62;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 8px 6px 25px -7px rgba(0,0,0,0.81);
-webkit-box-shadow: 8px 6px 25px -7px rgba(0,0,0,0.81);
-moz-box-shadow: 8px 6px 25px -7px rgba(0,0,0,0.81);
}

.close {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 0;
    top: 0;
    font-size: 20px;
    cursor: pointer;
    color: #369e62;
}

.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: gray;
}

.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 {
    padding: 5px 20px;
    border: 1px solid black;
    margin-right: 10px;
    cursor: pointer;
    font-size: 20px;
}

.productButton {
    float: right;
    padding: 10px 20px;
    background-color: black;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.productButton:hover {
    background-color: white;
    color: black;
}


.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;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.nsImg {
    width: 100%;
    height: 500px;
}

.nsTitle {
    font-size: 40px;
}

.nsButton {
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
}

footer {
    display: flex;
}

.footerLeft {
    flex: 2;
    display: flex;
    justify-content: space-between;
    padding: 50px;
}

.fMenuTitle {
    font-size: 20px;
}

.fMenuList {
    padding: 0;
    list-style: none;
}

.fListItem {
    margin-bottom: 10px;
    color: gray;
    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: 14px;
}


@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: 0;
        left: 0;
        background-color: lightgray;
    }
    h2.sliderPrice {
        margin: 0;
        padding: 0;
    }

    .buyButton {
        bottom: 0;
        right: 0;
        top: unset;
    }

    .features {
        
        flex-direction: column;
    }

    .product {
        clip-path: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
    }

    .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%;
    }

    .gallery {
        display: none;
    }

    .newSeason {
        flex-direction: column;
    }

    .nsItem:nth-child(2) {
        padding: 50px;
    }

    .nsImg {
        height: 250px;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .footerLeft{
        width: 90%;
        padding: 20px;
    }
    .footerRight{
        width: 90%;
        padding: 20px;
        align-items: center;
        background-color: whitesmoke;
    }
    
    .payment {
        width: 90%;
        padding: 20px;
    }
}