/* ===== RESET + BASE ===== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter Tight', sans-serif;
    overflow-x: hidden;
}

/* ===== BACKGROUND (WORKS ON ALL DEVICES) ===== */
body {
    background-image: url('https://d66cdnprod.blob.core.windows.net/d66cdnprod/wallpaper/wallpaper-het-kan-wel.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: scroll;
    background-color: #dfe4ff;

    /* Centering engine */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* ===== MAIN CONTAINER FULLY CENTERED ===== */
.container {
    max-width: 1200px;
    width: auto;               /* ⭐ FIX — allow container to center */
    background-color: #F9F2EE;
    color: #000000;
    padding: 30px;
    border-radius: 20px;
    box-sizing: border-box;

    margin: 60px auto;        /* ⭐ FIX — vertically + horizontally centered */
}


/* ===== ORIGINAL DESIGN BELOW (UNCHANGED) ===== */

.header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.back-button i {
    font-size: 1.2em;
}

.back-button:hover {
    background-color: #333333;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 80px;
    height: auto;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.info-section {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.info-box {
    background-color: #A6CAF1;
    color: #000000;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.info-box h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
}

.info-box p {
    margin-top: 10px;
    flex-grow: 1;
}

.info-button {
    align-self: flex-start;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

h1 {
    color: #000000;
    text-align: center;
}

h2 {
    color:#000000;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.dark-mode-toggle i {
    font-size: 1.2em;
}

.dark-mode-toggle:hover {
    background-color: black;
}

.login-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.login-button i {
    margin-right: 10px;
}

.login-button:hover {
    background-color: #000000;
}

.accordion {
    background-color: #000000;
    color: #ffffff;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.2em;
    transition: 0.4s;
    border-radius: 10px;
    margin: 10px 0;
    font-weight: bold;
}

.active, .accordion:hover {
    background-color: #000000;
}

.panel {
    padding: 15px;
    background-color: #000000;
    color: #ffffff;
    display: none;
    overflow: hidden;
    border-radius: 10px;
    margin: 10px 0;
}

.dark-mode .accordion {
    background-color: #000000;
    color: #f4f4f4;
}

.dark-mode .active, .dark-mode .accordion:hover {
    background-color: #000000;
}

.dark-mode .panel {
    background-color: #000000;
    color: #f4f4f4;
}

body.dark-mode {
  background-color: #1e2d3e;
  color: #f4f4f4;
}

body.dark-mode .container {
  background-color: #333;
  color: #f4f4f4;
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 {
  color: #f4f4f4;
}

body.dark-mode a {
  color: #f4f4f4;
}

body.dark-mode .info-box {
  background-color: #444;
  color: #f4f4f4;
}

body.dark-mode .info-box h2 {
  border-bottom: 1px solid #f4f4f4;
}

body.dark-mode .info-button {
  background-color: #000000;
  color: #f4f4f4;
}

body.dark-mode .info-button:hover {
  background-color: #333333;
}

body.dark-mode .dark-mode-toggle {
  background-color: black;
  color: white;
}

body.dark-mode .login-button {
  background-color: #000000;
  color: #f4f4f4;
}

body.dark-mode .login-button:hover {
  background-color: #000000;
}
