@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
}


/* Pre Loader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #ffffff;
}

.preloader .loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font: 14px arial;
}

/* Navbar */

header {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    /* background-color: #f8f8f8; */
    z-index: 999;
}


.logo img {
    height: 10vh;
    padding-left: 2rem;
}

.nav-links {
    display: none;
}

.nav-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu styles for mobile */

.menu {
    opacity: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background: #464444;
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.menu.-open {
    opacity: 0.9;
    transform: translateY(0);
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 20px 0;
}

/* Button styles */
.button {
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.5s ease;
}

.button svg {
    stroke: #000;
    transition: stroke 0.5s ease;
}

.button svg g:first-child {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.button svg g:first-child line {
    transition: transform 0.2s ease;
    transform: translateY(0px);
}

.button svg g:last-child {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.button svg g:last-child line {
    transition: transform 0.2s ease;
    transform: rotate(0deg);
    transform-origin: center;
}

.button.-menu-open svg {
    stroke: #000000;
    /* position: relative; */
    z-index: 1000;
}

.button.-menu-open svg g:first-child {
    opacity: 0;
    z-index: 1000;
}

.button.-menu-open svg g:first-child line {
    transition: transform 0.2s ease;
}

.button.-menu-open svg g:first-child line:first-child {
    transform: translateY(7px);
}

.button.-menu-open svg g:first-child line:last-child {
    transform: translateY(-7px);
}

.button.-menu-open svg g:last-child {
    opacity: 1;
    z-index: 1000;
}

.button.-menu-open svg g:last-child line:first-child {
    transform: rotate(45deg);
}

.button.-menu-open svg g:last-child line:last-child {
    transform: rotate(-45deg);
}

/* Responsive styles */
@media (min-width: 768px) {
    .button {
        display: none;
    }

    .menu {
        display: none;
    }

    .nav-links {
        display: block;
    }
}

@media (max-width: 767px) {
    .button {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .logo img {
        height: 8vh;
        padding-left: 0;
    }
}

/* Back to Top Button */

.container {
    display: flex;
    justify-content: center;
    width: auto;
}

.progress-wrap {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f062';
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    color: #1f2029;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.lightScrollIcon::after {
    color: #ecedf3 !important;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f062';
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    opacity: 0;
    background-image: linear-gradient(298deg, #757777, #353434);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Add the standard property */
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #1f2029;
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}


/* carousel */

.carousel {
    width: 100vw;
    height: 100vh;
    /* margin-top: -50px; */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.carousel .list .item {
    width: 180px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3) {
    left: 67%;
}

.carousel .list .item:nth-child(4) {
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5) {
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6) {
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7) {
    left: calc(67% + 800px);
    opacity: 0;
}

.list .item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
    color: #0b9e7e;
    display: none;
}

.list .item:nth-child(2) .content {
    display: block;
}

.content .title {
    font-size: 100px;
    text-transform: uppercase;
    color: #000000c5;
    font-weight: bold;
    line-height: 1;

    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name {
    font-size: 100px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(10, 221, 158, 0.8);

    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn {
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #0b9e7e;
}

.content .btn button:nth-child(1) {
    margin-right: 15px;
}

.content .btn button:nth-child(2) {
    background: transparent;
    color: #000000c5;
    border: 2px solid #0b9e7e;
    transition: 0.3s;
}

.content .btn button:nth-child(2):hover {
    background-color: #000000c5;
    color: #0b9e7e;
    border-color: #000000c5;
}


@keyframes animate {

    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* next prev arrows */
.arrows {
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #000000c5;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover {
    background: #fff;
    color: #000;
}


/* time running */
.carousel .timeRunning {
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: #000000c5;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {

    from {
        width: 0%;
    }

    to {
        width: 100%;
    }

}


/* Responsive Design */

@media screen and (max-width: 999px) {

    header {
        padding-left: 50px;
    }

    .list .item .content {
        left: 50px;
    }

    .content .title,
    .content .name {
        font-size: 70px;
    }

    .content .des {
        font-size: 16px;
    }

}

@media screen and (max-width: 690px) {
    header nav a {
        font-size: 14px;
        margin-right: 0;
    }

    .list .item .content {
        top: 40%;
    }

    .content .title,
    .content .name {
        font-size: 45px;
    }

    .content .btn button {
        padding: 10px 15px;
        font-size: 14px;
    }
}


/* Spotlight Section */

/* shoee pictures */

.shoe {
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 300px inset, 0 0 5px grey;
    transition: box-shadow 1s;
    margin: 10px 0;
    background-size: cover;
    background-position: center;
}

.shoe::after {
    width: 80%;
    height: 80%;
    display: flex;
    white-space: pre;
    font: 5vw 'Sigmar One', cursive;
    color: white;
    border: 2px solid;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: opacity 1s .5s;
}

.shoe:hover {
    box-shadow: 0 0 0 5px inset, 0 0 5px grey, 0 0 10px grey inset;
}

.shoe:hover::after {
    opacity: 0;
    transition: opacity .5s;
}

#air-jordan {
    background-image: url(https://static.nike.com/a/images/f_auto/dpr_1.0,cs_srgb/h_594,c_limit/2d16fd38-f931-4ea7-8e9f-e39322c50186/nike-just-do-it.jpg);
    color: rgba(245, 16, 16, 0.87);
}

#air-jordan::after {
    content: 'Air Jordan 1';
    font-family: "Poppins", sans-serif;
    font-size: 5vh;
}

#dunk {
    background-image: url(https://static.nike.com/a/images/f_auto/dpr_2.0,cs_srgb/h_600,c_limit/023cd51d-143f-4242-8845-4f52eaa89cc6/nike-just-do-it.jpg);
    color: rgba(221, 86, 63, .9);
}

#dunk::after {
    content: 'Dunk';
    font-family: "Poppins", sans-serif;
    font-size: 5vh;
}

#blazer {
    background-image: url(https://static.nike.com/a/images/f_auto/dpr_2.0,cs_srgb/h_600,c_limit/618f306d-5c1a-4b42-8b0a-77650c1928de/nike-just-do-it.jpg);
    color: rgba(0, 0, 0, 0.9);
}

#blazer::after {
    content: 'Blazer';
    font-family: "Poppins", sans-serif;
    font-size: 5vh;
}

#air-force-1 {
    background-image: url(https://static.nike.com/a/images/f_auto/dpr_2.0,cs_srgb/h_600,c_limit/73c4a613-c354-4bd5-9df8-e0cc7705c467/nike-just-do-it.jpg);
    color: rgba(179, 152, 98, .9);
}

#air-force-1::after {
    content: 'Air Force 1';
    font-family: "Poppins", sans-serif;
    font-size: 5vh;
}

#wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.spotlight {
    font-family: 'Helvetica', sans-serif;
    margin: 2rem 0;
    text-align: center;
}

.spotlight h1 {
    font-size: 8vw;
}

@media screen and (min-width: 768px) {
    #wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .shoe::after {
        font-size: 3vw;
    }

    .spotlight h1 {
        font-size: 6vw;
    }
}

@media screen and (min-width: 1024px) {
    .shoe {
        width: 594px;
        height: 480px;
        padding-bottom: 0;
    }

    #wrapper {
        width: 90%;
        max-width: 1200px;
        margin: auto;
    }

    .shoe::after {
        font: 15pt 'Sigmar One';
    }

    .spotlight {
        margin-left: 4.4rem;
        margin-top: 3rem;
        text-align: left;
    }

    .spotlight h1 {
        font-size: 4vw;
    }
}

/* Marquee */

.spotlight-marquee {
    margin-left: 4.4rem;
    margin-top: 3rem;
    display: flex;
}

.spotlight-marquee img {
    height: 50px;
}

.spotlight-marquee h1 {
    font-size: 5vw;
    margin-left: 10px;
}

.marquee {
    height: 100%;
    width: 100%;
    display: flex;
    margin: auto;
    overflow: hidden;
    user-select: none;
}

.marquee__content {
    flex-shrink: 0;
    display: flex;
}

.marquee__item {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 33vw;
    height: 33vw;
}



/* VIDEO */

.video-list {
    margin-top: 20px;
    position: relative;
}

.nike {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(252, 251, 251, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
}

.nike:hover {
    opacity: 1;
    cursor: pointer;
}

.nike h1 {
    font-size: 60px;
    color: #000;
    margin-bottom: 15px;
}

.text {
    font-size: 40px;
    color: #000;

}

.nike>* {
    transform: translateY(500px);
    transition: transform 0.6s;
}

.nike:hover>* {
    transform: translateY(0px);
}

.video {
    height: 100%;
    margin: auto;
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    /* overflow: hidden; */
    /* display: block; */
    margin: auto;
}

@media screen and (max-width:780px) {
    .video {
        height: 100vh;
        width: 100vw;
        margin-top: -320px;
        margin-bottom: -300px;
    }
}

/* IMAGE AND SHOES */

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

.productDesc {
    font-style: 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;
}

.features {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
}

.feature {
    /* margin-bottom: 50px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* z-index: -10; */
}

.featureIcon {
    width: 50px;
    height: 50px;
}

.featureTitle {
    font-size: 20px;
    font-weight: 600;
    margin: 20px;
}

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

@media screen and (max-width:480px) {

    .product {
        clip-path: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
    }

    .productImg {
        width: 80%;
    }

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

    .features {
        flex-direction: column;
    }

}


/* AUTO SCROLLER */

@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-250px * 7));
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-250px * 7));
        transform: translateX(calc(-250px * 7));
    }
}

.slider {
    background: transparent;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 40vh;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100vw;
    z-index: 100;
    margin-top: 10px;
    /* margin-bottom: 50px; */
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slide img {
    height: 120px;
    width: 120px;
}

.slider .slide-track {
    -webkit-animation: scroll 40s linear infinite;
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slider .slide {
    margin-top: -80px;
    height: 100px;
    width: 250px;
}

@media screen and (max-width: 768px) {
    .slider {
        height: 20vh;
        margin-bottom: 30px;
    }

    .slide img {
        height: 80px;
        width: 80px;
    }

    .slider .slide {
        height: 80px;
        width: 150px;
        margin-top: -40px;

    }

    .slider .slide-track {
        width: calc(150px * 14);
    }

}

/* New Section */

.newSeason {
    margin-top: 5px;
    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: 40px;
}

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


/* Footer */

.footer {
    width: 100%;
    overflow: hidden;
    /* background: #000; */
    padding: 30px 0px;
    font-family: 'Play', sans-serif;
    text-align: center;
}

.footer .row {
    width: 100%;
    margin: 1% 0%;
    padding: 0.6% 0%;
    color: rgb(10, 0, 0);
    font-size: 0.8em;
}

.footer .row a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    transition: 0.5s;
}

.footer .row a:hover {
    color: grey;
}

.footer .row ul {
    width: 100%;
}

.footer .row ul li {
    display: inline-block;
    margin: 0px 30px;
}

.footer .row a i {
    font-size: 2em;
    margin: 0% 1%;
}

@media (max-width:720px) {
    .footer {
        text-align: left;
        padding: 5%;
    }

    .footer .row ul li {
        display: block;
        margin: 10px 0px;
        text-align: left;
    }

    .footer .row a i {
        margin: 0% 3%;
    }
}

footer {
    display: flex;
    justify-content: center;
}