body, html {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: fit-content;
    overflow-x: clip;
    font-family: 'Work Sans', Arial;
    scroll-behavior: smooth;
    background: #14282a;
    box-sizing: border-box;
}

h2 {
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    color: #003a3b;
    font-weight: bold;
    font-size: 3em;
    display: inline;
    padding: 0.2em;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    line-height: 1.66em;
}

h3 {
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    color: #003a3b;
    font-weight: bold;
    font-size: 1.6em;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
}

p {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #d0f8bd;
    font-weight: lighter;
    font-size: 1.2em;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

#loader {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: block;
    z-index: 9999;
    backdrop-filter: blur(1.5rem);
    -webkit-backdrop-filter: blur(1.5rem);
    background-color: rgba(0, 0, 0, 0.1);
    transition: 1s ease;
    pointer-events: none;
}

#nav {
    position: fixed;
    z-index: 999;
    overflow: hidden;
    display: flex;
    left: 0vh;
    border-radius: 0 5pt 5pt 0;
    bottom: 5vw;
    width: 1vh;
    height: 20vh;
    background: #d0f8bd50;
    backdrop-filter: blur(20px);
    box-shadow: 0.6vh 0.3vh 2vh 0px rgba(0,0,0,0.3);
    transition: .5s ease;
    cursor: pointer;
    transition: height .4s ease-in .4s, width .4s ease-out, left .6s ease, border-radius .6s ease, bottom .4s ease-in .4s, background-color .6s linear;
}

#navlabel {
    display: flex;
    position: absolute;
    left: -10vh;
    margin: 0;
    padding: 0;
    width: 4.5vh;
    height: fit-content;
    writing-mode: vertical-lr;
    text-orientation: sideways;
    justify-self: center;
    align-self: center;
    text-align: center;
    font-size: 3vh;
    letter-spacing: .5vh;
    transition: .4s ease;
    pointer-events: none;
    color: #003a3b;
}

#nav:hover {
    width: 5vh;
    box-shadow: 0vh 0.3vh 1.8vh 0px rgba(0,0,0,0.5);
    background: #d0f8bd;
}

#nav:focus {
    width: 5vh;
    box-shadow: 0vh 0.3vh 1.8vh 0px rgba(0,0,0,0.5);
    background: #d0f8bd;
}

#nav:hover #navlabel{
    left: .5vh;
    letter-spacing: 1vh;
}

#nav.navpreview {
    width: 5vh;
    box-shadow: 0vh 0.3vh 1.8vh 0px rgba(0,0,0,0.5);
    background: #d0f8bd;
}

#nav.navpreview #navlabel{
    left: .5vh;
}

#nav.navopen {
    background: linear-gradient(to top right, #d0f8bd80, #003a3b95);
    box-shadow: 0vh 0.3vh 1.8vh 0px rgba(0,0,0,0.5);
    width: min(90vw, 50vh);
    height: calc(100% - 2vh);
    bottom: 1vh;
    border-radius: 5pt;
    left: 1vh;
    cursor: default;
    transition: height 0.3s ease-in, width .6s ease-out 0.3s, left .6s ease-out 0.3s, border-radius .6s ease-out 0.3s, bottom 0.3s ease-in, scale 0.5s ease, background-color .6s linear;
}

#nav.navopen #navlabel{
    left: -10vh;
}

#nav-togglebox {
    width: 5vh;
    height: 5vh;
    display: inline-block;
    position: absolute;
    cursor: pointer;
    top: 2.5vh;
    right: 2.5vh;
    transition: .3s ease;
    pointer-events: none;
}

#nav.navopen #nav-togglebox:hover {
    scale: .9;
}

#nav.navopen #nav-togglebox:hover span:first-of-type {
    transform: rotate(0deg);
    top: 30%;
    background-color: #d0f8bd;
    transition: transform ease .25s, top 0.25s ease .25s, background-color ease .5s;
}

#nav.navopen #nav-togglebox:hover span:last-of-type {
    transform: rotate(0deg);
    top: 60%;
    background-color: #d0f8bd;
    transition: transform ease .25s, top 0.25s ease .25s, background-color ease .5s;
}

#nav.navopen #nav-togglebox:focus {
    scale: .9;
}

#nav.navopen #nav-togglebox:focus span:first-of-type {
    transform: rotate(0deg);
    top: 30%;
    background-color: #d0f8bd;
    transition: transform ease .25s, top 0.25s ease .25s, background-color ease .5s;
}

#nav.navopen #nav-togglebox:focus span:last-of-type {
    transform: rotate(0deg);
    top: 60%;
    background-color: #d0f8bd;
    transition: transform ease .25s, top 0.25s ease .25s, background-color ease .5s;
}

#nav-togglebox span {
    position: absolute;
    width: 100%;
    height: 0.4vh;
    border-radius: .2vh;
    background-color: transparent;
    display: inline-block;
    transition: background-color .3s ease;
}

#nav-togglebox span:first-of-type {
    transform: rotate(0deg);
    top: 30%;
}

#nav-togglebox span:last-of-type {
    transform: rotate(0deg);
    top: 60%;
}

#nav.navopen #nav-togglebox{
    pointer-events: all;
}

#nav.navopen #nav-togglebox span{
    background-color: #14282a;
    transition: background-color 1s ease .4s, transform 0.5s ease 1.05s, top 0.25s ease .8s;
}

#nav.navopen #nav-togglebox span:first-of-type {
    transform: rotate(45deg);
    top: 45%;
}

#nav.navopen #nav-togglebox span:last-of-type {
    transform: rotate(-45deg);
    top: 45%;
}

#navcontent {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 3vh;
    overflow-x: hidden;
    overflow-y: scroll;
    box-sizing: border-box;
    position: absolute;
    width: 85%;
    height: 80%;
    left: -30vh;
    align-self: center;
    transition: left .3s ease 0s;
}

#nav.navopen #navcontent {
    left: 3vh;
    transition: left .6s ease .4s;
}

.menulink {
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-weight: light;
    font-size: 4vh;
    height: 8vh;
    width: 100%;
    color: #14282a;
    margin-left: 0;
    transition: .3s ease;
}

.menulink:hover {
    font-size: 4.5vh;
    color: #d0f8bd;
    margin-left: 1.5vh;
    text-shadow: -1.5vh 0.3vh .8vh rgba(0,0,0,0.2);
    transform: translateY(.3vh);
    opacity: .8;
}

.menulink:focus {
    font-size: 4.5vh;
    color: #d0f8bd;
    margin-left: 1.5vh;
    text-shadow: -1.5vh 0.3vh .8vh rgba(0,0,0,0.2);
    transform: translateY(.3vh);
    opacity: .8;
}

#navsmlinks{
    position: absolute;
    left: -40vh;
    bottom: 3vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: calc(min(90vw, 50vh) - 12vh);
    height: 6.5vh;
    transition: left .3s ease 0s;
}

#nav.navopen #navsmlinks {
    left: 6vh;
    transition: left .6s ease .4s;
}

.navsmlink{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 6vh;
    height: 6vh;
    border-radius: 3vh;
    box-sizing: border-box;
    overflow: hidden;
    background: transparent;
    transition: 0.3s ease;
}

.navsmlink:hover{
    background: #d0f8bd;
    scale: 1.05;
    box-shadow: 0.6vh 0.3vh 2vh 0px rgba(0,0,0,0.3);
}

.navsmlink:focus{
    background: #d0f8bd;
    scale: 1.05;
    box-shadow: 0.6vh 0.3vh 2vh 0px rgba(0,0,0,0.3);
}

.navsmlink img{
    width: 3.5vh;
    height: 3.5vh;
    object-fit: contain;
    transition: 0.3s ease;
    opacity: .6;
}

.navsmlink:hover img{
    scale: 0.85;
    opacity: .8;
}

.navsmlink:focus img{
    scale: 0.85;
    opacity: .8;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 24vh);
    height: fit-content;
    padding: 12vh;
    padding-top: 2vh;
    padding-bottom: 0;
    bottom: 0;
    margin-bottom: 0px;
    background-image: url('/imgs/lauf_silhouette_dark.svg'), linear-gradient(to top, #d0f8bd, #003a3b);
    background-repeat: repeat-x, no-repeat;
    background-size: auto 90%, 100% 100%;
    background-position: bottom left 0;
}


#footerlinks{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: fit-content;
    z-index: 1;
}

.footerlinkscut{
    margin-top: 8vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: calc(50% - 4vh);
    height: fit-content;
}

#footersmlinks{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 40vh;
    height: 6.5vh;
}

.footersmlink{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 6vh;
    height: 6vh;
    border-radius: 3vh;
    box-sizing: border-box;
    overflow: hidden;
    background: transparent;
    backdrop-filter: blur(25px);
    transition: .3s ease;
}

.footersmlink:hover{
    background: #d0f8bd;
    scale: 0.95;
    box-shadow: 0.6vh 0.3vh 2vh 0px rgba(0,0,0,0.3);
}

.footersmlink:focus{
    background: #d0f8bd;
    scale: 0.95;
    box-shadow: 0.6vh 0.3vh 2vh 0px rgba(0,0,0,0.3);
}

.footersmlink img{
    width: 3vh;
    height: 3vh;
    object-fit: contain;
    transition: 0.3s ease;
    opacity: .7;
}

.footersmlink:hover img{
    scale: 0.9;
    filter: invert(100);
}

.footersmlink:focus img{
    scale: 0.9;
    filter: invert(100);
}

.footerrow{
    height: fit-content;
    width: calc(50% - 4vh);
}

.footerrowtitle{
    color: rgba(250, 250, 250, 0.5);
    font-size: 1.5vh;
    font-weight: 400;
    pointer-events: none;
    justify-self: center;
    text-align: center;
}

.footerlink{
    margin-top: .6vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: fit-content;
    min-height: 5vh;
    border-radius: 2vh;
    backdrop-filter: blur(0px);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease, border 0s;
    border: 1px solid rgba(255, 255, 255, 0);
}

.footerlink p{
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: -.5vh .3vh 1vh rgba(0,0,0,0.1);
    font-size: 2vh;
    width: fit-content;
    padding-left: 1vh;
    padding-right: 1vh;
    margin-left: -1vh;
    margin-right: -1vh;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.footerlink:hover{
    backdrop-filter: blur(5px);
    background: linear-gradient(to right, #d0f8bd40, #00000000);
    box-shadow: 0 0 2vh 0 rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footerlink:hover p{
    scale: 1.05;
    color: #d0f8bd;
}

.footerlink:focus{
    backdrop-filter: blur(5px);
    background: linear-gradient(to right, #d0f8bd40, #00000000);
    box-shadow: 0 0 2vh 0 rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footerlink:focus p{
    scale: 1.05;
    color: #d0f8bd;
}

#footerbottom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 20vh;
    margin-top: 5vh;
    z-index: 1;
}

#footermarkbox{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 10vh;
    width: fit-content;
}

#footermark{
    font-family: 'Work Sans', Arial;
    color: white;
    font-weight: bold;
    font-size: 4.5vh;
    white-space: nowrap;
    margin-right: 3vh;
}

#footerlogobox{
    display: flex;
    flex-direction: row;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    white-space: nowrap;
    height: 8vh;
    width: 8vh;
}

#footerlogo{
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#content {
    background: linear-gradient(to bottom, #14282a 0%, #003a3b 15%, #d0f8bd 100%);
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
    overflow: hidden;
    padding: 0px;
    box-sizing: border-box;
    min-height: 100vh;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #d0f8bd;
    color: #003a3b;
    padding: 8px;
    text-decoration: none;
    border-radius: 5px;
    z-index: 10000;
    font-weight: bold;
    overflow: hidden;
}

.skip-link:focus {
    top: 6px;
}