* {
    margin: 0 auto;
    padding: 0;

    font-family: "Alumni Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
}


header {
    background-color: #FFDFFE;
}

.head {
    width: 1440px;
    height: fit-content;
    padding: 60px auto;
}

.headUp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
}

.logo {
    display: flex;
    align-items: center;
    margin: 0 0;

    cursor: pointer;
}

.logo img {
    height: 100px;
    transform: translateY(-5px);
}

.logo h1 {
    font-family: "Allura", serif;
    font-weight: 400;
    font-size: 60px;
    color: #431DA0;
}

nav {
    margin: 0 0;
    height: 100%;
}

ul {
    display: flex;
    gap: 40px;
    align-items: center;
    height: 100%;
}

ul button {
    width: 60px;
    height: 60px;
    padding: 10px;
    margin: 0 0;
    border: none;
    background-color: #FFE1BF;
    box-shadow: 3px 8px 5px 0px;
    border-radius: 24px;
    transition: translate 3s;
    transition: box-shadow 0.05s;

    img {
        height: 50px;
        transform: translate(-3.5px, -3.5px);
    }
}

ul button:active {
    translate: 3px 8px;
    box-shadow: none;
}

header li {
    list-style: none;
    font-size: 30px;
    transition: color 0.2s;
    cursor: pointer;
}

header li:hover {
    color: rgb(80, 80, 80);
}

.headDown {
    display: flex;
}

.leftHead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 45px;
}

.leftHead h1 {
    margin: 0 0;
    font-size: 95px;
    font-weight: 400;
}

.leftHead button {
    width: 430px;
    height: 90px;
    font-size: 78px;
    border: 0;
    background-color: #FFE1BF;
    border-radius: 20px;
    box-shadow: 3px 8px 5px 0px;
    margin: 0 0;

    transition: transform 0.2s, box-shadow 0.15s, background-color 0.2s;
}

.leftHead button:hover {
    background-color: #ffd29f;
}

.leftHead button:active {
    transform: translate(3px, 8px);
    box-shadow: none;
}

.headDown img {
    max-height: 650px;
    min-height: 80%;
}

.cats {
    background-color: white;
    padding: 60px 0px;
}

footer {
    background-color: #B798FF;
    padding: 30px 0px;
    align-items: center;
}

.adresa,
.adres {
    display: flex;
    align-items: center;
}

.adres img {
    height: 100px;
}

.adresText {
    display: flex;
    flex-direction: column;
    margin-left: 25px;
}

.adresText p {
    font-size: 35px;
    color: white;
    text-align: left;
    margin: 0 0;
}

main {
    background-color: #FFECFE;
    padding: 60px 0px;
}

.hero {
    width: 1440px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chelLeft {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chelLeft img {
    width: 452px;
}

.chelLeft h1 {
    font-weight: 400;
    font-size: 58px;
    text-align: center;
}

.chelRight {
    display: flex;
    flex-direction: column;
    gap: 58px;
}

.chelRight p {
    font-weight: 400;
    font-size: 28px;
    text-align: center;
}

.hero1 {
    padding: 60px 0px;
    display: flex;
    flex-direction: column;
}

.hero1 h1 {
    font-size: 60px;
}

.cheli {
    display: flex;
    gap: 30px;
    margin: 0;
}

.chel {
    margin: 0;
    padding: 20px 40px;
    border-radius: 60px;
    background-color: #DACAFF;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: transform 0.2s;
}

.chel:active {
    transform: translate(0px, 5px);
}

.chel p {
    font-size: 30px;
}

.chel img {
    width: 201px;
    height: 230px;
}

.chel1 {
    background-color: #996EFF;
    padding: 20px 30px;
    border-radius: 80px;
    display: flex;
}

@media screen and (min-width: 1560px) {

    .hero,
    .head {
        width: 1440px;
    }
}

@media screen and (max-width: 1560px) and (min-width: 1200px) {

    .hero,
    .head {
        width: 1024px;
    }

    .catSlider,
    .tovarSlider {
        width: 1000px;
        padding-left: 40px;
    }

    .leftHead h1,
    .leftCredits h1 {
        font-size: 85px;
    }

    .chelik img {
        height: 300px;
    }
}

@media screen and (max-width: 1200px) {
    header {
        clip-path: view-box;
    }

    .headUp {
        flex-direction: column;
    }

    .headDown img {
        position: absolute;
        height: 450px;
        transform: scale(0.5) translateY(-353px) translateX(-150px);
        z-index: 1;
        mix-blend-mode: luminosity;
        opacity: 0.5;
    }

    .leftHead {
        z-index: 2;
        align-items: center;
    }

    .leftHead h1,
    .leftCredits h1 {
        text-align: center;
    }

    .head {
        padding: 60px 0px;
    }

    .hero,
    .head {
        width: 720px;
    }

    /* .cat:nth-child(3),
    .tovar:nth-child(3),
    .cat:nth-child(2),
    .tovar:nth-child(2) {
        display: none;
    } */

    .leftHead h1,
    .leftCredits h1 {
        font-size: 85px;
    }

    .catSlider,
    .tovarSlider {
        width: 600px;
        padding-left: 100px;
    }

    .cheliki {
        flex-direction: column;
        gap: 15px;
    }

    .chelik img {
        height: 400px;
    }

    .textCredits {
        flex-direction: column;
        gap: 30px;
    }

    .leftCredits,
    .rightCredits {
        width: 100%;
        align-items: center;
    }

    .rightCredits li {
        width: 70%;
    }

    .leftCredits h1 {
        width: auto;
    }

    .adresa {
        flex-direction: column;
        gap: 30px;
    }

    .adres {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .adres p,
    .adres img {
        margin: 0 0;
        width: fit-content;
    }

    .adresText {
        width: 80%;
        margin: 0 0;
    }

    .chelRight p {
        font-size: 30px;
    }

    .chelRight {
        display: flex;
        flex-direction: row;
    }

    .hero {
        display: flex;
        flex-direction: column;
    }

}

@media screen and (max-width: 800px) {

    .hero,
    .head {
        width: 560px;
    }

    ul {
        flex-wrap: wrap;
        z-index: 2;
    }

    .cat:nth-child(3),
    .tovar:nth-child(3),
    .cat:nth-child(2),
    .tovar:nth-child(2) {
        display: flex;
    }

    .catSlider,
    .tovarSlider {
        width: 500px;
        padding-left: 20px;
    }

    .leftHead h1,
    .leftCredits h1 {
        font-size: 60px;
    }

    .headDown img {
        transform: scale(0.5) translateY(-450px) translateX(-350px);
    }

    .leftCredits button {
        width: 250px;
        height: 60px;
        font-size: 25px;
    }

    .rightCredits p,
    .rightCredits li {
        font-size: 35px;
    }

    .credits {
        background-size: 100% 100%;
    }

    .chel1:last-child {
        display: none;
    }

    nav ul {
        gap: 10px;
    }

    .chelRight p{
        font-size: 20px;
    }
}

@media screen and (max-width: 580px) {

    .hero,
    .head,
    .leftHead button,
    .catsUp h1,
    .catsUp,
    .catsTria {
        width: 360px;
    }

    .logo {
        margin-bottom: 15px;
    }

    .headUp {
        height: fit-content;
        margin-bottom: 30px;
    }

    ul {
        height: fit-content;
        flex-wrap: wrap;
        z-index: 2;
        column-gap: 10px;
        row-gap: 10px;
    }

    li {
        font-size: 20px;
    }

    .catsList,
    .tovarsDown {
        button {
            display: none;
        }
    }

    .catSlider,
    .tovarSlider {
        width: 550px;
        padding-left: 0px;
    }

    .leftHead h1,
    .leftCredits h1 {
        font-size: 40px;
    }

    .headDown img {
        transform: scale(0.5) translateY(-450px) translateX(-65%);
    }

    .chelik img {
        height: 300px;
    }

    .otherUp h1 {
        font-size: 65px;
        height: 100px;
    }

    .rightCredits p,
    .rightCredits li {
        font-size: 25px;
    }

    .adresText p {
        font-size: 25px;
    }

    .chelLeft img {
        width: 300px;
    }
}

@media screen and (max-width: 360px) {
    * {
        width: 0px;
    }
}