body {
    background-color: rgb(30, 30, 30);
    font-family: 'Roboto Mono', monospace;
    width: 100%;
}

body p {
    font-family: 'Roboto Mono', monospace;
    color: rgb(255, 255, 255);
    font-size: 18px;
}

body a {
    color: #4dabf5;
}

body a:hover{
    color: #1769aa;
}

body ul {
    list-style-type: disc;
}

@media (prefers-color-scheme: light) {
    body p {
        color: #181818;
    }
}

@media (prefers-color-scheme: light) {
    body a {
        color: #2196f3;
    }
}

/* Darkmode and Lightmode */

:root {
    color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #efefef;
        color: #181818;
    }
}


/* Navigation bar */

.primary-navigation a > [aria-hidden="true"] {
    font-weight: 700;
    margin-inline-end: 0.5em;
}

.primary-navigation a:hover > [aria-hidden="true"] {
    color: black;
}

@media (prefers-color-scheme: light) {
    .primary-navigation a:hover > [aria-hidden="true"] {
        color: rgb(200, 200, 200);
    }
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.header a {
    text-decoration: none;
}

.header {
    width: 100%;
    z-index: 99;
    border: none;
    outline: none;
    position: fixed;
    padding: 0 20px;
    background-color: rgb(228, 228, 228);
    height: 50px;
    display: flex;
    justify-content: space-between;
}

@media (prefers-color-scheme: light) {
    .header  {
        background-color: #353535;
    }
}

.brand {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

@media only screen and (max-width: 315px) {
    .brand {
        font-size: small;
    }
}

.brand a {
    color: black;
}

@media (prefers-color-scheme: light) {
    .brand a {
        color: white;
    }
}

.primary-navigation {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.primary-navigation a {
    color: black;
}

@media (prefers-color-scheme: light) {
    .primary-navigation a {
        color: white;
    }
}

.primary-navigation li {
    font-family: 'Roboto Mono', monospace;
    padding: 5px;
    margin-left: 10px;
    margin-top: 0.5%;
}

.primary-navigation a:hover {
    color: #1769aa;
}

@media (prefers-color-scheme: light) {
    .primary-navigation a:hover {
        color: #4dabf5;
    }
}

@media (prefers-color-scheme: light) {
    .primary-navigation span {
        color: rgb(200, 200, 200);
    }
}

#icon {
    margin: auto 0;
    display: none;
    cursor: pointer;
}

#icon div {
    width: 35px;
    height: 3px;
    background-color: black;
    margin: 6px 0;
    transition: 0.4s;
}

@media (prefers-color-scheme: light) {
    #icon div {
        background-color: rgb(239, 239, 239);
    }
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    background-color: rgb(228, 228, 228);
}

@media (prefers-color-scheme: light) {
    .open .mobile-menu {
        background-color: rgb(53, 53, 53);
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    height: calc(100vh - 50px);
    width: 100%;
}

.mobile-menu  li {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 20px;
    list-style-type: none;
}

.mobile-menu a {
    color: black;
    margin-right: 10px;
    
}

.mobile-menu a:hover {
    color: black;
}

@media (prefers-color-scheme: light) {
    .mobile-menu a {
        color: rgb(228, 228, 228);
    }
}

@media (prefers-color-scheme: light) {
    .mobile-menu a:hover {
        color: rgb(228, 228, 228);
    }
}

.mobile-menu a > [aria-hidden="true"] {
    font-weight: 700;
    margin-inline-end: 0.5em;
}

.mobile-menu a:hover > [aria-hidden="true"] {
    color: black;
}

@media (prefers-color-scheme: light) {
    .mobile-menu a:hover > [aria-hidden="true"] {
        color: white;
    }
}

@media only screen and (max-width: 1200px) {
    header nav {
        display: none;
    }

    #icon {
        display: block;
    }
}

.mobile-menu-button {
    border: 0;
    border-radius: 25px;
    background-color: #bbdefb;
}

.mobile-menu-button:active {
    background-color: #83c3f7;
}

@media (prefers-color-scheme: light) {
    .mobile-menu button {
        color: #4dabf5;
    }
}

@media (prefers-color-scheme: light) {
    .mobile-menu button {
        color: #181818;
    }
}

@media (prefers-color-scheme: light) {
    .mobile-menu button:hover {
        color: white;
    }
}

.button-down {
    margin-top: 5dvh;
}

.button-down img {
    width: 20px;

    display: none;
}

/* Header */
.Überschrift {
    margin-top: 20vh;
    width:50vw;
}

@media only screen and (max-width: 800px) {
    .Überschrift {
        margin-top: 15vh;
        width: 100%;
    }
}

/* Style */

.title {
    height: 80%;
    text-align: center;
    padding: 0 10% 0 10%;
    margin: 0;
}

.Unterueberschrift {
    color: rgb(255, 255, 255);
    font-family: 'Roboto Mono', monospace;
    font-weight: bolder;
    margin-bottom: 30px;
}

@media (prefers-color-scheme: light) {
    .Unterueberschrift {
        color: #181818;
    }
}

.anrede {
    color: rgb(255, 255, 255);
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

@media (prefers-color-scheme: light) {
    .anrede {
        color: #181818;
    }
}


.pretitle,
.subtitle {
    text-shadow: 0 0 20px rgb(0, 0, 0);
    font-family: 'Roboto Mono', monospace;
}

.profil {
    display: block;
}

@media only screen and (max-width: 919px) {
    .profil-big {
        display: none;
    }
}

@media only screen and (min-width: 920px) {
    .profil-small {
        display: none;
    }
}

.profil ul {
    text-align: left;
}

.img {
    width: 294.39px;
    border-radius: 25px;
}

@media only screen and (max-width: 315px) {
    .img {
        width: 100%;
    }
}

@media (prefers-color-scheme: light) {
    .img-dark {
        display: none;
    }
}

@media (prefers-color-scheme: dark) {
    .img-light {
        display: none;
    }
}

.cm-icon-light {
    width: 50px;
    margin-top: 25px;
    margin-right: 15px;
}

@media (prefers-color-scheme: dark) {
    .cm-icon-light {
        display: none;
    }
}

.cm-icon {
    width: 50px;
    margin-top: 25px;
    margin-right: 15px;
}

@media (prefers-color-scheme: light) {
    .cm-icon {
        display: none;
    }
}

.cm {
    width: 294.39px;
}

@media only screen and (max-width: 800px) {
    .cm {
        width: 100%;
    }

    .cm-icon {
        width: 40px;
    }
}

body::-webkit-scrollbar {
    width: 5px;
    background-color: #404562;
}


body::-webkit-scrollbar-track {
    background-color: rgb(30, 30, 30);
    border-radius: 25px;
}

@media (prefers-color-scheme: light) {
    body::-webkit-scrollbar-track {
        background-color: rgb(228, 228, 228);
    }
}

body::-webkit-scrollbar-thumb {
    background-color: rgb(228, 228, 228);
}

@media (prefers-color-scheme: light) {
    body::-webkit-scrollbar-thumb {
        background-color: rgb(30, 30, 30);
    }
}

.rechts-profil {
    padding-left: 40px;
}

@media only screen and (max-width: 550px) {
    .rechts-profil {
        padding-left: 0;
    }
}

.Text p {
    text-align: center;
    font-size: 18px;
}
.Text lI {
    font-family: 'Roboto Mono', monospace;
    color: white;
    font-size: 18px;
}

@media (prefers-color-scheme: light) {
    .Text lI {
        color: black;
    }
}

.Grau {
    padding-top: 140px;
    padding-bottom: 117px;
    background-color: rgb(40, 40, 40);
}

@media (prefers-color-scheme: light) {
    .Grau {
        background-color: white;
    }
}

.Weiß {
    padding-top: 140px;
    padding-bottom: 117px;
}
.RPO {
    border-radius: 25px;
    height: 40px;
    line-height: 0px;
    background-color:rgb(0, 46, 98);
    font-family: 'Noto Sans', sans-serif;
    color: white;
    text-shadow: 3px 3px 10px black;
}
.footer {
    background-color: #ffffff;
    margin-top: -30px;
}
.footer li {
    font-family: 'Noto Sans', sans-serif;
    color: rgb(0, 0, 0);
    text-decoration: none;
    float: right;
    list-style-type: none;
    margin-right: 25px;
    margin-top: 25px;
}
.footer a {
    font-family: 'Noto Sans', sans-serif;
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.Impressum {
    font-family: 'Noto Sans', sans-serif;
    padding-top: 200px;
}
.Impressum li {
    list-style-type: disc;
}

.back-to-top {
    background-color: #4dabf5;
    border-radius: 5px;
    height: 50px;
    width: 50px;
    color: #181818;
    font-size: 20px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    text-align: center;
    padding-top: 0.5em;
}

.back-to-top:hover {
    background-color: #555;
    color: rgb(228, 228, 228);
}

@media (prefers-color-scheme: light) {
    .back-to-top {
        background-color: rgb(53, 53, 53);
        color: rgb(228, 228, 228);
    }
}

@media (prefers-color-scheme: dark) {
    .ÜLight {
        Display: none;
    }
}

@media (prefers-color-scheme: light) {
    .ÜDark {
        Display: none;
    }
}