.menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5rem;
    background-color: black;
}

.logo {
    padding: 1.5rem 0;
    width: 8rem;
}

.menu .logo,
.menu form {
    flex: 0 0 auto;
}

.icon {
    height: 1.5rem;
    width: 1.5rem;
}

.menu-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: var(--primary-text-color);
}

.menu a:hover,
.menu a:focus {
    text-decoration: underline;
    text-underline-offset: 0.35rem !important;
    text-decoration-thickness: 2px !important;
}

.menu-link-active {
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 0.35rem !important;
}

.menu-right {   
    display: flex;
    align-items: center;
    margin-left: auto;
}

.menu-links, .menu-right {
    gap: 1.4rem;
}

.menu-right form {
    display: flex;
    align-items: center;
    align-self: center;

    height: 1.6rem;
    width: min(100%, 15rem);

    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 0 0 0 0.8rem;
    margin: 0;
}

.menu-right > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.6rem;
}

.menu-right > a .icon {
    display: block;
}

.menu-right input{
    border-width: 0rem;
    background-color: rgba(0,0,0,0);
    width: 80%;
    font-size: 0.9rem;
}

.menu-right input::placeholder {
    color: rgba(255, 255, 255, 1);
    font-size: 0.9rem;
}

.menu-right input:focus {
    outline: none;
    border: none;
}

.footer-heading {
    display: flex;
    align-items: center;
}

.footer-heading hr {
    margin-left: 1.5rem;
    flex: 1 1 100%;
}

.footer-content {
    padding: 1rem 0;
}

.footer-content ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    row-gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.footer-content li {
    display: contents;
}

.footer-content p {
    display: inline-block;
}

.social-links {
    display: flex;
    justify-content: flex-start;
}

.footer-bottom {
    display: flex;
    padding: 0.5rem 0;
}

.trademark-statement {
    margin-left: auto;
    font-size: 0.8rem;
}
.menu-right button {
    background-color: transparent;
    border: none;
    padding: 0 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
/* Sticky header */
.menu {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(6px);
}
.footer-content ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-content ul li a:hover {
    color: #ffffff;
}


@media (max-width: 900px) {
    .menu {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 0.75rem 1rem;
        padding: 1rem clamp(1.1rem, 4vw, 1.8rem) 1.2rem;
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
        width: 6.75rem;
        padding: 0;
        justify-self: start;
    }

    .menu-links {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        flex-wrap: wrap;
        gap: 0.9rem;
    }

    .menu-right {
        grid-column: 3;
        grid-row: 1;
        display: contents;
    }

    .menu-right > a {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .menu-right > a .icon {
    display: block;
}

    .menu-right form {
        grid-column: 1 / span 3;
        grid-row: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .menu-right .qs-wrap {
        grid-column: 1 / span 3;
        grid-row: auto;
        width: 100%;
    }
}


@media (max-width: 600px) {
    .menu {
        gap: 0.65rem 0.75rem;
        padding: 0.9rem clamp(1rem, 5vw, 1.4rem) 1.05rem;
    }

    .menu-links {
        gap: 0.7rem;
    }

    .menu-right form {
        height: 1.8rem;
    }
}







