* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif !important;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; */
    /* color: rgba(0, 0, 0, 0.9) !important; */
    list-style: none;


}

/* ----navbar start------ */

#navbar {

    grid-area: navbar !important;
    /* border: 1px solid black !important; */
    height: 44px !important;
    /* background: #fbfbfdf8 !important; */
    background: rgba(22, 22, 23, .8);
    
    position: sticky !important;
    top: 0 !important;
    z-index: 1;
    color: rgba(255, 255, 255, .8) !important;

}
#navbar-bg{
    height: 44px !important;
    background-color: #000000 !important;
    width: 100%;
    filter: blur(1) !important;
    position: absolute;
    top: 0;
    z-index: -2;
}

.nav-content {
    width: 1034px !important;
    height: 100% !important;
    /* border: 1px solid black !important; */
    margin: auto !important;


}

.nav-list {
    display: flex !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    height: 100% !important;
    font-size: 12px !important;
    line-height: 12px !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    font-weight: lighter !important;
}
.nav-list #hamburger-menu {
    display: none;
}

.nav-link:hover {
    color: rgba(255, 255, 255) !important;
    

}
.nav-link svg path:hover {
    fill: rgba(255, 255, 255) !important;
    height: 50px;
}

.nav-link {

    font-family: 'Roboto', sans-serif !important;
    /* border: 1px solid red !important; */

}


/* ---------nav end---------- */




/* landing page */

.product-page1 {
    grid-area: product-page1 !important;
    height: auto !important;

}

#landing-page {
    grid-area: landing-page !important;
    height: 591px;
    /* background: #000000 !important; */

    background-image: url(./assets/Iphone_15_pro.jpg) !important;
    background-repeat: no-repeat !important;
    background-size: fill !important; /* This maintains the aspect ratio and scales the image to fit the container */
    background-position: center!important;
    /* border: 1px solid black !important; */
}
#imac{
    grid-area: imac !important;
    height: 591px;
    background: url(./assets/iMac.jpg) !important;
    background-repeat: no-repeat !important;
    background-size: fill !important; /* This maintains the aspect ratio and scales the image to fit the container */
    background-position: center!important;
    /* border: 1px solid black !important; */
}

#landing-page #img1 img{

    margin-left: 24vw;
}
#landing-page:nth-child(1) {
    color: white ;
}
h2 {
    font-size: 54px !important;
    line-height: 1.07143 !important;
    font-weight:700 !important;
    /* letter-spacing: .001em !important; */
    text-align: center !important;
    margin-top: 54px !important;

}

h3 {
    font-size: 29px !important;
    line-height: 2.07143 !important;
    font-weight: lighter !important;
    /* letter-spacing: .001em !important; */
    text-align: center !important;
}

h4 {
    font-size: 23px !important;
    line-height: 1.07143 !important;
    font-weight: lighter !important;
    /* letter-spacing: .001em !important; */
    text-align: center !important;
    color: #3987d6 ;
}

h4>a {
    color: #3987d6 !important;
    text-decoration: none !important;
}

a:hover {
    text-decoration: underline !important;
}

sup {
    font-size: 16px !important;
}

.product-pic {
    /* border: 1px solid red !important; */
    display: flex !important;
    justify-content: center !important;
    /* margin-top: 40px !important; */
}

.product-page1 .product-pic * {
    /* border: 1px solid red !important; */
    margin-top: 10px;

}

.product-page1 #img2 {
    /* border: 1px solid red !important; */
    margin-top: 80px;

}

/* ----Grid template of Webpage-------- */

.grid-container {
    display: grid !important;
    grid-template-areas: 'navbar navbar navbar navbar navbar navbar'
        'product-page1 product-page1 product-page1 product-page1 product-page1 product-page1'
        'product-page2 product-page2 product-page2 product-page2 product-page2 product-page2'
        'footer footer footer footer footer footer'

        !important;
}

.product-page1 {
    display: grid !important;
    grid-template-areas: 'landing-page landing-page landing-page landing-page '
    'iphone iphone iphone iphone '
        'macbook macbook macbook macbook '
        'imac imac imac imac'

        !important;
}

.footer {
    grid-area: footer !important;
}

.product-page2 {
    grid-area: product-page2 !important;
    /* display: flex !important; */

}

.products {
    /* border: 2px solid blue !important; */
    /* width: fit-content !important; */
    width: calc(97%/2) !important;
    /* height: 580px !important; */
    margin: 6px !important;

}

.products>.product-pic {
    width: 100%;

}

.products .product-pic img {
    width: 100% !important;

}

.grid-container .product-page2 .p2-container {
    display: flex !important;
    flex-wrap: wrap !important;
    /* border: 1px solid green !important; */
}

/* product information and cards */

.items,
#macbook {
    margin-bottom: 10px !important;
    height: 591px;
    /* background: #fafafa !important; */
    background-image: url(./assets/mackbook_pro.jpg) !important;
    background-repeat: no-repeat !important;
    background-size: fill !important; /* This maintains the aspect ratio and scales the image to fit the container */
    background-position: center!important;
    grid-area: macbook !important;

}

#iphone {
    height: 591px;
    /* background: #fafafa !important; */
    background-image: url(./assets/iphone15.jpg) !important;
    background-repeat: no-repeat !important;
    background-size: fill !important; /* This maintains the aspect ratio and scales the image to fit the container */
    background-position: center!important;
    grid-area: iphone !important;

}




/* -------------footer------------- */

/* footer main container */
.footer {
    /* width: 98vw !important; */
    font-size: 12px !important;
    background-color: rgb(245, 245, 247) !important;
    overflow-x: hidden !important;

}

.footer ul {
    padding-left: 0 !important;
}

.footer-main-container-box {
    width: 1020px !important;
    margin: auto !important;
    padding: 0 22px !important;

}

.footer ul li {
    font-size: 12px;
    color: #6E6E73 ;
    text-align: justify !important;
    padding: 0 0 10px 0 !important;
    line-height: 16px;
    letter-spacing: 0.4px !important;

}

#footer-box-child-1 {
    padding: 17px 0 11px 0 !important;
    border-bottom: 1px solid #D2D2D7 !important;
}

#footer-box-child-2 {
    padding: 20px 0 0 0 !important;
    /* border: 0.5px solid grey !important; */
    height: fit-content !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;


}

.footer-box h3 {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #4c4c4e !important;
    text-align: left !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;

}

.footer-box {
    /* border: 0.2px solid black !important; */
    flex: 1 1 auto !important;
}

.footer-box>.footer-items {
    /* border: 0.2px solid red !important; */
    margin-bottom: 10px !important;
}
.footer-box .footer-items span{
    float: right;
    display: none;
}
.footer-bottom-box {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* border: 1px solid blue !important; */

}

.footer-bottom-box div {
    /* border: 1px solid red !important; */
    align-items: center !important;

}

#footer-bottom-box-child1 {
    border-bottom: 1px solid #d2d2d7 !important;
}

#footer-bottom-box-child1 a {
    color: rgb(100, 160, 222) !important;
}

.footer-bottom-box div ul {
    display: flex !important;
    flex-direction: row !important;


}

.footer-bottom-box div:nth-child(odd) ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-bottom-box div:nth-child(3) ul li:hover {
    cursor: pointer !important;
    text-decoration: underline !important;
}

.footer-bottom-box div:nth-child(2) ul li {

    border-right: 1px solid grey !important;
    margin-bottom: 0;
    padding: 0 10px 0 10px !important;

}

#footer-bottom-box-child2 div:nth-child(2) {
    margin-left: -9% ;
}

#footer-bottom-box-child2 div:nth-child(2) li:hover {
    text-decoration: underline !important;
    cursor: pointer !important;


}

#footer-bottom-box-child2 {
    margin: 10px 0 20px 0 !important;
}

#footer-box-child-2 ul>li:hover {
    cursor: pointer !important;
    text-decoration: underline !important;
}

/* ------------footer end---------------- */







/* For mobile devices: */
@media only screen and (max-width: 480px) {

    /* Your styles for mobile devices here. */

    /* navbar resposive */
    .nav-list .nav-link:not(#icon, #search ,#buy-item, #hamburger-menu) {
        /* display: none !important; */
        opacity: 0;
        display: block !important;

    }
    .nav-link svg {
        width: 130px ;
        height: 130px;
    }
    .nav-list > #icon{
        position: relative;
        left: 0;
    }
    .nav-list #hamburger-menu {
        display: block;
    }
    #navbar {
        height: 120px !important;
    }
    #navbar-bg{
        height: 120px !important;
        width: 1030px;
    }

    .product-page1 {
        zoom: 1.9;
        margin-left: 0;

        overflow: hidden;
    }
    
    #landing-page{
        background-image: url(./assets/Iphone_15_pro_m.jpg) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important; /* This maintains the aspect ratio and scales the image to fit the container */
    background-position: center!important;
    }

    #macbook {
       
       
        background-image: url(./assets/mackbook_pro_m.jpg) !important;
        background-repeat: no-repeat !important;
        background-size: cover !important; /* This maintains the aspect ratio and scales the image to fit the container */
        background-position: center!important;
       
    }
    
    #iphone {
       
        background-image: url(./assets/iphone15_m.jpg) !important;
        background-repeat: no-repeat !important;
        background-size: cover !important; /* This maintains the aspect ratio and scales the image to fit the container */
        background-position: center!important;
      
    
    }
    #imac{
        background-image: url(./assets/iMac_m.jpg) !important;
        background-repeat: no-repeat !important;
        background-size: cover !important; /* This maintains the aspect ratio and scales the image to fit the container */
        background-position: center!important;
    }

    .product-page1>.items {
        height: 84vh !important;
    }

    .grid-container .product-page2 .p2-container {

        flex-direction: column;
        /* border: 5px solid red; */
        width: 100%;

    }

    .p2-container .products {
        aspect-ratio: 3/4 !important;
        /* border: 1px solid black; */
        overflow: hidden;

    }

    .p2-container .products .product-pic {
        /* object-fit: fill; */
        /* width: 1500px; */
        height: 100%;
        /* border: 1px solid red; */


    }

    .p2-container .products .product-pic img {
        object-fit: cover;

    }

    .grid-container .product-page2 .p2-container>.products {

        width: calc(98%) !important;
    }

    /* footer repsonsive */
    .footer-box > .footer-items{
        border-bottom: 1px solid #aaaaac !important;
        margin: 0 18px;
    }
    .footer-box .footer-items span{
        float: right;
        display: block;
        /* transform: rotate(0); */
        transition: transform 0.3s ease;

    }
    .footer-box .footer-items ul li{
        padding: 20px !important;
    }
    
    .rotate-icon {
        transform: rotate(45deg) !important;
    }
    #footer-box-child-2 {
        flex-direction: column !important;
    }

    .grid-container>.footer {
        display: flex !important;
        font-size: 200px !important;
    }

    .footer ul li {

        font-size: 35px !important;
        line-height: normal;
    }

    .footer-box h3 {
        font-size: 35px !important;
        font-weight: normal !important;

    }
    #footer-bottom-box-child1 {
        margin-top: 50px !important;
        border-bottom: none !important;
    }
    .footer-bottom-box {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: start !important;
    }
    #footer-bottom-box-child2 .first{
        order: 1;
        margin: 20px 0 !important;
    }
    #footer-bottom-box-child2 .second{
        order: 2;
    }
    #footer-bottom-box-child2 .third{
        order: 3;
    }

    #footer-bottom-box-child2 div:nth-child(2) {
        margin-left: 0;
    }

    .footer-bottom-box div ul {
        display: flex !important;
        /* flex-direction: row !important; */
        flex-wrap: wrap;
    }

    .footer-bottom-box div:nth-child(2) ul li {
        border-right: 1px solid grey !important;
        margin-bottom: 11px !important;
        padding: 0 38px 0 38px !important;
    }

    #footer-bottom-box-child2 div:nth-child(2)  ul li:nth-child(1),
    #footer-bottom-box-child2 div:nth-child(2)  ul li:nth-child(4)
    {
        padding-left: 0 !important;
    }
    
}


/* For tablets: */
@media only screen and (max-width: 767px) {
    /* Your styles for tablets here. */


}

/* For desktops: */
@media only screen and (min-width: 768px) {
    /* Your styles for desktops here. */
}

/* For extra large screens: */
@media only screen and (min-width: 1280px) {
    /* Your styles for extra large screens here. */
}