/* create normalize */
:root {
    --barlow: 'Barlow', sans-serif;
    --fransuc: 'Fraunces', serif;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
li,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}

html,
body {
    display: block;
}

/* create container */

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 40px;
}

/* start header */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 44px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 33px;
}

.burger {
    display: none;
}

.header__nav a {
    font-family: var(--barlow);
    font-size: 12px;
    font-weight: 700;
    color: #83888f;
    line-height: 15px;
    text-transform: uppercase;
}

/* mobil v */

@media (max-width: 560px) {
    .burger {
        display: flex;
        flex-direction: column;
        gap: 3px;
        width: 20px;
        border: none;
        background-color: transparent;
    }

    .burger span {
        display: inline-block;
        width: 100%;
        height: 3px;
        background-color: #979797;
        border-radius: 1.5px;
    }

    .header__nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;

        background-color: #0009;
        height: 100vh;

        flex-direction: column;
        padding-top: 130px;
        align-items: center;

        transition: 0.8s;
    }
    .header__nav a {
        font-size: 24px;
        line-height: 32px;
        color: #333d4b;
        font-family: var(--fransuc);
    }

    .show {
        left: 0;
    }

    .open {
        position: relative;
    }

    .open span:nth-child(1) {
        position: absolute;
        transform: rotate(45deg);
    }

    .open span:nth-child(2) {
        opacity: 0;
        visibility: hidden;
    }

    .open span:nth-child(3) {
        position: absolute;
        transform: rotate(-45deg);
    }
}

/* section intro */

.intro {
    background-image: url('./image/Bitmap.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding: 117px 85px;
    color: #fefcf7;
    border-radius: 10px;
}

.intro h1 {
    max-width: 493px;
    font-size: 72px;
    line-height: 72px;
    font-family: var(--fransuc);
    font-weight: 700;
}

.intro p {
    font-size: 16px;
    font-family: var(--barlow);
    line-height: 26px;
    max-width: 445px;
    margin-block: 32px 56px;
}

.btn {
    background-color: #0e8784;
    border: none;
    padding: 15px 31px;
    border-radius: 10px;
    color: #fefcf7;
    font-size: 18px;
    line-height: 25px;
    font-family: var(--fransuc);
    font-weight: 700;
}

@media (max-width: 960px) {
    .intro {
        padding: 104px 58px;
    }

    .intro h1 {
        max-width: 329px;
        font-size: 48px;
        line-height: 48px;
    }

    .intro p {
        font-size: 15px;
        line-height: 25px;
        margin-block: 24px 40px;
    }
}

@media (max-width: 560px) {
    .intro {
        padding: 100px 24px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .intro h1 {
        font-size: 40px;
        line-height: 40px;
        text-align: center;
    }
    .intro p {
        margin-inline: auto;
        text-align: center;
    }
}

/* start collection section */

.collection {
    margin-top: 136px;
}

.col__img {
    width: 1111px;
    height: 196px;
}
.col__img img {
    width: 100%;
    height: 100%;
}

.col__main {
    display: flex;
    margin-top: -100px;
    align-items: center;
    justify-content: space-between;
}

.card__img {
    width: 255px;
    height: 193px;
}

.card__img img {
    width: 100%;
    height: 100%;
}

.card__body {
    margin-top: 71.55px;
}

.card__body h1 {
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    font-family: var(--fransuc);
    margin-bottom: 24px;
}

.card__body p {
    max-width: 255px;
    font-family: var(--barlow);
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}

@media (max-width: 960px) {
    .col__img {
        width: 689px;
        height: 118px;
    }
    .col__main {
        flex-direction: column;
    }
    .card {
        display: flex;
        align-items: center;
        gap: 35px;
    }
    .card__body {
        margin-top: 0;
    }
}

@media (max-width: 540px) {
    .card {
        display: flex;
        flex-direction: column;
    }

    .col__img {
        width: 320px;
    }

    .col__main {
        margin-top: 0;
    }
}



/* start shopping section */
.shopping {
    margin-top: 200px;
    max-width: 1280px;
    min-height: 580px;
    background-color: #2c343e;
    padding-bottom: 100px;
}

.shopping__top {
    
    margin-inline: auto;
    padding-top: 100px;
    padding-bottom: 90px;
    max-width: 540px;
}

.shopping__top h1 {
    font-size: 48px;
    line-height: 48px;
    font-family: var(--fransuc);
    text-align: center;
    color: #fefcf7;
}

.shopping__top p {
    font-size: 16px;
    line-height: 26px;
    font-family: var(--barlow);
    text-align: center;
    color: #fefcf7;
    margin-top: 24px;
}

.shopping__bottom {
    max-width: 1110px;
    margin-inline: auto;
    position: relative;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.shopping__card {
    max-width: 350px;
    background-color: #0e8784;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 8px;
    /* padding: 40px 0; */
}
.shopping__img {
    max-width: 72px;
    max-height: 72px;
    margin-block: 72px 56px;
}

.shopping__img img {
    width: 100%;
    height: 100%;
}

.shopping__text {
    /* max-width: 255px; */
    text-align: center;
    color: #fefcf7;
    /* margin-block: 56px 48px; */
    font-family: var(--barlow);
    font-size: 16px;
    line-height: 26px;
    padding: 0 45px 48px 45px; /* O'ng va chapdan 45px, pastdan 48px masofa */
}

.shopping__text h4 {
    font-size: 24px;
    line-height: 36px;
    font-family: var(--fransuc);
    margin-bottom: 16px;
}

.shopping__text p {
    /* margin-bottom: 32px; */
    max-width: 255px;
}


/* tablet responsive for shopping section */
@media (max-width: 960px) {
    .shopping__top {
        max-width: 688px;
        padding-bottom: 120px; /* shopping__bottom uchun joy qoldirish */
    }
    
    .shopping__bottom {
        flex-direction: column;
        gap: 24px;
        transform: translateY(-50%);
    }
    
    .shopping__card {
        max-width: 573px;
        width: 100%;
        flex-direction: row;
        padding: 40px 0;
    }
    
    .shopping__img {
        margin: 0 48px 0 70px;
        min-width: 72px;
    }
    
    .shopping__text {
        text-align: left;
        padding: 0 48px 0 0;
    }
}

/* mobile responsive for shopping section */
@media (max-width: 560px) {
    .shopping__top {
        padding-bottom: 150px; /* shopping__bottom uchun joy qoldirish */
    }
    
    .shopping__bottom {
        flex-direction: column;
        gap: 56px;
        transform: translateY(-50%);
    }
    
    .shopping__card {
        max-width: 350px;
        flex-direction: column;
        text-align: center;
    }
    
    .shopping__img {
        margin: 72px 0 56px 0;
    }
    
    .shopping__text {
        text-align: center;
        padding: 0 45px 48px 45px;
    }
}

/* start work section */
.pattern {
    max-width: 760px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #fdd6ba;
    margin-block: 80px;
}

.pattern span {
    display: inline-block;
    width: 31px;
    height: 31px;
    border: 2px solid #0e8784;
    border-radius: 100%;
    margin-bottom: -15px;
    background-color: white;
}
.work {
    /* margin-top: 200px; */
    max-width: 1280px;
    margin-inline: auto;
    margin-block: 200px 70px; /* tepa va past */
}
.work__cards {
    max-width: 1045px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.work__card {
    max-width: 285px;

}

.work__card h1 {
    max-width: 90px;
    font-size: 24px;
    line-height: 36px;
    font-family: var(--fransuc);

}
/* stop work section */
  
