* {
    font-family: sans-serif; /* toko bij img */
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #1a4957;
    --secondary-color: #2a899a;
    --accent-color: #71c7b3;
    --text-color: #ffffff;
    --background-color: #071317;
    --background-colorB: #0b1d1f;
    --background-colorC: #0b1d1f;
}
html, body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
}

html.dark-mode body {
    background: #071317;
    color: white;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, transparent 5%, transparent 95%, rgba(255,255,255,0.05) 100%);
    --text-color: white;
}

html.light-mode body {
    background: #ffffff;
    color: black;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, transparent 5%, transparent 95%, rgba(0,0,0,0.05) 100%);
    --text-color: black;
}

html.dark-mode .card {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--secondary-color);
    color: white;
}

html.light-mode .card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--primary-color);
    color: black;
}

html.dark-mode .card-title {
    color: white;
}

html.light-mode .card-title {
    color: black;
}

html.light-mode h3 {
    color: black;
}

html.dark-mode .nav-link, html.light-mode .nav-link {
    color: white !important;
}

.light-mode {
    background: #ffffff;
    color: black;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, transparent 5%, transparent 95%, rgba(0,0,0,0.05) 100%);
    --text-color: black;
}

html.dark-mode .card {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--secondary-color);
    color: white;
}

html.light-mode .card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--primary-color);
    color: black;
}

html.dark-mode .card-title {
    color: white;
}

html.light-mode .card-title {
    color: black;
}

html.light-mode h3 {
    color: black;
}

.btn-custom {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    padding: 0.5rem;
    transition: background 0.3s;
}

.btn-custom:hover {
    background-color: var(--accent-color);
    color: black;
}

.custom-badge {
    background-color: var(--accent-color);
    font-weight: bold;
    font-size: 1.4rem;
    border-radius: 10px;
    color: white;
}

html.dark-mode .nav-link, html.light-mode .nav-link {
    color: white !important;
}

.navbar-brand, .navbar-brand h2, .navbar-brand span {
    color: white !important;
}

footer p1 {
    color: white !important;
}

body.modal-open {
    overflow: auto;
}

.content-wrap {
    flex: 1;
}

.container {
    flex-grow: 1;
}

.raise:hover,
.raise:focus {
    box-shadow: 0 0.5em 0.5em -0.4em var(--accent-color);
    transform: translateY(-0.25em);
}

a.raise {
    transition: 0.25s;
    border: 1px solid;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

a.raise:hover,
a.raise:focus {
    border-color: var(--accent-color);
}

p1, h1, h2, h3, span{
    text-shadow: 0 0 2px black;
}
a, p1, h1, h2, h3, span{
    color: var(--text-color);
}
h1 {
    font-size: 40px;
}
h2 {
    font-size: 30px;
}

h3 {
    font-size: 20px;
}

.btn {
    background-color: var(--primary-color);
}

a
::-webkit-scrollbar {
  width: 1rem;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.modal-content {
    background-color: var(--background-colorC);
    border: 1px solid var(--accent-color);
}
.modal-header {
    border-bottom: 1px solid var(--accent-color);
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 16px; /* Adjust default font size for smaller screens */
    }

    h1 {
        font-size: 30px; /* Modify h1 size for phones */
    }

    h2 {
        font-size: 24px; /* Modify h2 size for phones */
    }

    h3 {
        font-size: 18px; /* Modify h3 size for phones */
    }

    p1,
    h1,
    h2,
    h3,
    span {
        text-shadow: 0 0 1px black; /* Reduce text shadow blur for better readability on smaller screens */
    }

    /* Other adjustments for smaller screens */
}

/* Markdown content styling */
.markdown-content {
    line-height: 1.6;
}

.markdown-content h1, .markdown-content h2, .markdown-content h3,
.markdown-content h4, .markdown-content h5, .markdown-content h6 {
    margin: 1rem 0 0.5rem;
    font-weight: bold;
}

.markdown-content h1 { font-size: 2rem; }
.markdown-content h2 { font-size: 1.75rem; }
.markdown-content h3 { font-size: 1.5rem; }
.markdown-content h4 { font-size: 1.25rem; }
.markdown-content h5 { font-size: 1.1rem; }
.markdown-content h6 { font-size: 1rem; }

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul, .markdown-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content code {
    background: rgba(0,0,0,0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.markdown-content pre {
    background: rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.markdown-content pre code {
    background: none;
    padding: 0;
}

.markdown-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.markdown-content th, .markdown-content td {
    border: 1px solid var(--secondary-color);
    padding: 0.5rem;
    text-align: left;
}

.markdown-content th {
    background: var(--primary-color);
    color: white;
}

html.dark-mode .markdown-content code,
html.dark-mode .markdown-content pre {
    background: rgba(255,255,255,0.1);
}

html.light-mode .markdown-content code,
html.light-mode .markdown-content pre {
    background: rgba(0,0,0,0.1);
}