html, body {
    width: 100%;
    height: 100%;
    margin: 0;

    font-family: "Open Sans Regular";
    font-size: 5vmin;
}

body {
    min-height: 110vh;
}

@font-face {
    font-family: "Open Sans Bold";
    src: url("./font/OpenSans-Bold.ttf");
}

@font-face {
    font-family: "Open Sans Bold Italic";
    src: url("./font/OpenSans-BoldItalic.ttf");
}

@font-face {
    font-family: "Open Sans Extra Bold";
    src: url("./font/OpenSans-ExtraBold.ttf");
}

@font-face {
    font-family: "Open Sans Extra Bold Italic";
    src: url("./font/OpenSans-ExtraBoldItalic.ttf");
}

@font-face {
    font-family: "Open Sans Italic";
    src: url("./font/OpenSans-Italic.ttf");
}

@font-face {
    font-family: "Open Sans Light";
    src: url("./font/OpenSans-Light.ttf");
}

@font-face {
    font-family: "Open Sans Light Italic";
    src: url("./font/OpenSans-LightItalic.ttf");
}

@font-face {
    font-family: "Open Sans Regular";
    src: url("./font/OpenSans-Regular.ttf");
}

@font-face {
    font-family: "Open Sans Semi Bold";
    src: url("./font/OpenSans-Semibold.ttf");
}

@font-face {
    font-family: "Open Sans Semi Bold Italic";
    src: url("./font/OpenSans-SemiboldItalic.ttf");
}

#canvas {
    background-color: #0078d4;
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
}

#startOverlay {
    color: #FFFFFF;
    display: flex;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-shadow: 0 0 1vmin #000000;
    text-align: center;
    overflow: hidden;
}

#startOverlay > h1 {
    opacity: 0;
    position: relative;
    right: 20vmin;
    transition: all 1s ease-out;
    font-size: 180%;
}

#startOverlay > h2 {
    opacity: 0;
    position: relative;
    left: 20vmin;
    transition: all 1s ease-out;
    font-size: 135%;
    margin-left: 4vmin;
    margin-right: 4vmin;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans Extra Bold";
}

#arrow {
    width: 10vmin;
    height: 10vmin;
    position: absolute;
    bottom: 5vh;
    opacity: 0;
    transition: 1s all;
    -webkit-filter: drop-shadow(0 0 0.5vmin #FFFFFF) invert(1);
    filter: drop-shadow(0 0 0.5vmin #FFFFFF) invert(1);
    cursor: pointer;
    display: none;
}

#header {
    background-color: #FFFFFFF0;
    box-shadow: 0 0 1vh #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    display: none;
    opacity: 0;
    transition: 1s all ease;
    font-size: 3vh;
    z-index: 2;
}

#mobileMenuButton {
    position: fixed;
    top: 2.5vh;
    right: 2.5vh;
    display: block;
    width: 5vh;
    height: 5vh;
    cursor: pointer;
}

#mobileMenuButton > div {
    display: block;
    position: relative;
    left: 0;
    transform: rotate(0deg);
    width: 5vh;
    height: 1vh;
    background-color: #0078d4;
    transition: 0.5s all;
}

#topMenuLine {
    top: 0;
}

#middleMenuLine1 {
    top: 1vh;
}

#middleMenuLine2 {
    top: 0;
}

#bottomMenuLine {
    top: 1vh;
}

#menu {
    position: fixed;
    top: 10vh;
    left: 0;
    width: 100%;
    height: 0vh;
    display: none;
    background-color: #FFFFFF;
    overflow: hidden;
    transition: 0.5s all;
    flex-direction: column;
}

#menu > a {
    color: #0078d4;
    text-decoration: none;
    padding: 2vmin 0;
    width: 100%;
    text-align: center;
    transition: 0.5s all;
    font-family: "Open Sans Semi Bold";
}

#menu > a:hover {
    background-color: #c8e7ff;
}

#menu > a:first-of-type {
    margin-top: 10vmin;
}

.desktop #menu {
    display: flex !important;
    height: 10vh !important;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    background-color: unset;
}

.desktop #menu > a {
    padding: 6vh;
    width: unset;
}

.desktop #menu > a:first-of-type {
    margin-top: 0;
}

/* Content */
div.container {
    padding: 10vmin;
}

div.container.black {
    background-color: #000000;
    color: #FFFFFF;
}

h2.subtitle, h3 {
    padding-top: 15vh;
    margin-top: -15vh;
    margin-bottom: 3vmin;
    color: #0061ac;
    font-family: "Open Sans Bold";
}

h3 {
    padding-top: 0;
    margin-top: 3vmin;
}

div.container.black h3.green {
    color: #87ff7c;
}

div.container.black h3.yellow {
    color: #f6ff7c;
}

div.container.black h3.red {
    color: #ff4b4b;
}

div.container.black h2.subtitle, div.container.black > h3 {
    color: #37a8ff;
}

a {
    color: #0061ac;
}

div.container p {
    margin: 3vmin 0;
}

div.container p.marginBottom {
    margin-bottom: 6vmin;
}

div#skills {
    padding-bottom: 7vmin;
}

/* Bars */
div.description {
    display: none;
}

div.bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

div.barOutline {
    border: 0.4vmin solid #FFFFFF;
    width: calc(100% - 0.8vmin);
    margin-bottom: 4vmin;
}

div.barOutline.green {
    border-color: #097200;
}

div.barOutline.yellow {
    border-color: #798100;
}

div.barOutline.red {
    border-color: #810000;
}

div.barInside {
    padding: 1vmin 2vmin;
    margin: -1px;
    user-select: text;
}

div.barInside.green {
    background-color: #097200;
}

div.barInside.yellow {
    background-color: #798100;
}

div.barInside.red {
    background-color: #810000;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Fähigkeiten */
ul {
    list-style: none;
    padding-left: 4vmin;
    margin: 3vmin inherit;
}

li::before {
    content: "+";
    position: relative;
    font-family: "Open Sans Extra Bold";
    right: 2.5vmin;
}

ul.bullet li::before {
    content: "•";
}

.columns > div.column.spacing {
    margin: 0 5vmin;
}

/* Footer */
footer {
    padding: 10vmin;
    background-color: #88cbff;
    position: relative;
}

footer .column {
    grid-row: 2;
}

#upArrow {
    width: 8vmin;
    height: 8vmin;
    border-radius: 5vmin;
    position: absolute;
    bottom: 8vmin;
    right: 8vmin;
    transform: rotate(180deg);
    background-color: #6cbfff;
    box-shadow: 0 0 1vmin #000000;
    cursor: pointer;
}

@media screen and (min-width: 650px) {
    p, ul {
        font-size: 60%;
    }

    div.description {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
    }

    div.barInside {
        color: transparent;
        font-size: 60%;
        padding: 0 2vmin;
        user-select: none;
    }

    div.barPart {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
    }

    div.bar > div.barOutline:last-of-type {
        margin-bottom: 0;
    }

    div.description > p {
        margin: calc(2.4vmin - 0.5px);
        width: 20vmin;
    }

    div.bar {
        min-width: 40vmin;
    }
}