/*
    :root will be used to define the variables for a white-mode page.
*/
:root {
    --text-color: #000711;
    --background-color: #fafafa;
    --highlight-color: #001a3f;
    --content-note-color: #00132e;
}

/* * { */
    /* transition: background 0.75s linear, color 0.15s linear; */
    /* smh this goes out of order, whilest the other methode doesn't. */
/* } */

/*
    body.dark will include all the darkmode colors as variables.
    Then javascript will activate the darkmode by detecting 
     prefers-color-scheme: dark, or by handling the link on white-mode pages.
*/
body.dark {
    --text-color: #fff;
    --background-color: #000711;
    --highlight-color: rgb(169, 178, 214);
    --content-note-color: rgb(231, 236, 255);
}

body {
    margin: 0;
    margin-top: 50px;
    color: var(--text-color);
    font-family: Arial, sans-serif;
    background: var(--background-color);
}

.highlight {
    color: var(--highlight-color);
}

#content-header-textbox-note {
    color: var(--content-note-color);
}

#style-mode {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: auto;
    /* height: 45px; TODO: Check if this is needed in the future, with larger cards. */
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    text-align: center;
}

#header-title h1 {
    font-size: 50px;
}

#content-header {
    text-align: center;
    padding-bottom: 5px;
} #content-header h1 {
    font-size: 50px;
    margin-top: 30px;
    margin-bottom: 30px;
}

#content-body-header {
    text-align: center;
} #content-body-header h2 {
    font-size: 35px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#link-element {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 10px;
}

/* Card style made by: gh/ImPlotzes */
.card {
    margin: 20px;
    color: #fafafa;
    background-color: #27292a;
    padding: 10px 30px;
    border-radius: 10px;
    max-width: 500px;
    transition: all 0.2s;
    width: fit-content;
} .card:hover {
    transform: scale(1.1);
    background-color: #2b2d2e;
}

.card-title {
    text-align: center;
} .card-title h1 {
    font-size: 30px;
}

.card-note {
    text-align: center;
}

.card ul li {
    text-align: left;
}

#content-footer {
    text-align: center;
}

#footer-link {
    bottom: 0;
    width: 100%;
    max-height: 50px;
    min-height: auto;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: auto;
    margin-top: 10px;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
} a:hover {
    text-decoration: underline;
}

.picture {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 65px;
} .picture * {
    height: 300px;
    margin: 20px;
}

@media screen and (max-width: 700px) {
    #content-header-title {
        max-width: 95%;
        margin: 0 auto;
    }

    #content-header-textbox {
        max-width: 95%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 500px) {
    .card {
        margin: 15px;
        padding: 10px 20px;
    }
}

