@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf');
    font-weight: 100;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf');
    font-weight: bold;
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 1000px) {
    ::selection {
        background-color: orange;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    a {
        text-decoration: none;
        color: #333;
    }

    hr {
        border: 1px solid #52d2ff;
    }

    body {
        font-family: Montserrat, Arial, sans-serif;
    }

    .container {
        width: 1380px;
        margin: 0 auto;
    }

    /* HOME SECTION STYLES */
    .container__home {
        height: 1011px;
    }

    .container__home_bg_image {
        position: absolute;
        top: 0;
        z-index: -1;
        width: 1380px;
        height: 1011px;
        background-image: url('../img/home-bg.png');
        background-repeat: no-repeat;
    }

    .container__home_bg_bottom_image {
        position: absolute;
        top: 385px;
        z-index: 2;
        width: 1380px;
        height: 525px;
        background-repeat: no-repeat;
        background-image: url('../img/stuff-before.png');
    }

    .container__home_header {
        background-image: url("../img/header-bg.png");
        background-position: 0 0;
        background-repeat: no-repeat;
        height: 253px;
        padding: 40px 0;
        margin: 0 auto;
    }

    .container__home_header_block {
        height: 50px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
        gap: 3em;
        margin-right: 170px;
        color: #fff;
    }

    .container__home_header_block_logo {
        margin-right: 100px;
    }

    .container__home_header_block_nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3em;
        list-style-type: none;
    }

    .container__home_header_block_nav a {
        color: #52d2ff;
        transition: all 1s ease-out;
        font-weight: bold;
    }

    .container__home_header_block_nav a:hover {
        color: #fff;
    }

    .container__home_header_block_phone {
        font-weight: bold;
    }

    .container__home_header_block_menu-button {
        display: none;
    }

    .container__home_block {
        position: relative;
        top: -65px;
        left: 140px;
        display: flex;
        flex-direction: row;
        gap: 4em;
        width: 80%;
        margin: 0 auto;
    }

    .container__home_block_title {
        width: 50%;
    }

    .container__home_block_title h2 {
        margin-bottom: 1em;
        color: #fff;
        text-align: center;
    }

    .container__home_block_title p {
        color: #fff;
        text-align: justify;
        line-height: 1.3em;
    }

    .container__home_block_image {
        position: relative;
        top: 50px;
        width: 153px;
        height: 119px;
        background-image: url('../img/home-img2.png');
        background-repeat: no-repeat;
    }

    /* STUFF SECTION STYLES */
    .container__stuff {
        height: 894px;
    }

    .container__stuff_bg_image {
        position: absolute;
        top: 829px;
        z-index: -2;
        width: 1380px;
        height: 894px;
        background-image: url('../img/stuff-bg.png');
        background-repeat: no-repeat;
    }

    .container__stuff_block {
        position: relative;
        bottom: 20px;
        width: 90%;
        display: flex;
        flex-direction: row;
        gap: 3em;
        justify-content: center;
        margin: 0 auto;
    }

    .container__stuff_block_title {
        width: 50%;
    }

    .container__stuff_block_title h2 {
        margin-bottom: 1em;
        color: #fff;
        text-align: center;
    }

    .container__stuff_block_title p {
        margin-bottom: 1em;
        color: #fff;
        text-align: justify;
        line-height: 1.3em;
    }

    .container__stuff_block_image {
        position: relative;
        bottom: 169px;
        width: 541px;
        height: 836px;
        background-image: url('../img/worker.png');
        background-repeat: no-repeat;
    }

    /* CAN SECTION STYLES */
    .container__can {}

    .container__can_bg_image {
        position: absolute;
        top: 1445px;
        z-index: -3;
        width: 1380px;
        height: 1336px;
        background-image: url('../img/can-bg.png');
        background-repeat: no-repeat;
    }

    .container__can_bg_bottom_image {
        position: absolute;
        top: 1686px;
        z-index: 1;
        width: 1380px;
        height: 65px;
        background-image: url('../img/stuff-after.png');
        background-repeat: no-repeat;
        background-position: 0 0;
    }

    .container__can_block {
        position: relative;
        bottom: 80px;
        width: 80%;
        margin: 0 auto;
    }

    .container__can_block h2 {
        color: #fff;
        text-align: center;
        margin-bottom: 1em;
    }

    .container__can_block h3 {
        color: #fff;
        text-align: center;
        font-weight: 100;
        margin-bottom: 1em;
    }

    .container__can_block_lists {
        display: flex;
        justify-content: center;
        gap: 3em;
        width: 80%;
        margin: 0 auto 2em;
        padding: 0 1.25em;
    }

    .container__can_block_lists ul {
        width: 40%;
        color: #fff;
    }

    .container__can_block_lists ul li {
        margin-bottom: 0.5em;
    }

    .container__can_block_lists ul li::marker {
        color: #52d2ff;
        font-size: 0.75em;
        margin-bottom: 1em;
    }

    /* PROJECTS SECTION STYLES */
    .container__projects {
        margin-bottom: 100px;
    }

    .container__projects_bg_image {
        position: absolute;
        width: 1380px;
        height: 298px;
        top: 2483px;
        z-index: 1;
        background-image: url('../img/objects-before.png');
        background-repeat: no-repeat;
    }

    .container__projects_block {
        margin-top: 150px;
    }

    .container__projects_block h2 {
        text-align: center;
        margin-bottom: 3em;
    }

    .container__projects_block_items {
        /* position: relative;
        top: 100px; */
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 3em;
    }

    .container__projects_block_items_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: start;
        width: 20%;
    }

    .container__projects_block_items_item_image[number="0"] {
        width: 216px;
        height: 216px;
        background-image: url('../img/objects-img0.png');
        background-repeat: no-repeat;
        margin-bottom: 1.5em;
    }

    .container__projects_block_items_item_image[number="1"] {
        width: 216px;
        height: 216px;
        background-image: url('../img/objects-img1.png');
        background-repeat: no-repeat;
        margin-bottom: 1.5em;
    }

    .container__projects_block_items_item_image[number="2"] {
        width: 216px;
        height: 216px;
        background-image: url('../img/objects-img2.png');
        background-repeat: no-repeat;
        margin-bottom: 1.5em;
    }

    .container__projects_block_items_item p {
        width: 70%;
        text-align: center;
    }

    /* FOOTER SECTION STYLES*/
    footer {
        height: 160px;
        background-image: url('../img/footer-bg.png');
        background-repeat: no-repeat;
        background-position: right bottom;
    }

    footer hr {
        position: relative;
        top: 50px;
    }

    .footer__bg_image {
        position: relative;
        z-index: -1;
        width: 1380px;
    }

    .container__footer_menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 90%;
        margin: 5em auto 0;
    }

    .container__footer_menu_logo {
        width: 73px;
        height: 28px;
        background-image: url('../img/logo.png');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .container__footer_menu_links {
        display: flex;
        gap: 3em;
    }

    .container__footer_menu_links a {
        color: #07387a;
        font-weight: bold;
        font-size: 0.85em;
        cursor: pointer;
    }
}

/* **************** */
/* **************** */
/* **************** */
/* MOBILE STYLES */
@media (300px < width < 1000px) {
    body {
        background-color: #fff;
        font-family: Montserrat, Arial, sans-serif;
        color: #fff;
    }

    h2 {
        font-size: 1em;
    }

    h3 {
        font-size: 0.9em;
    }

    p {
        font-size: 0.85em;
    }

    /* ******************* */
    /* HOME SECTION STYLES */
    /* ******************* */
    .container__home {
        background-image: url('../img/home-bg.png');
        background-color: #07387a;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .container__home_header {
        width: 100%;
        height: 150px;
        background-image: url('../img/header-bg.png');
        background-size: contain;
        background-repeat: no-repeat;
    }

    .container__home_header_block {
        padding: 1.5em 2em;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .container__home_header_block_logo {
        width: 100px;
    }

    .container__home_header_block_nav {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        padding: 2em 1.5em;
        background-color: #07387a;
        list-style: none;
        transition: all 2s ease-out;
        transition-behavior: allow-discrete;
        opacity: 0;
    }

    .menu-active {
        display: block;
        opacity: 0.9;
    }

    .container__home_header_block_nav li {
        margin-bottom: 1em;
    }

    .container__home_header_block_nav li a {
        text-decoration: none;
        color: #fff;
    }

    .container__home_header_block_phone {
        display: none;
        color: #07387a;
        font-size: 1rem;
    }

    .container__home_header_block_menu-button {
        width: 30px;
        height: 30px;
        margin-left: 1em;
        background-image: url('../img/menu-button-30-white.png');
    }

    .container__home_block {
        display: flex;
        flex-direction: column;
        align-content: center;
        gap: 1.5em;
        padding: 1.5em 2em;
    }

    .container__home_block_title h2 {
        text-align: center;
        margin-bottom: 1em;
    }

    .container__home_block_title p {
        margin-bottom: 2em;
    }

    .container__home_block_image {
        width: 153px;
        height: 119px;
        margin: 0 auto;
        background-image: url('../img/home-img2.png');
        background-repeat: no-repeat;
    }

    /* ******************** */
    /* STUFF SECTION STYLES */
    /* ******************** */
    .container__stuff {
        position: relative;
        background-color: #fff;
        color: #07387a;
    }

    .container__stuff_block {
        display: flex;
        flex-direction: column;
        align-content: center;
        padding: 1.5em 2em 0 2em;
    }

    .container__stuff_block_title h2 {
        text-align: center;
        margin-bottom: 1em;
    }

    .container__stuff_block_title p {
        font-size: 0.85em;
        margin-bottom: 1em;
    }

    .container__stuff_block_title p:last-child {
        margin-bottom: 0;
    }

    .container__stuff_block_image {
        width: 100%;
        height: 500px;
        background-image: url('../img/worker.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    /* ****************** */
    /* CAN SECTION STYLES */
    /* ****************** */
    .container__can {
        position: relative;
        background-color: #07387a;
    }

    .container__can_block {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        gap: 1.5em;
        padding: 2em;
    }

    .container__can_block h2,
    h3 {
        text-align: center;
    }

    .container__can_block_lists {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 2em;
    }

    .container__can_block_lists ul {
        flex: 1;
    }

    .container__can_block_lists li {
        font-size: 0.6em;
        margin-bottom: 1em;
    }

    /* *********************** */
    /* PROJECTS SECTION STYLES */
    /* *********************** */
    .container__projects {
        background-color: #fff;
    }

    .container__projects_block {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #07387a;
        padding: 2em;
    }

    .container__projects_block h2 {
        margin-bottom: 2em;
    }

    .container__projects_block_items {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 65%;
    }

    .container__projects_block_items_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2em;
    }

    .container__projects_block_items_item:last-child {
        margin-bottom: 0;
    }

    .container__projects_block_items_item_image {
        width: 75%;
        height: 150px;
        margin-bottom: 0.5em;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .container__projects_block_items_item_image[number='0'] {
        background-image: url('../img/objects-img0.png');
    }

    .container__projects_block_items_item_image[number='1'] {
        background-image: url('../img/objects-img1.png');
    }

    .container__projects_block_items_item_image[number='2'] {
        background-image: url('../img/objects-img2.png');
    }

    /* ****************** */
    /* FOOTER SECTION STYLES */
    /* ****************** */
    footer {
        position: relative;
        width: 100%;
        height: 80px;
        /* background-color: #fff; */
        background-image: url('../img/footer-bg.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom right;
    }

    footer hr {
        position: absolute;
        top: 20px;
        width: 100%;
        border: 1px solid #52d2ff;
    }

    .container__footer_menu_logo {
        display: none;
    }

    .container__footer_menu {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 20px 2em 0;
    }

    .container__footer_menu_links {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 2em;
    }

    .container__footer_menu_links a {
        text-decoration: none;
        font-size: calc(2vw);
        color: #07387a;
    }

    .container__footer_menu_phone {
        display: none;
    }
}