/* ========= variable ==========*/

:root {
    --color-primary: #007BF3;

    --text-primary: calc(23px + 23 * (100vw - 320px) / (1950 - 320));
}

/* ========= / variable ==========*/

/* ========== / base settings =========  */

/* ========== base settings =========  */

* {
    font-family: "Gilroy";
    font-weight: 400;
}

body {
    color: black;
}

img {
    width: 100%;
    height: 100%;
}

.container {
    max-width: 1250px;
    padding: 10px 30px;
    margin: 0 auto;
}

.burger {
    display: none;
    width: 17px;
    height: 14px;
    flex-direction: column;
    justify-content: space-between;

    position: relative;
    z-index: 2;
}

.burger span {
    background: var(--color-primary);
    width: 17px;
    height: 2px;
}

/* ========== / base settings =========  */

/* ======== header ============= */

.header__inner {
    max-width: 1160px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 61px;

    padding: 0 30px;

    background: white;
    border-radius: 75px;
}

/* ======== navbar ============= */

.nav__close,
.mobile__nav {
    display: none;
}

.nav--close {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(34, 37, 59, .5);
    z-index: 1;
    transition: background-color .3s ease;
}

.nav--open {
    display: block;
}

.header__nav-list {
    display: flex;
    gap: 65px;

    position: relative;
    z-index: 3;

}

.header__nav-link {

    font-size: 18px;
    line-height: 13px;
    font-weight: normal;

    transition: .7s;
}

.header__nav-link:hover {
    color: var(--color-primary);
}

.header__btn {
    color: white;
    font-size: 15px;
    line-height: 12.53px;

    padding: 10px 15px;

    border-radius: 34px;
    background: var(--color-primary);

    transition: .7s;
}

.header__btn:hover {
    transform: scale(1.1);
}

/* ======== / navbar ============= */

/* ======== / header ============= */



/* ======== media =========== */


@media (max-width: 1000px) {
    .header__nav-link {
        font-size: 14px;
    }
}

@media (max-width: 800px) {

    .nav__close-btn {
        position: absolute;
        top: 25px;
        right: 18px;
    }

    .header__nav-link {
        font-weight: 500;
        font-size: 20px;
        line-height: 20px;
        color: #22253B;
    }

    .header__nav-item {
        margin-bottom: 15px;
    }

    .mobile__nav {
        margin-top: 235px;
    }

    .nav__close,
    .mobile__nav {
        display: block;
    }

    .header__nav-list {
        transform: translate(-3%, -100%);
        position: absolute;
        top: 0;
        right: 0;
        left: .5;
        width: 60%;
        margin: 0 auto;
        background: white;
        border-radius: 20px;
        padding-top: 53px;
        padding-left: 31px;
        padding-bottom: 35px;
        display: block;

        text-align: left;
        font-weight: 500;
        line-height: 20px;

        transition: .3s ease;
    }

    .header__nav-list--open {
        transform: translate(-3%, 3%);
    }

    .burger {
        display: flex;
    }

    .header__nav {
        order: 1;
    }
}

@media (max-width: 420px) {
    .header__btn {
        font-size: 12px;
    }
}

/* ======== / media =========== */