body {
    padding-top: 0.1px; /* Matches .position height */
}

.position {
    width: 100%;
    height: 80px;
    background: #CC2D2C;
    position: fixed;
    z-index: 3;
}


.navbar {
    max-width: 1440px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-direction: row;
    align-items: flex-start;
}

.header__bars {
    color: #ffffff;
    width: var(--size-2xl);
    height: var(--size-2xl);
    position: absolute;
    right: 50px;
}

.logo img {
    width: 175px;
}

.header__menu {
    list-style: none;
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 50px;
    position: absolute;
    top: 30px;
    left: 0;
    background: #ffeeee;
    padding: 20px 0;
}

.header__menu li {
    text-align: center;
    padding: 15px 0;
    margin: 0;
}

.header__menu a {
        color: #E7A5A5;
        font-size: var(--size-base);
        font-weight: 400;
        letter-spacing: -0.02em;
        text-decoration: none;
}


.header__menu.active {
    display: flex;
}

.burger {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
    margin-top: 15px;
}


.burger div {
    width: 25px;
    height: 3px;
    background: white;
}


/* Large screens */
@media (min-width: 769px) {
    .position {
        height: 100px;
    }

    nav a:hover {
        color: #EBEBEB;
        transition: color 0.3s;
    }

    .navbar {
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }

    .logo img {
        width: 200px;
    }

    .header__menu {
        display: flex;
        flex-direction: row;
        position: static;
        margin: 0;
        width: auto;
        background: none;
    }

    .header__menu li {
        margin-left: 40px;
        padding: 0;
    }

    .burger {
        display: none;
    }
}