@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;
    }

    .active {
        border-bottom: 2px solid #ccc;
    }

    .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;
    }

    /* NEWS SECTION STYLES */
    .container__news {
        display: flex;
        align-items: start;
        justify-content: center;
        gap: 10em;
        width: 1380px;
        height: calc(100vh - 253px - 100px);
    }

    .container__news_text-block {
        color: #fff;
        text-align: center;
    }

    .container__news_text-block_menu {
        display: flex;
        justify-content: center;
        gap: 2em;
    }

    .container__news_text-block_menu_btn {
        display: block;
        padding: 0.5em 1em;
        text-transform: uppercase;
        font-weight: bold;
        cursor: pointer;
    }

    .container__news_text-block table {
        border-collapse: collapse;
        width: 700px;
    }

    .container__news_text-block table caption {
        margin-bottom: 1em;
    }

    .container__news_text-block table a {
        color: #52d2ff;
    }

    .container__news_text-block table a:first-child {
        margin-right: 1em;
    }

    .container__news_text-block table a:hover {
        color: #fff;
    }

    .container__news_text-block table tr {
        display: grid;
        grid-template-columns: 1fr 5fr 4fr;
        padding-top: 1em;

    }

    .container__news_text-block table tr th {
        text-align: left;
    }

    .container__news_text-block table tr th:last-child {
        text-align: right;
    }

    .container__news_text-block table tr td {
        padding-bottom: 1em;
        padding-right: 1em;
        text-align: left;
        border-bottom: 1px solid #52d2ff;
        font-weight: bold;
        font-size: 0.85em;
    }

    .container__news_text-block table tr td:nth-child(2) {
        font-weight: normal;
    }

    .container__news_text-block table tr td:last-child {
        text-align: right;
        padding-right: 0;
    }

    .container__news_text-block table tr td:last-child a::before {
        content: url('../img/icon-load.png');
        width: 13px;
        height: 12px;
        margin-right: 0.5em;
    }

    .container__news_text-block h2 {
        margin-bottom: 1em;
    }

    .container__news_text-block p {
        margin-bottom: 2em;
        line-height: 1.5em;
        color: #52d2ff;
    }
    
    .container__news_text-block p span {
        font-weight: bold;
        color: #fff;
    }
    
    /* 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;
    }

    .active {
        border-bottom: 1px solid #ccc;
    }

    /* ******************* */
    /* HOME SECTION STYLES */
    /* ******************* */
    .container {
        position: relative;
        min-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__info {
        width: 100%;
        min-height: calc(100dvh - 230px);
    }

    .container__info_text-block {
        width: 100%;
        padding: 2em;
        text-align: center;
    }

    .container__info_text-block_menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2em;
    }

    .container__info_text-block_tables {
        color: #fff;
    }

    .container__info_text-block_menu_btn {
        display: inline-block;
        padding: 0.5em 1em;
        text-transform: uppercase;
        font-weight: bold;
        cursor: pointer;
    }

    .container__info_text-block table {
        border-collapse: collapse;
        width: 100%;
    }

    .container__info_text-block table caption {
        font-size: 0.9rem;
        margin-bottom: 1em;
    }

    .container__info_text-block table a {
        color: #52d2ff;
    }

    .container__info_text-block table a:first-child {
        margin-right: 1em;
    }

    .container__info_text-block table a:hover {
        color: #fff;
    }

    .container__info_text-block table tr {
        height: 2em;
    }

    .container__info_text-block table tr th {
        text-align: left;
    }

    .container__info_text-block table tr th:last-child {
        text-align: right;
    }

    .container__info_text-block table tr td {
        width: 50%;
        text-align: left;
        border-bottom: 1px solid #52d2ff;
        font-weight: bold;
        font-size: 0.5rem;
    }

    .container__info_text-block table tr td:last-child {
        text-align: right;
    }

    .container__info_text-block table tr td:last-child a::before {
        content: url('../img/icon-load.png');
        width: 2rem;
        height: 1rem;
        margin-right: 0.5em;
    }

    .container__info_text-block h2 {
        margin-bottom: 1em;
    }

    .container__info_text-block p {
        color: #52d2ff;
    }
    
    .container__info_text-block p span {
        font-weight: bold;
        color: #fff;
    }

    /* ****************** */
    /* 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;
    }
}