:root {
    --container-width: 1024px;
}

@media screen and (max-width: 1024px) {
    :root {
        --container-width: 90vw;
    }

    #footer-right {
        float: left !important;
    }

    #mapframe {
        width: 90% !important;
    }
}

body {
    background-color: #fff7f4;
    color: #040404;
    font-size: 16px;
    font-family: sans-serif;
}

header {
    width: 100%;
    height: fit-content;
    background-color: rgba(13,17,39,0.46);
    -webkit-backdrop-filter: blur(4px);
    -o-backdrop-filter: blur(4px);
    -moz-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

header h1 {
    color: white;
    font-size: large;
}

header a, header a:visited {
    text-decoration: none;
    color: white;
    font-weight: bold;
    float: left;
}

header a:hover {
    color: black;
}

.header-nav {
    margin: 10px;
    width: min-content;
    float: left;
    height: 100%;
}

main {
    width: var(--container-width);
    margin: auto;
    margin-top: -10px;
}

footer {
    border-top: 1px solid black;
}

.parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(1px);
    z-index: 0;
    height: 50vh;
}

.text-content {
    background-color: #fff7f4;
    -webkit-backdrop-filter: blur(4px);
    -o-backdrop-filter: blur(4px);
    -moz-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

#parallax-home {
    background-image: url("/public/images/kuva3.png");
}

#parallax-info {
    background-image: url("/public/images/kuva7.png");
}

#parallax-cognitive {
    background-image: url("/public/images/kuva4.png");
}

#parallax-sensorimotor {
    background-image: url("/public/images/kuva8.png");
}

#parallax-contact {
    background-image: url("/public/images/kuva13.png");
}

#parallax-bottom {
    background-image: url("/public/images/kuva12.png");
}

#header-container, #footer-container {
    width: var(--container-width);
    margin: auto;
}

#header-left, #footer-left {
    float: left;
}

#header-right, #footer-right {
    float: right;
}

table {
    width: var(--container-width);
}

td {
    vertical-align: top;
}

.column-left, .column-right {
    width: 50%;
}

#mapframe {
    width: 425px;
    height: 350px;
    border: 1px solid black;
}