.skipNavLink {
    color: var(--bg);
    font-size: 1.6rem;
    background: var(--accent);
    padding: 1rem 2rem;
    border-radius: 0 0 0.5rem 0.5rem;
    position: absolute;
    left: 1rem;
    transform: translateY(-120%);
    transition: transform 0.1s ease-in;
}

.skipNavLink:focus {
    transform: translateY(0);
}

header {
    padding: 0;
    /*padding-right: 2rem;;*/
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 0 0.5rem rgba(0,0,0,0.50);
}

.logo {
    margin-right: auto;
}

.logo img {
    margin: 0 0 0 1rem;
    padding: 0.5rem 0;
    height: 5rem;
}

.content {
    display: flex;
    max-width: 1024px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
}

.content nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
    display: none;
    animation-name: menuClose;
    animation-duration: 0.5s;
}

.content .menuClicked {
    display: flex;
    animation-name: menuOpen;
    animation-duration: 0.5s;
}

.content nav ul {
    padding: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.content nav ul a {
    color: var(--bg);
    font-size: 1.6rem;
    text-decoration: none;

}

.content nav ul a:hover, .content nav ul a:focus, .content nav ul .active {
    border-bottom: solid 2px var(--bg);
}

.content button {
    margin-right: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg);
    font-size: 1.6rem;
    border: none;
    background-color: transparent;
    gap: 0.75rem;

}

.content .icon {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.content .icon span {
    padding: 0.11rem 1rem;
    background-color: var(--bg);
    transition-duration: 0.5s;
}

/* ANIMATIONS */

@keyframes menuOpen {
    0%{height: 0; opacity: 0}
    50%{height: 25.5rem; opacity: 0; position: relative; left: -3rem}
    100%{opacity: 1; position: relative; left: 0}
}

@keyframes menuClose {
    0%{height: 9.6rem; opacity: 1}
    50%{height: 9.6rem; opacity: 0;}
    100%{height: 0; opacity: 0;}
}

.content .buttonClicked .icon span:first-child {
    transform: translateY(5px) translateX(4px);
    rotate: 45deg;
}

.content .buttonClicked .icon span:nth-child(2) {
    transform: scale(0);
}

.content .buttonClicked .icon span:nth-child(3) {
    transform: translateY(-4px) translateX(3px);
    rotate: -45deg;
}