@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');

:root {
    --header-height: 3.5rem;
  
    /* colors */
    --title-color: hsl(250, 8%, 15%);
    --text-color: hsl(250, 8%, 35%);
    --body-color: hsl(250, 60%, 98%);
    --container-color: #fff;
    --scroll:hsl(250,12%, 90%);
    --scroll-thumb:hsl(250, 12% , 80%);
    --shadow: hsla(0, 0%, 15%, 0.1);
    --hue:0;
    --first-color:#0dcaf0c9;
    --first-color-alt:hsl(var(--hue),88%,51%)
  
    /* Font  */
  
    --body--font: "Poppins", sans-serif;
    --biggest-font-size: 4rem;
    --h1-size: 2.25rem;
    --h2-size: 1.5rem;
    --h3-size: 1.25rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;
    --smaller-size: 0.813rem;
  
    /* font-weight */
    --font-medium: 500;
    ---font-bold: 600;
  
    /* margins */
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
  
    /* z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
  }
@media screen and (max-width:992px) {
    :root{
        --biggest-font-size:2rem;
        --h1-size:1.5rem;
        --h2-size:1.25rem;
        --h3-size:1rem;
        --normal-size:0.938rem;
        --small-size:0.813rem;
        --smaller-size:0.75rem;
    }
}

@media screen and (max-width:1200px) {
    .home__img{
        height: 400px;
    }
   
}

@media screen and (max-width:992px){
    .section__title{
        font-size: var(--h2-size);
        margin-bottom: var(--mb-2);
    }
    .home__content{
        padding: 8rem 0 2rem;
    }
    .home__img{
        height: 300px;
        transform: translateY(0);
    }
    .home__indicator{
        bottom: initial;
        left: initial;
        top: 7rem;
        right: 2rem;
    }
    .home__indicator::after{
        top: -3rem;
        height: 48px;
    }
    .home__details-img{
        right: .5rem;
        bottom: initial;
         
    }
    .home__description{
        padding-right: 0;
    }
    .swiper-pagination{
        margin-top: var(--mb-2);
    }
    .discount__container{
        column-gap: 3rem;
    }
    .new__content{
        width: 242px;
        padding: 2rem 0 1.5rem 0;
    }
    .new__img{
        width: 120px;
    }
    .new__img,.new__subtitle{
        margin-bottom: var(--mb-0-5);
    }
    .new__title{
        font-size: var(--normal-size);
    }
    .divider__img {
        height: 30vh !important;
    
    }
    .shop__container{
        grid-template-columns: 520px;
         justify-content: center;
         row-gap: 2rem;
    }
    .pagination{
        justify-content: center;
        margin-top: var(--mb-1);
    }
    .shop__content{
        padding: 2rem 0 1.5rem 0;
        border-radius: .75rem;
    }
    .shop__img{
        width: 120px;
    }
    .shop__img,.shop__subtitle{
        margin-bottom: var(--mb-0-5);
    }
    .shop__title{
        font-size: var(--normal-size);
    }
    .blog__post{
        column-gap: 1.6rem;
    }
    .blog__title{
        font-size: var(--normal-size);
    }
  .contact__inputs{
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }
  .about__container{
column-gap: 4rem;
  }
    .about__img{
        width: 280px;   
    }
    .details__container{
        grid-template-columns: 1.1fr .9fr;
    }
    .details__title{
        margin-bottom: var(--mb-0-5);
    }
}


/* media screen 767px */

@media screen and (max-width:768px) {
    body{
        margin: var(--header-height) 0 0 0 ;
    }
    .nav{
        height: var(--header-height);
    }
.nav__menu{
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding: 6rem 2rem 3.5rem;
    transition: .3s;
}
.show-menu{
    right: 0!important;
}
.nav__list{
    flex-direction: column;
    row-gap: 2rem;
    align-items: center ;
}
.nav__close,.nav__toggle{
display: block;
}
    .section{
        padding: 4rem 0 2rem;
    }
    .home_content{
        padding: 4rem 0;
        column-gap: 0rem;
    }
    .home__img{
        height: 250px;
    }
    .home__title{
        margin-bottom: var(--mb-1);
    }
    .home__description{
        margin-bottom: var(--mb-1-5);
    }
    .swiper-pagination{
        margin-top: var(--mb-1-5);
    }
    .discount__container{
        grid-template-columns: 1fr;
        row-gap: 1.25rem;
        padding: 2.5rem 0 1.5rem;
        border-radius: 1rem;
    }
    .discount__img{
        justify-self:center ;
        order: 1;
    }
    .discount__data{
        padding-left: 0;
    }
    .newsletter__container{
        grid-template-columns: .7fr;
    }
    .footer__bottom{
        margin-top: 4.5rem;
    }
    .blog__post{
        grid-template-columns: repeat(2,1fr);
    }
    .about__container{
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }
    .details__container{
     grid-template-columns: .8fr;
     justify-content: center;
     row-gap: 2rem;
    }
}

/* screen 567px */
@media screen and  (max-width:567px){
    .newsletter__container{
        grid-template-columns: 1fr;
    }
    .login,.cart{
        width: 100%;
    }
    .home_content{
        padding: 2rem 0;
        column-gap: 0rem;
    }    
    .shop__items{
        grid-template-columns: 1fr;
    }
    .pagination span{
        height: 1.8rem;
        width: 1.8rem;
        line-height: 30px;
    }
    .pagination{
        column-gap: .4rem;
    }
    .blog__post{
        grid-template-columns: 1fr;
        row-gap: .8rem;
    }
    .contact__container{
        grid-template-columns: 1fr;
        row-gap: 2rem;
        padding: 1.5rem;
    }
    .details__container{
        grid-template-columns: 1fr;
    }
}

/* 367px */

@media screen and (max-width:320px) {
    .home_content{
        padding: 1rem 0;
        column-gap: 0rem;
    }
    .nav{
        column-gap: 0;
    }
    .home__content.grid{
        grid-template-columns: 1fr;
    }
    .home__img{
        width: 200px;
    }
    .home__buttons{
        flex-direction: column;
        width: max-content;
        row-gap: 1rem;
    }
    .pagination span{
        font-size: var(--small-size);
    }
    .blog__post{
        padding: .8rem;
    }
}