.header {
    position: fixed;
    left: var(--side-gap);
    top: var(--side-gap);
    right: var(--side-gap);
    bottom: 0;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    height: var(--header-height);
    text-wrap: nowrap;
    z-index: 500;
}

.header-container {
    margin: 0 var(--side-gap);
    height: var(--header-height);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    grid-column: 9/11;
}

.header-btns {
    display: flex;
    grid-column: 11/13;
    justify-content: end;
    align-items: center;
}

.logo {
    height: 100%;
    width: var(--logo-width);
    position: relative;
}

.logo-svg {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.nav {
    display: block;
    height: 100%;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 47rem;
    height: 100%;
    list-style: none;
}

.nav-item {
    list-style: none;
}

.nav-item a {
    font-family: var(--font-semibold), var(--font-greek-semibold) !important;
    color: var(--color-primary);
    transition: color 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-item a:hover {
    color: var(--color-secondary);
}

.nav-btn {
    display: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    position: relative;
    z-index: 1000;
    gap: 8px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.nav-line {
    background-color: var(--color-secondary);
    width: 100%;
    height: 2px;
    transition: all 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav-hidden {
    display: none;
}

.nav-hidden i {
    margin-right: 10px;
}

.nav-line-top.active {
    transform: translate(0, 10px) rotate(45deg);
}

.nav-line-bottom.active {
    transform: translate(0, -0px) rotate(-45deg);
}

@media (max-width: 834px) {
    .header-nav {
        grid-column: 4/9;
    }

    .header-btns {
        grid-column: 9/13;
    }

    .visit-btn {
        padding: 11rem 30rem;
    }

    .nav-list {
        gap: 40rem;
    }
}

@media (max-width: 700px) {
    .nav-btn {
        display: flex;
    }

    .visit-btn {
        display: none;
    }

    .nav {
        display: flex;
        width: 100%;
        bottom: 100%;
        position: fixed;
        left: 0;
        z-index: 500;
        transition: all 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
        background-color: var(--color-white);
    }

    .nav-hidden {
        display: block;
    }

    .nav.active {
        bottom: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: start;
        justify-content: start;
        margin-top: 300px;
        margin-left: 20px;
        font-size: 28rem;
        line-height: 32rem;
    }
}
