/*------------------------------
        Start Shared CSS 
------------------------------*/

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

/*------------------------------
        End Shared CSS 
------------------------------*/








/*-------------------------------------
        Start Header Section CSS 
-------------------------------------*/

header {
    max-width: 1160px;
    margin: 20px auto;
}

/*---- nav-bar ----*/
nav {
    display: flex;
    justify-content: space-between;
}
#nav-title {
    font-weight: 700;
    color: #3A3A3A;
}
nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}
nav ul li {
    list-style: none;
}
nav ul li .nav-item {
    text-decoration: none;
    font-weight: 500;
    color: #3A3A3A;
}
nav ul li .nav-item:hover {
    text-decoration: underline;
}
.nav-item-icon {
    color: #3A3A3A;
    font-size: 22px;
    position: relative;
    top: -5px;
}
nav ul li .nav-item-icon:hover {
    color: steelblue;
}

/*----- banner -----*/
header section {
    display: flex;
    gap: 150px;
    margin: 25px 0;
}
header section aside:first-child {
    margin: auto 0;
}
#header-title {
    font-size: 45px;
    font-weight: 700;
    color: #3A3A3A;
    margin-top: 0;
    margin-bottom: 10px;
}
#header-description {
    font-weight: 500;
    color: #3A3A3A;
    margin-bottom: 20px;
}
#header-btn {
    background-color: #E02C6D;
    font-weight: 700;
    border: 0;
    border-radius: 20px;
    padding: 6px 20px;
}
#header-btn a {
    text-decoration: none;
    color: #FFFFFF;
}
.bi-arrow-right {
    font-size: 18px;
}
header section aside:last-child {
    background-image: url(../images/Circle\ design.svg);
}
#header-image {
    position: relative;
    top: 30px;
}
/*----- sponser -----*/
header article {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 120px;
    box-shadow: 0.1px 0.1px 20px 0px #eeecec;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    padding: 25px 20px;
}

/*------------------------------------
        End Header Section CSS 
------------------------------------*/








/*-------------------------------------
        Start Main Section CSS 
-------------------------------------*/

/*--- popular collection ---*/
#article-1 {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
#article-1-container {
    margin-bottom: 50px;
}
#article-1-title {
    font-weight: 500;
    color: #3A3A3A;
    margin-bottom: 40px;
}
#article-1-container section:last-child {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    text-align: start;
}
.popular-collection-item {
    box-shadow: 0.1px 0.1px 20px 0px #eeecec;
    padding: 10px;
}
.item-title {
    font-size: 28px;
    font-weight: 400;
    color: #18191F;
    margin: 10px 0;
}
.item-price {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    color: #00000086;
    margin: 10px 0;
}
.rating {
    display: flex;
    gap: 13px;
    margin: 0 0;
}
.rating-star {
    font-size: 14px;
    color: #FB8200;
}
.rating-number {
    font-weight: 700;
    color: #5E6366;
    font-size: 14px;
    margin-top: 2px;
}
.item-description {
    width: 200px;
    font-family: "Inter", sans-serif;
    margin-top: 5px;
    color: #787885;
    font-weight: 700;
    font-size: 14px;
}
#popular-collection-btn {
    position: relative;
    left: 510px;

}
#article-1-btn {
    color: #E02C6D;
    background-color: #fff;
    font-weight: 900;
    border: 0;
}
#article-1-btn a {
    color: #E02C6D;
    text-decoration: none;
}
/*--- article-2 ---*/
#article-2 {
    max-width: 1000px;
    margin: 100px auto;
    display: flex;
    justify-content: space-between;
    gap: 100px;
}
#article-2-title {
    font-size: 30px;
    font-weight: 700;
    color: #0A0826;
}
#article-2-description {
    font-weight: 700;
    color: #6C6C6C;
}
#article-2-btn {
    background-color: #E02C6D;
    font-weight: 700;
    border: 0;
    border-radius: 2px;
    padding: 6px 24px;
}
#article-2-btn a {
    text-decoration: none;
    color: #FFFFFF;
}

/*------------------------------------
        End Main Section CSS 
------------------------------------*/








/*-------------------------------------
        Start Footer Section CSS 
-------------------------------------*/

footer {
    width: 100%;
    height: 200px;
    background-color: #0A0826;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#footer-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0;
}
#footer-description {
    font-size: 14px;
    font-weight: 700;
    color: #D9DBE1;
    margin-bottom: 0;
}
footer aside section:last-child {
    display: flex;
    gap: 25px;
    justify-content: center;
}
footer aside section:last-child p a {
    color: white;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.144);
    border-radius: 50%;
    padding: 0 8px 7px 8px;
}

/*------------------------------------
        End Footer Section CSS 
------------------------------------*/








/*-------------------------------------------
        Start  Media-QUERY Mobile CSS 
-------------------------------------------*/

@media only screen and (max-width: 720px) {
    /*---- header section ----*/
    header {
        padding: 0 10px;
    }
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #nav-title {
        margin-top: 0;
    }
    nav ul {
        gap: 15px;
        margin-left: -40px;
    }
    /*----- banner -----*/
    header section {
        display: flex;
        gap: 40px;
        margin: 25px 0;
        flex-direction: column;
    }
    header section aside:last-child {
        background-image: url(../images/Circle design.svg);
        background-size: 100%;
    }
    #header-image {
        position: relative;
        top: 10px;
        width: 100%;
    }

    /*----- sponser -----*/
    header article {
        display: grid;
        grid-template-columns: auto auto auto;
        .item {
            grid-column: 1 / span 3;
        }
        row-gap: 40px;
        .item {
            margin: 0 auto;
        }
    }
    .sponsor {
        width: 80px;
    }

    /*----- populer collection -----*/
    #article-1-container section:last-child {
        display: grid;
        grid-template-columns: auto;
        margin: 10px;
    }
    .popular-collection-item {
        padding: 10px 30px;
        margin: 0 auto;
    }
    #popular-collection-btn {
        position: relative;
        left: 0;
        text-align: end;
    }

    /*----- article-2 -----*/
    #article-2 {
        display: flex;
        justify-content: space-between;
        gap: 40px;
        flex-direction: column;
        margin: 100px 10px;
    }

    /*------ footer ------*/
    footer aside section {
        width: 300px;
    }
}

/*----------------------------------------
        End  Media-QUERY Mobile CSS 
----------------------------------------*/











/*-------------------------------------------
        Start  Media-QUERY Tablet CSS 
-------------------------------------------*/

@media screen and (min-width: 721px) and (max-width: 1080px) {
    /*---  header css  ----*/
    header {
        padding: 0 10px;
    }
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header section {
        display: flex;
        gap: 40px;
        margin: 25px 0;
    }
    header section aside:last-child {
        background-image: url(../images/Circle design.svg);
        background-size: 100%;
    }
    #header-image {
        position: relative;
        top: 10px;
    }
    
    /*----- sponser -----*/
    .sponsor {
        width: 70px;
    }
    /*--- .popular-collection ---*/
    #article-1-container section:last-child {
        display: grid;
        grid-template-columns: auto auto;
        gap: 20px;
        text-align: start;
        margin: 0 10px;
    }
    .popular-collection-item {
        padding: 10px 30px;
        margin: 0 auto;
    }
    #popular-collection-btn {
        position: relative;
        left: 0;
        text-align: end;
    }

    /*--- article-2  ----*/
    #article-2 {
        display: flex;
        justify-content: space-between;
        gap: 50px;
        margin: 100px 10px;
    }


    /*----- footer -----*/

}

/*-------------------------------------------
        End Media-QUERY Tablet CSS 
-------------------------------------------*/
