* {
    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;
}

.catsUp {
    display: grid;
    grid-template-columns: auto;
    height: 160px;
    padding: 10px 20px;
    margin-bottom: 90px;
    width: fit-content;
}

.catsTria {
    width: 100%;
    display: flex;
    justify-content: space-around;
    transform: translateY(20px);
}

.catsUp h1 {
    background-color: #DACAFF;
    height: 135px;
    width: fit-content;
    border-radius: 20px;
    padding: 0px 20px;

    font-size: 85px;
    font-weight: 500;

    display: flex;
    align-items: center;
    justify-content: center;
}

.forma {
    background-color: #FFECFE;
    padding: 120px 0px;
}

form {
    padding: 60px 50px;
    background-color: white;
    border: 12px solid #B798FF;
    border-radius: 60px;
    width: fit-content;

    display: flex;
    flex-direction: column;
    gap: 60px;
}

.form-group {
    width: 800px;
    border: 18px solid #B798FF;
    border-radius: 60px;

    font-size: 64px;
    color: #898989;

    padding: 15px 55px;
}

.form-group:nth-child(4) {
    padding-bottom: 200px;
}

form button {
    width: 800px;
    background-color: #B798FF;
    color: white;
    font-size: 96px;
    border-radius: 60px;
    padding: 30px 0px;
    border: 0;

    transition: translate 0.2s;
}

form button:active {
    translate: 0px 5px;
}

#success-message {
    display: none;
    color: green;
    text-align: center;
    margin-top: 20px;
}

@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;
    }

    .catsUp h1 {
        font-size: 40px;
    }

    #email-form {
        margin: 0 auto;
    }

    .form-group {
        width: 400px;
    }
}

@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;
    }
}