.main-header-background {
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 10;
    background: var(--primary-color);
    box-shadow: 0px 0px 20px #0006;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 3rem;
}

.list {
    display: flex;
    gap: 3.5rem;
}

.main-header a {
    color: var(--secondary-color);
    font-size: 1.3rem;
    letter-spacing: .1rem;
}

.main-header li {
    font-weight: 400;
    font-style: italic;
    transition: all .3s ease-in-out;
}

.main-header li:hover {
    scale: 105%;
}

.hamburger {
    width: 2rem;
    height: 2rem;
    z-index: 100;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    display: none;
}

.show-menu .hamburger {
    right: 85%;
    position: absolute;
}

.line {
    width: 100%;
    height: .1rem;
    padding: 1px;
    border-radius: 10px;
    background: var(--secondary-color);
    transition: transform .5s;
}

.show-menu #line1 {
    transform: rotate(45deg) translate(.45rem, .9rem);
    background: #F00;
    z-index: 5;
}

.show-menu #line2 {
    display: none;
}

.show-menu #line3 {
    transform: rotate(-45deg) translate(.45rem, -.9rem);
    background: #F00;
}

.sidebar {
    z-index: 4;
    height: 100vh;
    width: 100%;
    background: var(--primary-color);
    position: fixed;
    top: 0;
    right: -110%;
    transition: all .8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.show-menu .sidebar {
    right: 0;
}

@media screen and (max-width:768px) {

.main-nav {
    display: none;
}

.hamburger {
    display: flex;
}

}