

@font-face {
    font-family: Josefin;
    src: url(assets/JosefinSans-VariableFont_wght.ttf);
}

body {
    font-family: Josefin;
    background-color: #eff8fb;
}

.box {
    width: 50%;
    margin: auto;
    background: #f3fafc;
    border: 2px solid #c5eaf5;
    box-shadow: #d6eef6 5px 5px;
    border-radius: 10px;
}


.boxText {
    margin-left:10px;
    
}
p.boxText {
    font-size:18px;
}

.intro-bulletin {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.intro-bulletin a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f2fbff;
    color: #013f5f;
    border: 1px solid #b2e6ff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.intro-bulletin img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.intro-bulletin a:hover { background: #e6f6fb; }

.dark-theme .intro-bulletin a {
    background: rgba(255,255,255,0.03);
    color: #dff8ff;
    border: 1px solid rgba(255,255,255,0.06);
}

h1.boxText {
    font-size:25px;
    text-shadow:#4fb0da 2px 2px;
}
 .topnav {
     background-color: #6fb7d8;
      overflow: hidden;
     box-shadow: #9fd6ec 5px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    padding: 0 20px; 
}

.topnav .left, .topnav .right {
    display: flex;
}

.topnav a {
    color: #f8feff;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    filter: drop-shadow(2px 2px 1px #9fd6ec)
}

.topnav .right a:hover {
    background-color: #bfeff6;
    color: #001f28;
}

.box a:hover {
    background-color:#d4f3fb;
}

a {
    text-decoration: none;
}

a:link {
    color:#085a82;
}

a:visited {
    color:#2e93be;
}

.project-list {
  list-style-type: none;
  padding-left: 0;
}

.project-list li {
    
    margin-bottom: 15px;
    margin-left:30px;
    margin-right:50px;
    padding: 10px;
    background-color: #cfeefb;
    border-radius: 10px;
    box-shadow: 1px 1px 3px #6fb9db;
}

.project-list li a {
    font-weight: bold;
    text-decoration: none;
    color: #013f5f;
}

.project-list li a:hover {
  text-decoration: none;
}

.project-list p {
    margin: 5px 0 0;
    font-size: 0.95em;
    color: #243940;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-top: -30px;
}
.project-card {
    background-color: #cfeefb;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 1px 1px 3px #6fb9db;
    display: flex;
    flex-direction: column;
    min-height: 100px;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card .project-title {
    font-weight: 700;
    color: #013f5f;
    font-size: 1.05em;
    margin-bottom: 8px;
    margin-top:12px;
}
.project-card .project-title:hover { text-decoration: underline; }
.project-card p { margin: 0; color: #243940; font-size: 0.95em; flex-grow: 1; }

.project-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}
.project-short { margin-top: 8px; font-weight:600; color: #085a82; }
.project-long { margin-top: 8px; font-size: 0.92em; color: #334d52; }

.dark-theme body {
    background-color: #071923;
}
.dark-theme .box {
    background: #07292f;
    border: 2px solid #0b5f73;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}
.dark-theme p,
.dark-theme h2.boxText {
    color: #dff8ff;
}
.dark-theme h1.boxText {
    text-shadow: 4px 2px rgb(51, 67, 102);
}
.dark-theme p.boxText,
.dark-theme .boxText {
    color: #dff8ff;
}

.dark-theme .topnav {
    background-color: #032f3c;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.dark-theme .topnav a {
    color: #e6fcff;
    filter: none;
}
.dark-theme .topnav .right a:hover {
    background-color: rgba(255,255,255,0.04);
    color: #e6ffff;
}
.dark-theme .box a:hover { background-color: rgba(255,255,255,0.03); }
.dark-theme a:link { color: #6fe6ff; }
.dark-theme a:visited { color: #4fc9e6; }
.dark-theme .project-list li,
.dark-theme .project-card {
    background-color: #06313d;
    box-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.dark-theme .project-card .project-title {
    color: #cbf5ff;
}
.dark-theme .project-list li a { color: #9befff; }
.dark-theme .project-card p,
.dark-theme .project-list p { color: #cfeffb; }


.project-card:hover,
.project-card:focus-within {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 22px rgba(15,65,80,0.12);
    border-color: #9befff;
}

.intro-bulletin a {
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.intro-bulletin a:hover,
.intro-bulletin a:focus {
    transform: translateY(-3px) scale(1.04);
    border-color: #9befff;
    box-shadow: 0 6px 14px rgba(15,65,80,0.08);
}

.dark-theme .project-card:hover,
.dark-theme .project-card:focus-within {
    border-color: rgba(159,214,236,0.22);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.dark-theme .intro-bulletin a:hover,
.dark-theme .intro-bulletin a:focus {
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 6px 14px rgba(0,0,0,0.5);
    transform: translateY(-3px) scale(1.04);
}


@media print {
    .projects-grid .project-card,
    .project-list li {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
        background-color: #e0f6ff !important;
        box-shadow: none !important;
        border: 1px solid #8ecfff !important;
    }

    .projects-grid .project-card, .project-list li {
        color: #002b36 !important;
    }

    #theme-toggle, .topnav, button { display: none !important; }
}

/* Language toggle styles */
#lang-toggle {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-right: 10px;
}
#lang-toggle button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: #f8feff;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    transition: background 0.12s ease, color 0.12s ease, transform 0.08s ease;
}
#lang-toggle button:hover { transform: translateY(-2px); }
#lang-toggle button:focus { outline: none; box-shadow: 0 0 0 3px rgba(159,214,236,0.16); }
#lang-toggle button[aria-pressed="true"] { font-weight: 700; }

/* Default language visibility: show Dutch, hide English until switched */
[data-lang] { display: none; }
[data-lang="nl"] { display: inline; }

.dark-theme #lang-toggle button { font: Josefin; color: #e6fcff; border-color: rgba(255,255,255,0.06); }
.dark-theme #lang-toggle button:hover { background: rgba(255,255,255,0.04); }

