@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    transition: transform 300ms ease;
}

.container {
    width: 1569px;
    margin: 0 auto;
}

header {
    padding: 44px 0;
}

header nav {
    float: right;
    width: 50%;
    margin-right: 500px;
    margin-top: 11px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

header nav ul li a {
    color: black;
    font-size: 20px;
    font-weight: 400;
}

header nav ul li:not(.active):not(.btn) a:hover {
    background: #F29E99;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 250ms ease;
}

header nav ul li.active a {
    background: #F29E99;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 10px;
}

.hero {
    padding-bottom: 10px;
}

.hero--info {
    width: 777px;
    z-index: 2;
    position: relative;
}

.hero--info h1 {
    font-size: 35px;
    font-weight: 600;
}

.hero--info p {
    font-size: 20px;
    font-weight: 400;
}

.hero--info li a {
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    color: black;
}

.hero img {
    position: absolute;
    top: 151px;
    right: 200px;
}

.hero .img1 {
    position: absolute;
    top: 600px;
    right: 1500px;
}

.hero .img2 {
    position: absolute;
    top: 600px;
    right: 1240px;
}

.hero .img3 {
    position: absolute;
    top: 600px;
    right: 980px;
}

.hero .img1 {
    transition: transform 300ms ease;
}

.hero .img1:hover {
    transform: scale(1.05);
}

.hero .img2 {
    transition: transform 300ms ease;
}

.hero .img2:hover {
    transform: scale(1.05);
}

.hero .img3 {
    transition: transform 300ms ease;
}

.hero .img3:hover {
    transform: scale(1.05);
}

.asortiment {
    padding-bottom: 50px;
}

.asortiment .btn {
    background: #7290AC;
    color: white;
    padding: 9px 17px;
    border-radius: 5px;
    transition: all 500ms ease;
}
.asortiment h3 {
    padding-top: 10px;
    color: #000000;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
}

.asortiment p {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    padding-top: 10px;
    text-align: center;
}

.asortiment .gaz {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 50px 0;
}

.asortiment .gaz span {
    font-size: 20px;
    font-weight: 400;
    display: block;
    text-align: center;
}

.block {
    width: 225px;
    min-height: 350px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    transition: 0.2s;
    position: relative;
    margin-bottom: 20px;
}

.block:hover {
    box-shadow: 4px 8px 16px rgba(255, 102, 51, 0.2);
}

.block img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 4px 4px 0 0;
}

.block span {
    padding: 10px;
    text-align: center;
    font-weight: 400;
    font-size: 17px;
    line-height: 150%;
    color: #414141;
}

/* Responsive Design Media Queries */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        padding-left: 25px;
        padding-right: 25px;
        box-sizing: border-box;
        max-width: 100vw;
    }

    .container {
        width: 100%;
        max-width: 100vw;
        padding: 0 25px;
        overflow-x: hidden;
        box-sizing: border-box;
        margin: 0 auto;
    }

    header .logo {
        display: block;
        margin: 20px auto 10px auto;
        text-align: center;
    }

    header .logo img {
        display: inline-block;
        max-width: 150px;
        height: auto;
    }

    header {
        padding: 20px 0;
    }

    header nav {
        float: none;
        width: 100%;
        margin: 0;
        margin-top: 10px;
    }

    header nav ul {
        flex-wrap: nowrap;
        flex-direction: column;
        justify-content: flex-start;
        overflow-x: hidden;
        padding: 0;
        margin: 0;
    }

    header nav ul li {
        flex: none;
        max-width: 100%;
        box-sizing: border-box;
        margin: 10px 0;
    }

    header nav ul li a {
        font-size: 16px;
        padding: 12px 15px;
        display: block;
        text-align: center;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero--info {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        order: 1;
    }

    .hero--info h1 {
        font-size: 28px;
    }

    .hero--info p {
        font-size: 16px;
    }

    .hero--info li a {
        font-size: 16px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero img {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        height: auto;
        order: 2;
    }

    .hero .img1,

    .asortiment h3 {
        font-size: 28px;
    }

    .asortiment p {
        font-size: 16px;
    }

    .gaz {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: hidden;
        box-sizing: border-box;
        padding-left: 0;
        margin-left: 0;
    }

    .block {
        width: 100%;
        max-width: 300px;
        margin: 10px;
        box-sizing: border-box;
    }

    .block img {
        height: 150px;
    }

    .block span {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 100%;
        max-width: 1569px;
        padding: 0 40px;
    }

    header nav {
        margin-right: 200px;
    }

    .hero img {
        right: 100px;
    }

    .hero .img1 {
        right: 1200px;
    }

    .hero .img2 {
        right: 940px;
    }

    .hero .img3 {
        right: 680px;
    }

    .gaz {
        flex-wrap: wrap;
        justify-content: center;
    }

    .block {
        width: 48%;
        margin: 10px;
    }
}

@media (min-width: 1025px) {
    .container {
        width: 1569px;
    }
}
