:root {
    --bg-color: rgb(255, 255, 255);
    --text-color: rgb(60, 60, 60);
    --text-color-hover: rgb(80, 80, 80);
    --text-color-active: rgb(100, 100, 100);
}

body {
    display: flex;
    flex-direction: column;


    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;


    background-color: var(--bg-color);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;


}

/* #region Header */

header {
    height: 50px;
    flex-grow: 0;
    flex-shrink: 0;

    display: flex;
    flex-direction: row;

    background-color: var(--bg-color);
    /* background-color: red; */

    z-index: 1000;
}

header::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, transparent, var(--bg-color));
    z-index: -1;
}

nav {
    width: 25%;
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    /* background-color: rgb(120, 200, 120); */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: flex-end;

}

nav ul li {

    margin-right: 10px;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: var(--text-color);
    padding: 10px;
    font-size: 24px;
}

nav ul li a:hover {
    color: var(--text-color-hover);

}


/* #endregion */


canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

    width: 100vw;
    height: 100vh;
}

.block {
    width: 75%;
    /* background-color: rgba(248, 4, 4, 0.75); */
    z-index: 1;
    max-width: 500px;
}

.block svg {
    width: 100%;

}

.messagebox {
    background-color: rgba(200, 200, 200, 0.75);
    border-radius: 10px;
    color: rgb(60, 60, 60);
}


.heading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.subheading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* svg {
    display: block;
    margin: auto;
    width: 50%;
} */



.content {
    flex-grow: 1;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 1;
    padding: 0 10%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;

}

/* Create four equal columns that sits next to each other */
.column {
    flex: 150px;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;

}

.tile {
    transition: opacity 0.3s ease-in-out;
    opacity: 0.7;
}

.tile:hover {
    opacity: 1;
}

a.tile {
    display: block;
    margin-top: 8px;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: var(--text-color);
}

.red {
    background-color: rgb(200, 120, 120);
}

.green {
    background-color: rgb(120, 200, 120);
}

.blue {
    background-color: rgb(120, 120, 200);
}

/* #region footer */
footer {
    height: 50px;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;

    display: flex;
    flex-direction: row;

    background-color: var(--bg-color);
    /* background-color: blue; */

    z-index: 999;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    z-index: -1;
}

.footer-left {
    width: 25%;
    flex-grow: 0;
    display: flex;
    justify-content: flex-start;
    /* background-color: rgb(200, 120, 120); */
}

.footer-centre {
    flex-grow: 1;
    width: 25%;


    align-items: center;
    text-align: center;
    padding: 10px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-left {

        flex-grow: 1;

    }

    .footer-centre {
        display: none;

    }
}

.footer-right {
    width: 25%;
    flex-grow: 0;

    display: flex;
    justify-content: flex-end;

    right: 0;
    /* background-color: rgb(200, 120, 120); */
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 8px;
    margin: 10px;
}

.social>* {
    height: 30px;
}

.contact {
    flex-grow: 1;
    border-radius: 2px;
    border: none;
    width: auto;
    margin: 10px;
    background-color: rgb(120, 200, 120);

}

/* #endregion */



/* Style for the cookie consent banner */
#tracking-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1000;
}

#tracking-banner button {
    margin: 5px;
    padding: 8px 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
}