*, *::before, *::after{
    box-sizing: border-box;
}

:root{
    background-color: oklch(0.9961 0.0034 325.6);
    font-family: Urbanist, 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.1684 0 0);
    color: oklch(1 0 0);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container a{
    list-style: none;
    text-decoration: none;
}

.logo-container a:hover{
    text-decoration: underline;
    color: oklch(0.5606 0.1845 104.4);
    transition-delay:0.15s;
}

header nav ol {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

header nav ol a{
    display: inline-block;
    padding-block: 0;
    margin-block:0 ;
    color: oklch(1 0 0);
    text-decoration: none;
}

header nav ol a:hover{
    color: oklch(0.5606 0.1845 104.4);
    transition-delay:0.15s;
}

header nav a{
    display: inline-block;
    padding-block: 0;
    margin-block:0 ;
    color: oklch(1 0 0);
}

footer{
    background-color: oklch(0.1684 0 0);
    color: oklch(1 0 0);
    margin: 0;
    padding: 0;
}

footer .container > *:last-child {
    margin-bottom: 0;
}

footer a{
    color: inherit;
}

footer a:hover{
    text-decoration: underline;
    color: oklch(0.8 0.3 320);
    transition-delay:0.1s;
}

.cards {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* Desktop: max 3 naast elkaar */
.cards li {
    background-color: oklch(1 0 218);
    padding: 1rem;
    border-radius: 0.8rem;

    flex: 0 1 calc((100% - (2rem * 2)) / 3);
    max-width: 22rem;
}

.cards li a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cards li img {
    width: 100%;
    border-radius: 0.8rem;
    box-shadow: 0 0.2rem 1rem oklch(0 0 0 / 25%);
    margin-bottom: 1rem;
    display: block;
}

.cards li a:hover img {
    transform: scale(1.05);
    transition: 0.2s ease;
}


.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.intro-text {
    max-width: 30rem;
}

.intro-img {
    width: 500px;
    max-width: 100%;
    border-radius: 0.5rem;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 2px solid oklch(0 0 0 / 100%);
    text-decoration: none;
    color: oklch(0 0 0 / 100%);
    margin-top: 1rem;
    border-radius: 0.5rem;
}

hr {
    margin: 0;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.socials {
    text-align: center;
    margin-block: 2rem;
}

.socials ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials li {
    text-align: center;
}

.socials li img {
    width: 60px;
    display: block;
    margin-inline: auto;
    border-radius: 0.3rem;
}

.socials li p {
    margin-top: 0.5rem;
}
.socials li a:hover img {
    transform: scale(1.05);
    transition: 0.2s ease;
}

.highlight{
    font-weight: bold;
    font-size: large;
}

.nolist{
    list-style-type: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding:0;
}

.cursive{
    font-style: italic;
}

.lab-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.lab-image {
    width: 300px;
    border-radius: 0.8rem;
    box-shadow: 0 0.2rem 1rem oklch(0 0 0 / 100%);
}

.about-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.about-image {
    width: 220px;
    border-radius: 0.5rem;
    box-shadow: 0 0.2rem 1rem oklch(0 0 0 / 25%);
    display: block;
}

.about-text {
    max-width: 35rem;
}

.noslist2{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 60rem) {
    header nav{
        padding: 1.25rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    header nav ol{
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cards li{
        flex-basis: calc((100% - 2rem) / 2);
        max-width: none;
    }

    .intro{
        flex-direction: column;
        align-items: flex-start;
    }

    .intro-img{
        width: 100%;
    }

    .lab-section{
        flex-direction: column;
    }

    .lab-image{
        width: 100%;
        max-width: 28rem;
    }

    .about-section{
        flex-direction: column;
    }

    .about-image{
        width: 100%;
        max-width: 18rem;
    }

    .socials ul{
        flex-wrap: wrap;
    }
}

@media (max-width: 40rem) {
    .container{
        padding-inline: 0.75rem;
    }

    header nav{
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ol{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cards{
        gap: 1.25rem;
    }

    .cards li{
        flex-basis: 100%;
    }

    .socials ul{
        gap: 1.25rem;
    }

    .socials li img{
        width: 52px;
    }
}

/* Contact form */
form{
    max-width: 42rem;
    margin-top: 2rem;
}

form p{
    margin: 1rem 0 .35rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea{
    width: 100%;
    max-width: 32rem;
    padding: .75rem 1rem;
    border-radius: .6rem;
    border: 1px solid oklch(0 0 0 / 18%);
    background: oklch(1 0 0);
    color: inherit;
    font: inherit;
}

textarea{
    min-height: 8rem;
    resize: vertical;
}

label{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-right: 1rem;
    margin-top: .35rem;
}

button[type="submit"]{
    margin-top: 1.25rem;
    padding: .75rem 1.1rem;
    border: 0;
    border-radius: .75rem;
    background: oklch(0.1684 0 0);
    color: oklch(1 0 0);
    cursor: pointer;
    font-weight: 600;
}

button[type="submit"]:hover{
    opacity: .9;
}

.message.error{
    margin: .35rem 0 0;
    color: oklch(0.6 0.2 25);
    font-weight: 500;
}

#cookie-banner{
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: oklch(0.1684 0 0);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: .75rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 0.5rem 1.5rem oklch(0 0 0 / 35%);
}

#cookie-banner p{
    margin: 0;
    font-size: .9rem;
}

#cookie-banner a{
    color: white;
    text-decoration: underline;
}

#cookie-banner button{
    border: 0;
    background: white;
    color: black;
    padding: .5rem .75rem;
    border-radius: .5rem;
    font-weight: 600;
    cursor: pointer;
}
