*,
*::before,
*::after{
    box-sizing: border-box;
}

:root  {
    background-color: oklch(0.9961 0.0034 325.6);
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body{
    margin: 0;
}

.container{
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

header {
    background-color: oklch(0.1454 0.062 264);
    color: oklch(0.9961 0.0034 325.6);
}

footer{
    background-color: oklch(0.3211 0 0);
}
footer p {
    color: oklch(0.996 0 0)
}


nav ul{
    padding: 0;
    margin: 0 0 0 -2rem;
    list-style: none;
    color: inherit;
    text-decoration: none;

}


nav a {
    padding: 1rem 2rem;
    display: block;
    color: inherit;
    text-decoration: none;
}

.container--narrow{
    max-width: 40rem;
}

nav a:hover {
    background-color: oklch(0.25 0.062 264);
}

nav a:focus-visible {
    outline: 4px dotted currentColor;
    outline-offset: 2px;
}

nav ul li:nth-child(2) {
    background-color: oklch(0.3211 0.06 264);
    color: oklch(0.9961 0.0034 325.6);
}

footer .container > :last-child {
    margin-bottom: 0;
}

h2 + p {
    font-style: italic;
}

a[href*="mozilla"] {
    background-color: rgba(255, 165, 0, 0.5);
}

.highlight {
    font-weight: 700;
    font-style: italic;
}

footer .highlight {
    font-weight: 400;
    font-style: normal;
    color: oklch(0.887 0.1 327);
}

.m-1 {
    margin: 1rem !important;
}

.m-2 {
    margin: 2rem !important;
}

.p-1 {
    padding: 1rem !important;
}

.p-2 {
    padding: 2rem !important;
}

main {
    padding-top: 2vh;
    padding-bottom: 4vw;
}