/* ------------------------- reset style of the app ------------------------- */

html {
    box-sizing: border-box;
    font-size: 62.5%;
    /*10px*/
    scroll-behavior: smooth;
}

*,
*::after,
*::before {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

a,
ul,
li,
button,
input {
    text-decoration: none;
    border: none;
    outline: none;
    list-style-type: none;
}


/* ------------------------------- root style ------------------------------- */


:root {
    --primery-color: #ffcd6d;
    --secondry-color: #ffac0b;
    --third-color: #fff;
    --text-color: #fff;
}


/* ----------------------------- container style ---------------------------- */


.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
}

/* -------------------------------- font face ------------------------------- */


@font-face {
    font-family: ExtraBold;
    src: url(/font/Inter-ExtraBold.ttf);
}

@font-face {
    font-family: Inter-Black;
    src: url(/font/Inter-Black.ttf);
}

@font-face {
    font-family: ExtraBold;
    src: url(/font/Inter-ExtraBold.ttf);
}

@font-face {
    font-family: Bold;
    src: url(/font/Inter-Bold.ttf);
}

@font-face {
    font-family: SemiBold;
    src: url(/font/Inter-SemiBold.ttf);
}



/* ------------------------------- body style ------------------------------- */

body {
    font-size: 1.8rem;
    font-family: "semibold";
    background-color: var(--primery-color);
}

*::selection{
    background-color: #ffae00;

}

/* ------------------------------- componennt ------------------------------- */

.section__title-box {
    margin: 10rem 0 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section__title {
    font-size: 3rem;
    text-transform: uppercase;
    font-family: "bold";
    position: relative;
    text-align: center;
    padding: .5rem 0;
}

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


.section__title::before,
.section__title::after {
    content: "";
    position: absolute;
    background-color: var(--third-color);
    width: 3rem;
    height: .3rem;
}

.section__title::after {
    bottom: 0;
    right: 0;
}


.bg-circle{
    width: 50rem;
    height: 50rem;
     background-image: linear-gradient(to right,#ffcc6d00,var(--secondry-color));
    border-radius: 100%;
    position: absolute;
    z-index: -100;
}


.bg-circle--xmedium{
    width: 25rem;
    height: 25rem;
    right: 22rem;
    bottom: -13rem;
}

.bg-circle--medium{
    width: 20rem;
    height: 20rem;
    right: -3rem;
    top: 13rem;
}

.bg-circle--small{
    width: 16rem;
    height: 16rem;
    left: 49rem;
    bottom: -2rem;

}
.bg-circle--xsmall{
    width: 12rem;
    height: 12rem;
    left: 32rem;
    bottom: -15rem;

}
.bg-circle--xsmall-collection{
    top: -10rem;
    right: 50rem;

    margin-left: auto;
}

.bg-circle--xmedium--comment{
    left: 40rem;
}
.bg-circle--xxsmall{
    width: 10rem;
    height: 10rem;
    top: -3rem;
    left: 17rem;
    filter: blur(1rem);
}

/* ------------------------- customize the scrollbar ------------------------ */

body::-webkit-scrollbar {
    width: 1rem;
}

body::-webkit-scrollbar-track {
    background: #ffa7007d;
}

body::-webkit-scrollbar-thumb {
    background: #fff;
}



/* ------------------------------ helper class ------------------------------ */
.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

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

.opacity {
    opacity: .75;
}

.dir-column {
    flex-direction: column;
}

.w-100 {
    width: 100%;
}


/* --------------------------------- header --------------------------------- */

header {
    display: flex;
    position: relative;
}


/* ---------------------------- navigation style ---------------------------- */


nav {
    margin-top: 2rem;
}

nav,
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---------------------------------- menu ---------------------------------- */

.menu {
    column-gap: 5rem;
}

.logo__img-box {
    width: 9rem;
}

.menu,
.logo__img-box {
    background-color: rgba(255, 255, 255, .10);
    padding: 3rem;
    border-radius: 2rem;
    height: 9rem;
}

.menu__item:nth-child(2) {
    position: relative;
    transition: all 200ms ease-in 180ms;
}



/* -------------------------------- menu bars ------------------------------- */

.menu__bars {
    width: 9rem;
    height: 9rem;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, .10);
    cursor: pointer;
    display: none;
}

.menu__bars-line {
    position: relative;
}

.menu__bars-line,
.menu__bars-line::before,
.menu__bars-line::after {
    background-color: var(--third-color);
    width: 4.5rem;
    height: .5rem;
    border-radius: 5rem;
    transition: all 250ms ease-out;
}

.menu__bars-line::before {
    content: "";
    position: absolute;
    top: 1.5rem;
}

.menu__bars-line::after {
    content: "";
    position: absolute;
    top: -1.5rem;
}

.menu__bars:hover .menu__bars-line {
    background-color: transparent;
}


/* ----------------------------- menu bars hover ---------------------------- */


.menu__bars:hover .menu__bars-line::before {
    transform: rotate(45deg);
    top: 0;
}

.menu__bars:hover .menu__bars-line::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ----------------------------- menu item hover ----------------------------- */

.menu__item:nth-child(2):hover .submenu {
    opacity: 1;
    top: 7rem;
}

.menu__item-icon {
    transition: all 200ms ease-in 180ms;
}

.menu__item:nth-child(2):hover .menu__item-icon {
    transform: rotate(180deg);
}

/* --------------------------------- submenu -------------------------------- */

.submenu {
    position: absolute;
    row-gap: 2rem;
    display: flex;
    top: -20rem;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    background-color: rgba(255, 255, 255, .10);
    opacity: 0;
    padding: 2rem 0;
    border-radius: 2rem;
    transition: all 200ms ease-in 180ms;
}

/* ------------------------------ submenu hover ----------------------------- */

.submenu__item-link {
    padding: 1rem;
    border-radius: 1.3rem;
    transition: all 250ms ease-out;
}

.submenu__item-link:hover {
    background-color: var(--third-color);
    color: var(--primery-color);
}

/* ------------------------------ header links ------------------------------ */

.header__links {
    display: flex;
    column-gap: 2rem;
}

.header__links-link {
    padding: 2rem 4rem;
    border-radius: 2rem;
    border: .3rem var(--third-color) solid;
}

.header__links-link--active {
    background-color: var(--third-color);
    color: var(--primery-color);
}




/* ----------------------------- header wrapper ----------------------------- */

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6rem;
}


/* ---------------------------- header image box ---------------------------- */


.header__img-box {
    width: 40%;
    margin-top: 7rem;
    z-index: -1;
    animation: headerimg ease-out 1s .7s forwards;
}

@keyframes headerimg {
    from {
        transform: translatey(-100%);
        filter: blur(30px);
    }

    to {
        transform: translateX(0);
        filter: blur(0);
    }
}

/* ----------------------------- header content ----------------------------- */

.header__content {
    width: 50%;
    display: flex;
    align-self: flex-start;
    row-gap: 2rem;
}

.header__content-title,
.header__content-text,
.header__content-links {
    animation: content .5s .7s ease-out forwards;
}

@keyframes content {
    from {
        transform: translateY(50px);
        filter: blur(30px);
    }

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

.header__content-title {
    font-size: 10rem;
    font-family: "extrabold";
    line-height: 1;
}

.header__content-text {
    width: 66rem;
    font-size: 2.5rem;
    animation-delay: 1.5s;
}

.header__content-links {
    display: flex;
    align-items: center;
    column-gap: 2rem;
    height: 7rem;
    animation-delay: 2s;
}


.header__content-links-item-link {
    color: var(--text-color);
    padding: 2rem 5rem;
    border-radius: 2rem;
    border: .3rem var(--third-color) solid;

}

.header__content-links-item-link--active {
    background-color: var(--third-color);
    color: var(--primery-color);
}

/* ------------------------------- header offer ------------------------------ */



.header__offer {
    align-self: end;
    width: 50rem;
    display: flex;
    animation: offer 1s .7s forwards;
}
@keyframes offer {
    from{
        transform: translateX(100%);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}

.header__offer-wrapper {
    display: flex;
    background-color: rgba(255, 255, 255, .10);
    position: relative;
    height: 18rem;
    justify-content: end;
    align-items: center;
    border-radius: 5rem 0 0 5rem;
}

.header__offer-content {
    display: flex;
    order: 1;
    row-gap: 1.2rem;
    margin-right: 8rem;
}

.header__offer-content-title {
    font-family: "extrabold";
    font-size: 4rem;
}

.header__offer-content-text {
    width: 19rem;
}

.header__offer-img-box {
    position: absolute;
    left: -8rem;
    bottom: 0;
}


/* -------------------------- header rouanded shape ------------------------- */

.header__rounded-shape {
    position: absolute;
    bottom: 0;
    align-self: center;
}


.header__rounded-wrapper {
    border-radius: 10rem;
    width: 5rem;
    height: 8rem;
    background-image: linear-gradient(to bottom, var(--third-color), transparent);
}


.header__rounded-rectangel {
    border-radius: inherit;
    width: 4rem;
    height: 7rem;
    background-color: var(--primery-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.header__circle {
    width: 3rem;
    height: 3rem;
    background-image: linear-gradient(to bottom, var(--third-color), transparent);
    border-radius: 100%;
    margin-top: .5rem;
}


/* ------------------------------- main style ------------------------------- */




/* ----------------------------- products section ---------------------------- */


.products__wrapper {
    position: relative;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
    padding: 0 3rem;
}



.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.product__profile {
    background-color: rgba(255, 255, 255, .10);
    width: 20rem;
    height: 20rem;
    padding: 3rem;
    border-radius: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product__profile-img {
    width: 100%;
}

.product__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
}

.product__content-title {
    font-size: 2.5rem;
    font-family: "extrabold";
}

.product__content-btn {
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: var(--primery-color);
    text-transform: uppercase;
    cursor: pointer;
}

/* --------------------------- collection section --------------------------- */



.collection .section__title-box {
    margin-bottom: 20rem;
    margin-top: 0;
}

.collection__wrapper {
    display: flex;
    justify-content: end;
    align-items: center;
    background-color: rgba(255, 255, 255, .10);
    position: relative;
    padding: 10rem 3rem;
    border-radius: 9rem;
}

.collection__profile {
    width: 42%;
    position: absolute;
    left: 4rem;
    top: -11rem;
}

.collection__content {
    display: flex;
    row-gap: 2rem;
    margin-right: 5rem;
    width: 50%;
}

.collection__content-title {
    font-size: 3.5rem;
    font-family: "extrabold";
}

.collection__content-subtitle {
    font-size: 2.2rem;
}

.collection__content-text {
    max-width: 60rem;
    font-size: 1.5rem;
}

.collection__content-link {
    display: block;
    border-radius: 1.5rem;
    padding: 1.5rem 4rem;
    width: 17rem;
    border: solid;
}

.collection__arrow-left-box,
.collection__arrow-right-box {
    position: absolute;
    width: 2.8rem;
    height: 2.8rem;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}

.collection__arrow-left-box {
    left: 3rem;
}

.collection__arrow-right-box {
    right: 3rem;
}



/* ---------------------------- comments section ---------------------------- */


.comments__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42rem, 1fr));
    justify-items: center;
    gap: 5rem;
}

.comment {
    padding: 4rem;
    background-color: rgba(255, 255, 255, .10);
    border-radius: 8rem;
    height: 27rem;
    display: flex;
    justify-content: space-between;
}

.comment__profile {
    display: flex;
    align-items: center;
    column-gap: 2rem;
}

.comment__profile-img-box {
    width: 9rem;
    height: 9rem;
    padding: .5rem;
    border-radius: 100%;
    border: .3rem solid #ffa800;
    display: flex;
}

.comment__profile-img {
    box-shadow: -0.2rem .7rem 5rem -1rem black;
    border-radius: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
}

.comment__profile-info-name {
    font-size: 1.8rem;
}

.comment__profile-rate {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.comment__text {
    width: 34rem;
}



/* ------------------------------ slider state ------------------------------ */


.slider-state {
    column-gap: 1rem;
    margin: 5rem 0 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-state__circle-current-slide {
    width: 3rem !important;
    border-radius: 1rem;

}

.slider-state__circle,
.slider-state__circle-current-slide {
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--third-color);
}

.slider-state__circle {
    border-radius: 100%;
    border: .4rem solid var(--secondry-color);

}


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

footer {
    background-color: rgba(255, 255, 255, .10);
    padding-top: 5rem;
}

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

.footer__wrapper {
    display: flex;
    column-gap: 5rem;
}

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

.footer__caption,
.social-media,
.quick-links,
.community {
    display: flex;
    flex-direction: column;
    align-items: start;
    row-gap: 3rem;
}

.footer__caption-title-box {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}

.footer__caption-text {
    max-width: 50rem;
    font-family: "semibold";
}


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

.footer__title {
    font-size: 2.3rem;
    text-transform: uppercase;
}

.quick-links .footer__title {
    width: 15rem;
}

.social-media .footer__title {
    width: 17rem;
}

.community .footer__title {
    width: 27rem;
}

/* ----------------------------- footer link box ---------------------------- */

.quick-links__link-box,
.social-media__link-box {
    display: flex;
    row-gap: 1.5rem;
}

/* ----------------------------- footer commuity ---------------------------- */
.community__input-box {
    border: .3rem solid var(--third-color);
    border-radius: 1.5rem;
    height: 5rem;
    width: 40rem;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.community {
    order: 4;
}

.community__input-box input[type="email"] {
    background-color: transparent;
    font-size: 1.5rem;
    margin-left: 2rem;
}

.community__input-box input[type="email"]::placeholder {
    color: var(--text-color);
}

.community__input-box input[type="submit"] {
    width: 30%;
    background-color: var(--third-color);
    color: var(--primery-color);
    font-size: 1.5rem;
    font-family: "bold";
    cursor: pointer;
}

/* ----------------------------- footer seprater ---------------------------- */
.seprater {
    width: 35%;
    height: .3rem;
    margin: 2rem auto 0;
    background-color: var(--third-color);
}

/* ------------------------------- copy rights ------------------------------ */

.copy-right {
    padding: 2rem 0;
    text-align: center;
}


.collection__slider-state{
    display: none;
}

/* ------------------------------ breack points ----------------------------- */

@media (max-width: 1400px) {



    .bg-circle--medium-header{
        right: 20%;
    }

    .bg-circle--xmedium-product{
        top: 20%;
    }


    /* -------------------------------- container ------------------------------- */

    .container {
        max-width: 132rem;
    }

    /* -------------------------------------------------------------------------- */

    /* --------------------------------- header --------------------------------- */

    .header__content-title {
        font-size: 8rem;
    }

    .header__content-text {
        width: 55rem;
        font-size: 2rem;
    }

    /* -------------------------------------------------------------------------- */

    /* -------------------------------- comments -------------------------------- */

    .comments__wrapper {
        margin: 0 auto;
        max-width: 89rem;
    }

    /* -------------------------------------------------------------------------- */
}


@media (max-width: 1200px) {
    .container {
        max-width: 114rem;
    }

    .header__offer {
        width: 40rem;
        margin-top: 8rem;
    }

    .header__offer-content {
        margin-right: 6rem;
    }

    .footer__wrapper {
        display: grid;
        justify-content: center;
        grid-template-areas:
            "footer__caption  community"
            "social-medai quick-links"
        ;
        gap: 3rem;
    }

    .community {
        grid-column: 2/3;
        grid-row: 1/2;
        justify-content: center;
    }


    .header__content-text {
        width: 47rem;
        font-size: 1.7rem;
    }

    .bg-circle--xsmall-collection{
        right: 20%;
    }


}


@media (max-width: 992px) {

   
.bg-circle--xmedium-product{
    left: 20%;
    top: 10%;
}

.bg-circle--xsmall-collection{
    top: 60rem ;
}

    .bg-circle--medium-header{
        top: 70%;
        left: 20%;
    }

    .container {
        max-width: 96rem;
    }



    .collection__profile {
        width: 51%;
    }

    .collection__content {
        width: 45%;
    }

    .collection__content-title {
        font-size: 3rem;
        max-width: 31rem;
    }

    .collection__content-text {
        max-width: 40rem;
    }

    .header__rounded-shape {
        bottom: -9rem;
    }


    /* --------------------------------- header --------------------------------- */

    .header__links {
        display: none;
    }

    .header__content {
        align-self: center;
        align-items: center;
        width: 48rem;
    }

    .header__content-links {
        width: 100%;
    }

    .header__content-links-item {
        width: 50%;
    }

    .header__content-links-item-link {
        width: 100%;
        display: block;
        text-align: center;
    }

    .header__content-links-item-link:last-child {
        padding: 2rem 3rem;
    }

    /* -------------------------------------------------------------------------- */




    /* ---------------------------------- menu ---------------------------------- */

    .menu__bars {
        display: flex;
    }

    .menu {
        height: 100vh;
        width: 30vw;
        flex-direction: column;
        justify-content: start;
        gap: 5rem;
        position: absolute;
        right: -100%;
        top: 0;
        z-index: 100;
        display: none;
    }

    .menu__bars:hover .menu {
        right: 0;
        display: block;
    }

    /* -------------------------------------------------------------------------- */



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

    .footer__wrapper {
        display: grid;
        grid-template-areas:
            "footer__caption footer__caption"
            "quick-links social-media"
            "community community"
        ;
        justify-content: unset;
    }

    .footer__caption {
        grid-column: 1/3;
    }

    .community {
        grid-column: 1/3;
        grid-row: 3/4;
        margin: 0 auto;
    }

    .social-media {
        margin-left: auto;
    }

    /* -------------------------------------------------------------------------- */


    /* ----------------------------- header wrapper ----------------------------- */

    .header__wrapper {
        flex-direction: column;
        margin-top: 0;
    }

    .header__img-box {
        width: 70%;
    }

    .comment,
    .comment__text {
        width: 100%;
    }

    *{
        cursor: default;
    }



}

@media (max-width: 768px) {
    .container {
        max-width: 72rem;
    }

    .bg-circle--xmedium--comment{
        margin-left: auto;
        margin-right: auto;
        right: 0;
        left: 0;
    }
    .bg-circle--medium-header{
        display: none;
    }
    .bg-circle--small{
        left: 0;
    }
    .header__content {
        max-width: 48rem;
    }

    .header__content-links {
        flex-direction: column;
        gap: 2rem;
    }

    .header__content-links-item {
        width: 100%;
    }

    .header__content-links-link {
        width: 100%;
        padding: 0;
    }

    .collection__content-link {
        width: 100%;
        text-align: center;
    }

    .header__offer {
        margin-top: 20rem;
    }

    .collection__content {
        margin: 0 auto;
        max-width: 40rem;
        width: 100%;
        align-self: center;
    }

    .collection__wrapper {
        flex-direction: column;
        justify-content: center;
        height: 70rem;
        padding: 5rem 3rem;
    }

    .collection__profile {
        width: 100%;
        left: 0;
        right: 0;
        margin: auto;
    }

    .collection__content {
        transform: translateY(15rem);
        align-items: center;
    }

    .collection__content-text {
        text-align: center;
    }
    .collection__slider-state{
        display: flex;
    }
}


@media (max-width: 576px) {
    .container {
        max-width: 54rem;
    }

    .header__content {
        max-width: 30rem;
    }

    .header__content-title {
        font-size: 5rem;
    }

    .header__content-text{
        max-width: 30rem;
    }

    .collection__content{
        transform: translateY(15rem);
    }
    .collection__wrapper{
        height: 60rem;
    }
    .collection__content-link{
        border-radius: 10rem;
    }
  
    .collection__arrow-left-box,
    .collection__arrow-right-box{
    display: none;
    }




}

@media (max-width: 480px) {
    .container {
        max-width: 46rem;
    }

    .header__wrapper{
        margin-top: -5rem;
    }

    .comments__wrapper{
        display: grid;
        grid-template-columns: 1fr;
      
    }
    .header__offer{
        margin: 0 auto ;
        margin-top: 20rem;
    }

    .header__offer-img-box{
        top: -10rem;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 30rem;
    }

    .header__offer-wrapper{
        flex-direction: column;
        height: 30rem;
        border-radius: 5rem;
        justify-content: center;
    }
    .header__offer-content{
        margin: 0 auto;
        margin-top: 10rem;
        text-align: center;
    }


    .footer__wrapper{
      grid-template-columns: 1fr;
      grid-template-rows: repeat(4, auto);
    }
    .quick-links{
        grid-row: 2/3;
        grid-column: 1/2;
        align-items: center;
    }
    .social-media{
        grid-row: 3/4;
        grid-column: 1/2;
        align-items: center;
        margin: 0 auto;
    }
    .community{
        grid-row: 4/5;
    }
    .quick-links, 
    .social-media,
    .community{
        text-align: center;
    }
    .community .footer__title{
        margin: 0 auto;
    }

    .community__input-box {
        width: unset;
    }

    .header__offer{
        width: 30rem;
    }

    .collection__content {
        transform: translateY(9rem);
        text-align: center;
    }

    .collection__wrapper{
        height: 55rem;
    }



    .comment__text{
        font-size: 1.5rem;
        width: auto;
    }

    .comment__profile-img-box{
        width: 8rem;
        height: 8rem;
    }

    .bg-circle--xxl{
        width: 30rem;
        height: 30rem;
    }

    .bg-circle--xsmall{
        left: 0;
        right: 0;
        margin: 0 auto;
    }

}

/* -------------------------------------------------------------------------- */