:root {
    --hsl-1: hsl(124, 100%, 90%);
    --hsl-2: hsl(124, 100%, 75%);
    --hsl-3: hsl(124, 100%, 50%);
    --hsl-4: hsl(124, 100%, 25%);
    --hsl-5: hsl(124, 100%, 10%);

    --ff-primary: 'Space Grotesk', sans-serif;
    --fw-regular: 400;
    --fw-semi-bold: 500;
    --fw-bold: 700;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}

html:focus-within {
    scroll-behavior: smooth;
}

/* html,
body {
    height: 100%;
} */
html {
    font-family: var(--ff-primary);
    scroll-behavior: smooth;
}

body {
    text-rendering: optimizeSpeed;
    line-height: 1.7;
    font-size: 16px;
    font-family: var(--ff-primary);
    color: var(--hsl-5);
}
section{
    margin-top:24px;
}
footer {
    background: var(--hsl-5);
}
footer a {
    text-decoration: none;
    color: var(--hsl-1);
}
footer h2{
    color:var(--hsl-1);
}
footer .even-columns{
    align-items: center;
}
h1 {
    font-size: 54px;
    font-weight: var(--fw-bold);
    line-height: 1.0;
}

h2 {
    font-weight: var(--fw-semi-bold);
    font-size: 32px;
}

.container {
    width: min(1100px, 100%);
    margin-inline: auto;
}

.even-columns {
    display: grid;
    grid-auto-rows: 400px;
    gap: 1rem;
}

.even-columns>div:nth-child(1) {
    align-self: center;
}

.primary-header {
    padding-top: 16px;
    background: var(--hsl-5);
    position: sticky;
    top: 0;
}

.primary-header a {
    text-decoration: none;
    color: var(--hsl-1);
}

.primary-header a:not(:first-child):hover,
.primary-header a:focus {
    color: var(--hsl-2);
}

.nav-wrapper {
    display: flex;
    padding-inline: 12px;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-toggle {
    display: none;
}

.nav-list {
    font-size: 16px;
    display: flex;
    gap: 16px;
    font-weight: var(--fw-semi-bold);
}

.nav-list a {
    text-decoration: none;
    color: var(--hsl-1);
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--hsl-2);
}


@media(min-width:1000px) {
    .even-columns {
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        grid-auto-rows: 600px;
    }
}

img,
picture,
svg {
    max-width: 100%;
    display: block;
}

.container img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}

@media(max-width:1000px) {
    .container img {
        height: 400px;
        width: 100%;
        object-fit: cover;
    }
}

.mobile-nav-toggle {
    display: block;
    color:var(--hsl-1);
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 16px;
    z-index: 1000;
    background-repeat: no-repeat;
    background:none;
    border: 0;
}

.menu-box {
    font-size: 24px;
    padding: 64px 34px;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 0 0 40%;
    background: green;
    transition: transform 200ms ease-in-out;
}

.menu-box[data-visible="false"] {
    transform: translateX(100%);
}

.menu-box a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
}

@media (max-width:1000px) {
    .primary-navigation {
        display: none;
    }
}

@media screen and (min-width:1000px) {

    .mobile-nav-toggle {
        display: none;
    }

    .menu-box {
        display: none;
    }

    .menu-box-horizontal {
        padding: 20px 24px;
        border-radius: 28px;
        font-size: 16px;
        display: flex;
        column-gap: 44px;
        background: var(--clr-primary-400);
    }
}