/*********************/
/* CUSTOM PROPERTIES */
/*********************/
:root {
    /* startje */
    --Kleurtekst: #000;
    --KleurtekstLicht: #fff;
    --AchtergrondLicht: #fff;
    --AchtergrondDonker: #000;

    --space-s: .5rem;
    --space-m: 1rem;
    --space-l: 2rem;

    --radius: .5rem;
    --shadow-1: 0 2px 10px rgba(0, 0, 0, .08);

    --dur: 150ms;
}


@font-face {
    font-family: "Helvetica Neue";
    src: url("../fonts/HelveticaNeueRoman.otf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue condensed";
    src: url("../fonts/HelveticaNeue-MediumCond.otf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue light";
    src: url("../fonts/HelveticaNeueLight.otf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    transition: transform 0.3s ease;

    /* voor het omkeer effect van de elementen in de header */
    /* bron sanne */
    mix-blend-mode: difference;
    color: white;
}

header.poef {
    transform: translateY(-100%);
}

header nav {
    display: flex;
    justify-content: space-between;
}

header nav img {
    width: 10rem;
    padding-left: 16px;
    padding-top: 16px;

}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 16px;
    font-family: Helvetica Neue;

}

header nav a {
    color: inherit;
    text-decoration: none;
    font-family: Helvetica Neue condensed;
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 0.1em;

}

header nav li {
    padding-top: 0.5em;

}


section:last-of-type {
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 32px;
    margin-bottom: 32px;
    text-align: center;
    overflow: hidden;
}

section:last-of-type p:first-of-type {
    font-family: Helvetica Neue condensed;
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 0.1em;
}

section:last-of-type h2 {
    font-size: 48px;
    padding: 0;
    margin: 0;
    padding-bottom: 28px;
}

/* bron sanne */
section:last-of-type ul {
    --blokje-size: min(60vw, 20em);
    --caro-duration: 32s;

    margin: 0;
    padding-top: 3rem;
    padding-bottom: 5rem;
    list-style-type: "";

    display: grid;

    perspective: 90em;
    transform-style: preserve-3D;

    rotate: z -3deg;
}

/* bron sanne */
section:last-of-type li {
    grid-column-start: 1;
    grid-row-start: 1;
    width: var(--blokje-size);
    aspect-ratio: 1;

    animation: rotate3D var(--caro-duration) infinite linear;
    animation-delay: calc(var(--caro-duration) / sibling-count() * sibling-index() * -1);

    backface-visibility: hidden;
}

section:last-of-type:hover li {
    animation-play-state: paused;
}

section:last-of-type ul img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

section:last-of-type form {
    width: 100%;
    display: flex;
    align-items: center;

    border: 1px solid lightgray;
    border-radius: 2px;
    background: var(--AchtergrondLicht);
}

section:last-of-type form input {
    flex: 1;
    font-size: 1rem;
    padding: 0 1rem;
    height: 3rem;
    border: none;
    min-width: 0;
}

section:last-of-type form input::placeholder {
    color: #bdbdbd;
}

section:last-of-type form button {
    border: none;
    background: var(--AchtergrondDonker);
    font-size: 12px;
    color: var(--KleurtekstLicht);

    padding: 15px 1rem;
    margin: 0 2px 0 0;

    text-transform: uppercase;
    border-radius: 2px;
}

section:last-of-type p:last-of-type {
    font-size: 0.8rem;
    color: lightgray;
}



footer {
    background-color: var(--AchtergrondDonker);
    color: #fff;
    padding-top: 60px;
    padding-left: 16px;
    padding-right: 16px;
}

footer>p:first-of-type {
    font-size: 58px;
    text-transform: uppercase;
    text-align: right;
    padding: 0;
    margin: 0;
}


footer>p:nth-of-type(2) {
    font-size: 12px;
    margin-bottom: 32px;

}


footer>a:first-of-type {
    text-decoration: none;
    background-color: #fff;
    color: var(--Kleurtekst);
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 2px;
}


footer nav:nth-of-type(1) {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 200px;
}

footer nav:nth-of-type(1) ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer nav:nth-of-type(1) li {
    margin-bottom: 0.75em;
}

footer nav:nth-of-type(1) a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    background-color: none;
}

footer nav ul:nth-of-type(3) {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

footer nav ul:nth-of-type(3) img {
    width: 18px;
    height: 18px;
    display: block;
}

footer>ul:nth-of-type(1),
footer>ul:nth-of-type(2) {
    list-style: none;
    padding: 4px;
    display: flex;
    align-items: center;

    gap: 16px;

    background: #2b2b2b;
    border-radius: 2px;
}

footer>ul:nth-of-type(1) li:first-child img,
footer>ul:nth-of-type(2) li:first-child img {
    border-radius: 2px;
    display: block;
}

footer>ul:nth-of-type(1) li:nth-child(2) p:first-child,
footer>ul:nth-of-type(2) li:nth-child(2) p:first-child {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin: 0 0 6px;
    opacity: 0.8;
    text-transform: uppercase;
}

footer>ul li:nth-child(2) {
    flex: 1;
}

footer>ul:nth-of-type(1) li:nth-child(2) p:last-child,
footer>ul:nth-of-type(2) li:nth-child(2) p:last-child {
    font-size: 16px;
    margin: 0;
}

footer>ul:nth-of-type(1) li:last-child a,
footer>ul:nth-of-type(2) li:last-child a {
    text-decoration: none;
    color: var(--Kleurtekst);
    background: #fff;

    padding: 8px 12px;
    border-radius: 4px;

    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-right: 16px;

}

footer ul:last-of-type {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 32px 0 8px;
    gap: 16px;
    font-size: 10px;
}

footer ul:last-of-type a {
    text-decoration: none;
    color: gray;
}

footer>p:last-of-type {
    color: gray;
    font-size: 10px;
    padding-bottom: 64px;
}

footer a {
    font-family: Helvetica Neue condensed;
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 0.1em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid black;
    outline-offset: 4px;
}

a,
button,
input {
    transition: transform var(--dur) ease, box-shadow var(--dur) ease, background-color var(--dur) ease, color var(--dur) ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
label:focus-visible,
input:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

a:hover {
    text-decoration: underline;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

input:hover {
    box-shadow: 0 0 0 1px currentColor;
}