.header {
    padding: 17px 0;
    position: fixed;
    width: 100%;
    background-color: white;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-mobile-menu {
    display: none;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav {
    font-weight: 500;
    font-size: 18px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header-nav li:not(:last-child) {
    margin-right: 40px;
}

.header-nav li {
    list-style: none;
}

.header-nav a {
    transition: color 0.2s ease;
}

.header-nav a:hover {
    padding-bottom: 2px;
    color: #DB522A;
    border-bottom: 2px solid #DB522A;
}

.action-header-calc-btn,
a.action-header-calc-btn {
    display: block;
    line-height: 20px;
    padding: 16px;
    text-align: center;
    border: 1px solid black;
    border-radius: 5px;
    transition: color 0.2s ease;
    font-weight: 500;
    font-size: 16px;
}

.action-header-calc-btn:hover,
a.action-header-calc-btn:hover {
    color: #DB522A;
    border: 1px solid #DB522A;
    cursor: pointer;
}

#checkbox_toggle {
    display: none;
}

.header-mobile-contacts {
    cursor: pointer;
    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    padding: 16px;
    color: white;
    background-color: #DB522A;
    border-radius: 5px;
    width: 207px;
    height: 52px;
    margin-right: 24px;
}

.hamburger {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.hamburger-line {
    background-color: black;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamburger-line::before,
.hamburger-line::after {
    background-color: black;
    content: '';
    display: block;
    position: absolute;
    transition: all 0.3;
    width: 100%;
    height: 100%;
}

.hamburger-line::before {
    top: 7px;
}

.hamburger-line::after {
    top: -7px;
}

@media (max-width: 768px) {

    .hamburger {
        display: block;
        padding: 20px 0;
    }

    .header-mobile-contacts {
        display: block;
    }

    .header-nav {
        display: none;
    }

    .header-action {
        display: none;
    }

    .header-mobile-menu {
        padding-top: 20px;
    }

    .header-nav-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
    }

    .header-nav-mobile li {
        list-style: none;
        width: 100%;
        text-align: center;
        padding-top: 8px;
    }

    .header-nav-mobile a {
        transition: color 0.2s ease;
    }

    .header-nav-mobile li:hover {
        color: #DB522A;
        background-color: ghostwhite;
    }

    #checkbox_toggle:checked ~ .hamburger .hamburger-line {
        background-color: transparent;
    }

    #checkbox_toggle:checked ~ .hamburger .hamburger-line::before {
        transform: rotate(-45deg);
        top: 0;
    }

    #checkbox_toggle:checked ~ .hamburger .hamburger-line::after {
        transform: rotate(45deg);
        top: 0;
    }
}