
*{
    font-family: 'Roboto',sans-serif;
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}
html::-webkit-scrollbar-track{
    background:transparent;
}
html::-webkit-scrollbar{
    width:1rem;

}
html::-webkit-scrollbar-thumb{
    background:#474646;
}

section{
    padding:3rem 9%;
}

.heading{
    text-align:center;
    color: #222;
    margin-bottom: 3rem;
    font-size: 4rem;
}

/* keyframe */
@keyframes fadeIn {
    0%{
        opacity: 0;
        transform: translateY(-4rem) scale(0.4);
    }
}


/* header section */
.header{
    position:sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 9%;
}
.nike-logo{
    width:40px;
}
.header .logo{
    font-size: 2.5rem;
    color:#e60000;
    font-weight: bolder;
}
.header .logo i{
    color: #e60000;
}

.header .navbar a{
    margin: 0 1.5rem 0 0;
    font-size: 1.7rem;
    color: #222;
    
}
.header .navbar a:hover{
    color: #e60000;
    transform: scale(1.5);
}

.header .icons div,
.header .icons a{
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius:.5rem;
    background:#eee;
    font-size: 1.7rem;
    color: #222;
    text-align: center;
    cursor: pointer;
}

.header .icons a:hover,
.header .icons div:hover{
    background: #e60000;
    color: #fff;
}
.header #menu-btn{
    display: none;
}

/*Shopping-cart */
.shopping-cart {
    margin-left: 10px;
    font-size: 1.4rem;
}

.shopping-cart .sum-prices {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#sum-prices {
    padding-left: 5px;
}

.sum-prices h6 {
    font-size: 0.9rem;
}

.shoppingCartButton {
    cursor: pointer;
}

.shoppingCartButton:hover,
.account:hover * {
    background: #e60000;
    color: #fff;
}

.producstOnCart {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    background-color: #202020;
    width: 300px;
    height: 500px;
    color: #f0f0f0;
    z-index: 15;
    position: fixed;
    top: 20px;
    right: 0;
    text-align: center;
    animation: fade 1s;
}

.producstOnCart::-webkit-scrollbar {
    display: none;
}

@keyframes fade {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: none;
    }
}

.producstOnCart::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.hide {
    display: none;
    visibility: none;
}

.producstOnCart ul {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.producstOnCart .buyItem {
    border-bottom: #aaa 1px solid;
    width: 90%;
    padding: 10px 0;
    display: flex;
}

.producstOnCart img {
    width: 90px;
}

.producstOnCart .top {
    display: flex;
    background-color: #45c78a;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    width: 100%;
}

.top button {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    margin-left: 10px;
    color: #f53c1c;
    cursor: pointer;
}

.top button:hover {
    color: #e40505;
}

.top h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
}

.producstOnCart > .checkout {
    font-size: 0.9rem;
    margin: 20px auto;
    border: none;
    background-color: #297075;
    padding: 10px 20px;
    color: #eee;
    cursor: pointer;
}

.overlay {
    overflow: hidden;
    display: inline-block;
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: rgba(0, 0, 0, 0.5);
}

.stopScrolling {
    height: 100vh;
    overflow: hidden;
}

.buyItem h3 {
    margin-bottom: 10px;
}

.buyItem button {
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 0 6px;
    border: none;
}

.buyItem button:active {
    color: #96c8cc;
}

.buyItem > div {
    padding: 0 20px;
}

.producstOnCart .empty {
    justify-self: center;
    margin: 150px auto;
}

.price {
    color: #dd3333;
    text-align: center;
    padding: 5px;
    font-size: 1rem;
}




/* home */
.home{
    position: relative;
    padding: 0;
}
.home .slide{
    padding:3rem;
    display: flex;
    min-height: 82vh;
    display: none;
}
.home .slide.active {
    display: flex;
}

.home .slide .content{
    margin: 60;
    text-align: left;
    padding-top: 18rem;
}

.home .slide .content span{
    color: #fff;
    display: block;
    font-size: 5rem;
    text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    animation: fadeIn .2s linear backwards;
    text-transform: uppercase;
    letter-spacing: 1rem;
}
.home .slide .content span:hover{
    color:#e60000;
}
.home .slide .content h3{
    font-size:2rem;
    color: #fff;
    text-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    animation: fadeIn .2s linear backwards .4s;
}

.home .slide .content .btn{
    animation: fadeIn .2s linear backwards .6s;
}

.home #next-slide,
.home #prev-slide{
    height:4rem;
    width:4rem;
    line-height: 3.8rem;
    font-size: 2.5rem;
    color:#222;
    border:0.1rem solid #222;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    text-align: center;
}
.home #next-slide:hover,
.home #prev-slide:hover{
    background: #e60000;
    color: #fff;

}
.home #prev-slide{
    right: 8rem;
}


/*btn */
.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,0.7);
    cursor: pointer;
    border: red solid 1px;
}
.btn:hover{
    letter-spacing: .1rem;
    background:#e60000;
    color: #fff;
}
span{
    color: #e60000;
}


/* category */
.category h3{
    text-align: center;
    font-size:2.5rem;
    margin: 1.5rem;
    color: #e60000;
}

.category .box-container,.pramotion .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem,1fr));
    gap:2rem;
}
.category .box-container .box{
    text-align: center;
}
.category .box-container .box h3{
    font-size:1.7rem;
    color: #222;
    font-weight: bolder;
}


.category .box-container .box:hover h3{
    color: #e60000;
}
.category .box-container .box img{
    height:20rem;
    margin-bottom: 1rem;
}
.category .box-container .box img:hover{
    transform: scale(1.2);
}

/* Pramotion */
.collection-card{
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
    padding-block: 45px 25px;
}


/** Product **/
.product-container {
    max-width: 1600px;
    margin: auto;
    width: 88vw;
    position: relative;
}
.main-section h3 {
    font-size: 1.3rem;
    padding: 50px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.product {
    position: relative;
    text-align: center;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
}

.product-under {
    width: 100%;
    height: 100%;
}

.product-over {
    z-index: 10;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    animation-name: show_top;
    animation-duration: 1s;
    backdrop-filter: blur(5px);
}
@keyframes show_top {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-image:hover .product-over {
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    height: 62%;
    background-color: #eee;
}

.product-image img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
}

.product-summary {
    font-size: 2rem;
    position: relative;
    padding: 10px 5px;
    height: 38%;
    
}
.productName {
    margin: 10px 0 10px 0;
}

.product-summary > .price {
    font-size: 2rem;
    font-weight: bolder;
    color: #e60000;
    position: relative;
}

.stars {
    position: relative;
    width: 90px;
    height: 28px;
    display: block;
    margin: auto;
    align-items: center;
    padding: 5px;
}

.stars::after {
    content: "\2605 \2605 \2605 \2605 \2605";
    position: absolute;
    left: 0;
    top: 0;
    width: 65%;
    display: block;
    font-size: 2rem;
    color: #dabd3b;
    overflow: hidden;
}

.stars::before {
    content: "\2606 \2606 \2606 \2606 \2606";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: #7e6c1f;
}
/*product ends */


/* Buttons style */
.btn {
    background-color: #96c8cc;
    padding: 15px 50px 15px 30px;
    color: #141414;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
    position: relative;
}

.btn:active {
    box-shadow: none;
}

.btn > .fa-angle-right {
    font-size: 1.5rem;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.5s;
}

.btn:hover .fa-angle-right {
    font-size: 1.5rem;
    position: absolute;
    right: 20px;
}

.btn i {
    margin: 0 5px;
}

.pop-mobiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pop-mobiles-1 {
    background: linear-gradient(to top, #ebebeb, #fff);
    overflow: hidden;
    width: 100%;
    height: 600px;
    margin-bottom: 30px;
    position: relative;
    padding: 0;
}

.pop-mobiles-1 > figure {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 49%;
}

.pop-mobiles-1 img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
}

.pop-mobiles-1 > div {
    position: absolute;
    right: 10%;
    top: 30%;
    z-index: 10;
    width: 40%;
    height: 100%;
    text-align: left;
}
.pop-mobiles-1 h4 {
    color: rgb(187, 76, 76);
    font-size: 1.2rem;
}

.pop-mobiles-1 h2 {
    /* font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif; */
    font-weight: 900;
    font-size: 1.8rem;
}

.pop-mobiles-1 .btn {
    display: inline-block;
    margin-top: 50px;
    margin: 50px 0;
}

.btn-newMobile {
    background-color: white;
    color: #49989e;
    box-shadow: 3px 3px 5px #4e4e4e;
    z-index: 10;
}

.pop-mobiles-2 {
    width: 55%;
}

.pop-mobiles-2 .products {
    grid-template-columns: repeat(3, 1fr);
}

.pop-mobiles-2 .product {
    overflow: hidden;
    margin-bottom: 10px;
}

.pop-mobiles-2 img {
    width: 70%;
    margin: auto;
}

.btn-small {
    border: none;
    font-size: 0.9rem;
    width: 60%;
    padding: 15px;
    background-color: white;
    box-shadow: 2px 2px 2px #49989e;
    color: black;
    margin-bottom: 10px;
    cursor: pointer;
}

.btn-small:hover {
    background-color: #49989e;
    color: white;
}


/**Services **/

.service-list{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding-inline: 30px;
}

.services-item{
    width:250px;
}

.service-card{
    display:flex;
    align-items:center;
    gap: 15px;
}

.service-card .card-icon{
    background: #e60000;
    min-width: 55px;
    height: 55px;
    border-radius:50%;
    display: grid;
    place-items: center;
}

.service-card .card-icon img{
    filter: brightness(0) invert(1);
    width: 70%;
    height:auto;
}

.service-card .card-title{
    font-size: var(--fs-6);
    margin-bottom: 8px;
}

.service-card .card-text{
    color: var(--onyx);
    font-family: var(--ff-roboto);
    font-size: var(--fs-7);
}

.service-card .card-text span{
    display: inline-block;
    color: var(--bittersweet);
}


/** Post Card **/

.section{
    padding-block: var(--section-padding);
    margin: 20px;
}

.insta-post-list{
    gap: 0;
}

.insta-post-list .insta-post-item {
    position: relative;
    min-width: 23.33%;
    aspect-ratio: 1/1;
}

.insta-post-list .insta-post-item img {
    width: 100%;
    height: 100%;
}

.insta-post-link {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--oxford-blue_60);
    opacity: 0;
    transition: var(--transition-1);
}

.insta-post-link ion-icon {
    color: var(--white);
    font-size: 40px;
}

.insta-post-link:is(:hover,:focus){
    opacity: 1;
}


/** Scrollbar **/

.has-scrollbar {
    display: flex;
    gap: 0px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: inline mandatory;
}
 
.has-scrollbar>li{
    min-width: 100%;
    scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar{
    height:10px;
}

.has-scrollbar::-webkit-scrollbar-track{
    background:var(--white);
    border-radius: 20px;
    outline: 2px solid var(--bittersweet);
}

.has-scrollbar::-webkit-scrollbar-thumb{
    background:var(--bittersweet);
    border: 2px solid var(--white);
    border-radius: 20px;
}

.has-scrollbar::-webkit-scrollbar-button{
    width: calc(25%-40px) !important;
}


/** footer **/
.footer .logo{
    text-align: center;
    border-bottom: 0.2rem solid #222;
    margin-bottom: 2rem;
}

.footer .box-container .box .btn{
    background:transparent;
    color: #222;
}

.footer .box-container .box .btn:hover{
    background:#e60000;
    color: #fff;
}

.footer{
    background:#fff;
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(25rem,1fr));
    gap: 2rem;
}

.footer .box-container .box h3{
    font-size: 2.2rem;
    color: #222;
    padding: 1rem 0;
}

.footer .box-container .box .link{
    padding: 1rem 0;
    font-size: 1.4rem;
    color: #404040;
    display: block;
}

.footer .box-container .box .link i{
    padding-right: .5rem;
    color: #e60000;
}

.footer .box-container .box .link:hover{
    color: #e60000;
}
.footer .box-container .box .link:hover i{
    padding-right: 2rem;
}
.footer .box-container .box .share{
    margin-top: 2rem;
}
.footer .box-container .box .share a{
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    background: #eee;
    text-align: center;
    color: #222;
    margin-right: .5rem;
}

.footer .box-container .box .share a:hover{
    color: #e60000;
}

.footer .box-container .box p{
    padding: 1rem 0;
    font-size: 1.7rem;
    color: #666;
}

.footer .box-container .box form .email{
    border: 0.2rem solid #222;
    width: 100%;
    padding: 1.2rem 1.4rem;
    text-decoration: none;
    color: #666;
    margin: 1rem 0;
    font-size:1.6rem;
}

.footer .credit{
    text-align: center;
    padding: 1rem;
    padding-top: 3rem;
    margin-top: 3rem;
    font-size: 2rem;
    border-top: 0.2rem solid #222;
    color: #666;
}




/* media queries */
@media(max-width:991px) {
    html{
        font-size: 55%;
    }
    .header{
        padding:1.5rem 2rem;
    }
    section{
    padding: 3rem 2rem;
}
}

@media(max-width:768px) {
    .header #menu-btn {
        display: inline-block;
    }
    .header .navbar{
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: #fff;
        border-top:0.2rem solid #222;
        border-bottom: 0.2rem solid #222;
        padding: 0.2rem;
        clip-path: polygon(0 0,100% 0, 100% 0, 0 0);
    }
    .header .navbar.active{
        clip-path: polygon(0 0,100% 0, 100% 100%,0 100%);
    } 

    .header .navbar a{
        display: block;
        font-size:2rem;
        margin: 3rem 1rem;
    }
}

@media(max-width:450px) {
    html{
        font-size:50%;
    }   
}