
/*  
   FONT
  */

@font-face {
    font-family: 'Inter';
    src: url('./Inter-VariableFont_opsz,wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/*  
   ROOT & DEFAULT THEME (DARK MODE)
  */

:root {
    line-height: 1.6;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;

    /* Dark mode colours */
    --bg-header: oklch(0.22 0.03 265);
    --bg-footer: oklch(0.22 0.03 265);
    --bg-anchor: oklch(0.82 0.16 285);
    --bg-radial: oklch(0.5772 0.1 294.84 / 76.11%);
    --bg-anchor-hover: oklch(0.78 0.13 205);
    --bg: oklch(0.36 0.025 265);
    --text: oklch(0.92 0.015 260);
    --border-hover: oklch(0.55 0.08 265);
    --shadow-color: oklch(0.10 0.05 270 / 35%);
    --button-bg: oklch(0.40 0.10 265);
    --button-hover: oklch(0.50 0.12 265);
    --button-text: oklch(0.95 0.02 265);
    --button-border: oklch(0.35 0.09 265);

    /* General settings */
    --radius: 1rem;
    --transition: 0.3s ease-in-out;

    color-scheme: dark;
}

/*  
   LIGHT MODE
  */

html.light-mode {
    --bg-header: oklch(0.96 0.018 65);
    --bg-footer: oklch(0.96 0.018 65);
    --bg: oklch(0.985 0.012 75);
    --bg-radial: oklch(0.91 0.035 65);
    --text: oklch(0.28 0.025 45);
    --bg-anchor: oklch(0.52 0.13 35);
    --bg-anchor-hover: oklch(0.60 0.13 35);
    --border-hover: oklch(0.72 0.09 40);
    --button-bg: oklch(0.52 0.13 35);
    --button-hover: oklch(0.60 0.13 35);
    --button-text: oklch(0.98 0.01 75);
    --button-border: oklch(0.65 0.11 35);
    --shadow-color: oklch(0.35 0.07 35 / 15%);

    color-scheme: light;
}
/*  
   GLOBAL
  */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg);
}

/*  
   HEADER
  */

header {
    margin-top: 0;
    padding-top: 1px;

    background-color: var(--bg-header);
    

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);

    transition:
        background-color var(--transition),
        color var(--transition);
}

header h1 {
    margin-left: 0;
    text-align: center;
}

/*  
   NAVIGATION
  */

nav > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0 2rem;
    list-style: none;
}

nav > ul > li:first-child {
    margin-right: auto;
}

nav > ul > li > a {
    display: inline-block;

    margin: 1rem 0;
    padding: 0.85rem 1.2rem;

    background-color: var(--bg-anchor);
    color: var(--bg);

    border-radius: 0.75rem;
    text-decoration: none;

    transform: scale(1);


}

nav > ul > li > a:hover {
    background-color: var(--bg-anchor-hover);
    transform: translateY(-3px);
    border-radius: 0.9rem;
    
}

/*  
   HEADINGS
  */

h1 {
    margin-left: 4rem;
}

header h1 {
    margin-left: 0;
}

/*  
   MAIN CONTENT
  */

main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    padding: 2rem 1rem;
}

main h1 {
    width: 100%;
}

main > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 70rem;
    max-width: 100%;

    gap: 1.5rem;
    padding: 2rem;
    margin: 0 auto;
}

/*  
   IMAGES
  */

section > img {
    width: 20rem;
    height: 20rem;
    max-width: 100%;

    margin-right: 1.5rem;

    object-fit: cover;
    border-radius: 2rem;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

section > img:hover {
    transform: scale(1.03);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}


/*  
   THEME BUTTON
  */

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;

    padding: 0.75rem 1.25rem;

    background: linear-gradient(
        135deg,
        var(--button-bg),
        var(--button-hover)
    );

    color: var(--button-text);
    border: 1px solid var(--button-border);
    border-radius: 1.875rem;

    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 0.25rem 0.75rem var(--shadow-color),
        inset 0 1px 0 rgb(255 255 255 / 10%);

    
}

.theme-btn:hover {
    background: var(--button-hover);
    color: var(--button-text);
    border-color: var(--button-border);

    box-shadow: 0 0.35rem 1rem var(--shadow-color);
    filter: brightness(1.08);

    transform: translateY(-2px);
}

.theme-btn:active {
    transform: translateY(0);
}

.theme-btn:focus-visible {
    outline: 2px solid var(--button-hover);
    outline-offset: 3px;
}

/* Navigation buttons */
nav > ul > li > a {
    background: var(--button-bg);
    color: var(--button-text);
    border: 1px solid var(--button-border);
}

nav > ul > li > a:hover {
    background: var(--button-hover);
    color: var(--button-text);
    border-color: var(--button-border);

    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}


/*  
   TABLES
  */



table {
    width: 50rem;

    border-spacing: 0;
    border-collapse: separate;
    

    background-color: var(--bg);
    color: var(--text);

    font-size: 0.95rem;
    text-align: left;
}

thead {
    background-color: var(--bg-header);
    color: var(--text);
}

th {
    padding: 1rem 1.25rem;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    white-space: nowrap;
}

td {
    padding: 0.9rem 1.25rem;

    border-top: 0.0625rem solid oklch(0.55 0.02 265 / 20%);
    
}

tbody tr:nth-child(even) {
    background-color: oklch(0.50 0.02 265 / 8%);
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: oklch(0.65 0.10 265 / 18%);
}

td:first-child {
    width: 6rem;

    color: var(--bg-anchor);
    font-weight: 700;

    white-space: nowrap;
}

td:last-child {
    font-weight: 500;
}



.tables {
    display: flex;
    flex-direction: row;
    align-self: center;
    align-items: flex-start;
    justify-content: center;

    gap: 1.5rem;

    width: 100%;
    min-width: 0;

    margin: 0 auto;
}

.tables > table {
    flex: 0 1 auto;
    align-self: flex-start;

    min-width: 0;
    max-width: 100%;

    margin: 0 auto;
}

/*  
   EVENT PAGE
  */

.eventpagina {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.eventpagina > div {
    flex: 1 1 0;
    min-width: 0;

    padding: 0;

    border: 0.1rem solid transparent;
    border-radius: 1rem;

    overflow: hidden;

    transition: border-color var(--transition);
}

.eventpagina > div > p {
    padding: 1rem;
    margin: 0;
    border-radius: 1rem;
}
.eventpagina>.eventpagina-tekst{
    padding-left: 1rem;
}
.eventpagina > div > img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;

    border-radius: 0;

    object-fit: cover;
}

.eventpagina > div:hover {
    border-color: var(--border-hover);
}

/*  
   PARAGRAPHS
  */

.paragraph {
    display: flex;
    flex-direction: row;
    gap:1rem;
    padding: 1rem 2rem;

    border: 0.2rem solid transparent;
    border-radius: 2rem;

    transition:
        border-color var(--transition),
        background-color var(--transition);
}

.paragraph:hover {
    border-color: var(--border-hover);
    background-color: oklch(0.5 0.02 265 / 8%);
}

.paragraph img {
    display: block;

    width: 30rem;
    max-width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 1rem;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.paragraph:hover img {
    opacity: 1;
    visibility: visible;
}

/*  
   FOOTER
  */

footer {
    display: flex;  
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 4rem;
    margin-top: 2rem;
    padding: 1rem;

    background-color: var(--bg-footer);
    color: var(--text);

    text-align: center;

    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

h1{
    text-align: center;
}

.highlights {
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.highlights > .highlight {
    flex: 1 1 14rem;
    margin: 0;
}

.highlights img {
    display: block;
    width: 20rem;
    height: 15rem;
    border-radius: 2rem;
}

.pinfo{
    border: var(--border-hover) dashed 0.2rem;
    padding: 1rem;
    border-radius: 1rem;
    
}