@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;
        background-color: #07387a;
    }

    .container {
        width: 1380px;
        margin: 0 auto;
    }

    /* HOME SECTION STYLES */
    .container__home_header {
        position: relative;
        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_inner-image {
        position: absolute;
        top: 0;
        right: 0;
        z-index: -1;
        width: 1380px;
        height: 253px;
        background-image: url('../img/header-inner-bg.png');
        background-repeat: no-repeat;
        background-position: top right;
    }

    .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;
    }

    /* CONTACTS SECTION STYLES */
    .container__contact {
        display: flex;
        align-items: start;
        justify-content: space-between;
        gap: 10em;
        padding-left: 300px;
        width: 1380px;
        height: calc(100vh - 253px - 100px);
    }

    .container__contact_text-block {
        width: 300px;
        padding-top: 2em;
        color: #fff;
    }

    .container__contact_text-block h2 {
        margin-bottom: 1em;
    }

    .container__contact_text-block p {
        margin-bottom: 2em;
        line-height: 1.5em;
        color: #52d2ff;
    }
    
    .container__contact_text-block p span {
        font-weight: bold;
        color: #fff;
    }

    .container__contact_bg-image {
        width: 650px;
        height: 400px;
        background-image: url('../img/contacts-bg.png');
    }

    /* FOOTER SECTION STYLES*/
    footer {
        height: 100px;
        background-image: url('../img/footer-bg4.png');
        background-repeat: no-repeat;
        background-position: right bottom;
    }

    footer hr {
        position: relative;
        top: 20px;
    }

    .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: 3em auto 0;
        padding-left: 180px;
    }

    .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 {
        position: relative;
        height: 100dvh;
        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;
    }

    /* ******************** */
    /* CONTACT SECTION STYLES */
    /* ******************** */
    .container__contact {
        width: 100%;
    }

    .container__contact_text-block {
        width: 70%;
        margin: 0 auto;
        padding: 2em;
    }

    .container__contact_text-block > * {
        margin-bottom: 1em;
    }

    .container__contact_text-block p {
        color: #52d2ff;
    }

    .container__contact_text-block span {
        color: #fff;
    }

    /* ****************** */
    /* FOOTER SECTION STYLES */
    /* ****************** */
    footer {
        position: absolute;
        bottom: 0;
        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;
    }
}