#header {
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 0 20px;
}

/* Logga */

.logo:hover {
    opacity: 0.75;
}

.logo img {
    height: 60px;
    width: auto;
    padding: 10px 0;
}

/* Meny */

.menu-wrapper {
    text-align: right;
}

/* Checkbox */

.toggler {
    position: absolute;
    width: 30px;
    height: 60px;
    opacity: 0;
    right: 20px;
    top: 10px;
    z-index: 200;
    cursor: pointer;
}

/* Hamburgare */

.hamburger {
    width: 30px;
    height: 60px;
    position: absolute;
    right: 20px;
    top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-line {
    position: relative;
    width: 100%;
    height: 2px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hamburger-line::before, .hamburger-line::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 100%;
    height: 2px;
    background: inherit;
}

.hamburger-line::after {
    top: 10px;
}

/* Hamburgare -- Annimera sträcken --- */

.toggler:checked+.hamburger>.hamburger-line {
    transform: rotate(135deg);
    background: var(--main-own);
}

.toggler:checked+.hamburger>.hamburger-line::before, .toggler:checked+.hamburger>.hamburger-line::after {
    transform: rotate(90deg);
    top: 0;
    background: var(--main-own);
}

/* Meny -- Visas inte från början -- */

.menu {
    margin: 80px 0 0 0;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    visibility: hidden;
    display: block;
    border-radius: 0 0 15px 15px;
}

.menu-list {
    background: var(--light);
    z-index: 10;
    padding: 20px 0;
    text-align: center;
    height: 100vh;
}

.menu-links {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 40vh;
}

.menu-list li {
    padding: 10px 20px 10px 0;
}

.menu-link {
    color: var(--dark);
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
}

.menu-link:hover {
    color: var(--main-own);
    text-decoration: underline;
}

.menu-link-active {
    color: var(--main-own);
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
}

.offert-menu-link {
    background: var(--main-own);
    padding: 10px;
    color: var(--light);
    box-shadow: var(--shadow);
    font-size: 2rem;
    display: inline;
}

.offert-menu-link:hover {
    background: var(--dark);
    color: var(--light);
    border-radius: 0 0 15px 0;
}

.menu-icon {
    height: 30px;
    width: auto;
}

.menu-icon:hover {
    opacity: 0.7;
}

.toggler:checked~.menu {
    visibility: visible;
}

/* Responsive */

@media screen and (min-width: 600px) {
    .header-grid {
        padding: 0 80px;
    }
    .toggler, .hamburger {
        right: 80px;
    }
}

@media screen and (min-width: 1024px) {
    .header-grid {
        padding: 0 120px;
    }
    .hamburger, .toggler {
        display: none;
    }
    .menu {
        visibility: visible;
        margin: 0;
        padding: 0;
        position: relative;
    }
    .menu-list {
        background: none;
        padding: 0;
        text-align: right;
        height: 80px;
    }
    .menu-list li {
        display: inline;
        padding: 0 15px;
        line-height: 80px;
    }
    .menu-link {
        color: var(--dark);
        font-size: 1rem;
    }
    .menu-link-active {
        font-size: 1rem;
    }
    .offert-menu-link {
        font-size: 1rem;
        line-height: 60px;
        display: inline-block;
    }
    .menu-icon {
        height: 20px;
        width: auto;
    }
    .menu-links {
        display: inline-block;
        height: auto;
    }
}

@media screen and (min-width: 1440px) {
    .header-grid {
        padding: 0 280px;
    }
}

@media screen and (min-width: 1920px) {
    .header-grid {
        padding: 0 300px;
    }
}

@media screen and (min-width: 2560px) {
    .header-grid {
        padding: 0 320px;
    }
}