/*basis */
* {
    margin: 0;
    padding: 0;

}

#wrapper {
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    background: rgba(257, 257, 257, 0.9);

    border-radius: 5px;

    padding: 0;
    #min-height: min-content;

}

#content {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

img {
    max-width: 100%;
}

#root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


html {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #fff 0%, #aaa 100%) no-repeat;
    background: black;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: monospace;
}

/*Hintergrund animation*/

canvas {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
}

span {
    font-family: monospace;
    font-size: 1.5em;
}

span.time {
    font-size: 0.9em;
}

span.time-tracking {
    display: inline-block;
    position: relative;
    text-align: center;
}

span.time-tracking:after {
    content: "tracking";
    opacity: 0;
    animation: cursor 1s infinite;
    display: block;
}

@keyframes cursor {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/*Ende Hintergrundanimation*/

/*Keep the bullet points of a list inside the content*/
ul {
    list-style-position: inside;
}

/*Start navigation styling*/
#globalnav {
    text-align: center;
    width: 100%;
    font-size: 17px;
    font-family: monospace;
    color: white;
    background: rgba(22, 22, 23, .8);
    position: sticky;
    top: 0;
    min-height: 44px;
    height: auto;
    overflow: visible;
    z-index: 1000;
}

nav ul li {
    display: inline-block;
    white-space: nowrap;
    margin-left: 20px;
}

nav ul {
    width: 100%;
    flex-wrap: wrap;
}

nav ul a {
    text-decoration: none;
    font-family: monospace;
    font-weight: bold;
    color: white;
    padding: 10px 10px 0;
}

nav ul a:hover {
    border-bottom: inset;
}

.current {
    border-bottom: dotted;
}

nav {
    padding: 10px;
    margin: 0 auto;
    max-width: 1024px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.2em;
    white-space: nowrap;
    margin-right: 20px;
}

.menu-container {
    flex-grow: 1;
}

#globalnav-list {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.globalnav-menutrigger {
    display: none;
}
/*End navigation styling*/

h2 {
    margin-top: 1% !important;
    text-align: center;
    font-size: 4em;
    font-weight: bold !important;
}

/*footer zu unterst fixieren*/
footer {;
    bottom: 0;
    padding-left: 10px;
}


p {
    font-size: 1.3em;
}


h3 {
    font-size: 3em;
    word-break: break-word;
    hyphens: auto;
    padding-left: 20px;
}

h4 {
    font-size: 2.5em;
}

a {
    min-width: fit-content;
}

/*Potrait und Eigenschaften*/
#foto1 {
    border: 2px solid;
    border-radius: 5px;
    order: 2;
    width: 400px;
    height: 400px;
    align-self: center;
}

/*Clear float*/
.cllfix {
    clear: both;
}

/*Text Lebenseinstellung*/
#einstellung {
    float: right;
    margin-right: 20%;
}

/*Brain logo + Liste*/
#foto2 {
    float: left;
    margin-left: 15%;
}

.wrap_box2 {
    float: right;
    margin-top: 4%;
    margin-right: 22%;
    margin-bottom: 10%;
    margin-left: 5%;
}

/*Ende Über Mich Sektion*/
#abschlusstext {

    width: 60%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10%;
}

/*Inception Video + Text*/
#video1 {
    order: 2;
}

/*Avengers Video + Text*/

#video2 {
}

/*Abschnitt PC Hardware*/

.hardware div {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 35%;
    order: 2;
}

#foto5 {
    border-radius: 100px;
}

/*Abschnitt Ausstattung PC Liste*/

.wrap_box4 {
    width: 35%;
}

.img-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 400px;
    max-width: 100%;
}

.wrap_box4 ul li {
    font-size: 1.3em;
}

.wrap_box4 ul li a {
    text-decoration: none;
    font-size: 0.5em;
    color: black;
}

.wrap_box4 ul li a:hover {
    text-decoration: underline;
}

#foto6 {
}

#foto8 {
}

#foto3 {
    border-radius: 5px;
}

#inArbeit {
    text-align: center;
    margin-top: 10%;
}

.auflistung {
    margin-top: -18px;
    margin-bottom: 20px;
}

#foto20, #foto21 {
}

ul.application_task_list {
    font-size: 14pt;
}

article {
    display: inline-flex;
    justify-content: space-around;
    padding: 50px 20px;
    gap: 20px;
    align-items: center;
}

/* Login form */
.login {
    text-align: center;
    margin-top: 20px;
}

.reset-password {
    flex-direction: column;
}

@media only screen and (min-width: 835px) {
    .menu-container {
        height: auto !important;
        overflow: visible !important;
    }
}

/* Tablet and Smartphone styles */
@media only screen and (max-width: 838px) {
    #content {
        width: 100%;
    }

    /* Prevent iOS auto-zoom on input focus */
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important;
    }

    /*Start navigation styling*/
    #globalnav {
        min-height: 48px;
        height: auto;
    }

    #globalnav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
        flex: 1;
        text-align: left;
    }

    .menu-container {
        order: 3;
        width: 100%;
        overflow: hidden;
        transition: height 0.3s ease-out;
    }

    nav ul {
        width: 100%;
        order: 3;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: left;
    }

    nav ul a {
        display: block;
        padding: 10px 0;
    }

    .globalnav-menutrigger {
        display: block;
        order: 2;
        width: 48px;
    }

    #globalnav-list.show {
        display: flex;
    }

    #globalnav-menutrigger-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        cursor: pointer;
        outline-offset: -7px;
        transition: opacity .32s cubic-bezier(.4,0,.6,1),color .32s cubic-bezier(.4,0,.6,1);
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        background: none;
        border: 0;
        color: #fff;
    }

    nav ul li:not(:last-child) {
        margin-right: 20px; /* Adds space between nav items */
    }

    /*End navigation styling*/

    article {
        align-items: center;
        flex-direction: column;
    }

    article .wrap_box1 {
        width: 100%;
        text-align: center;
        order: 2;
    }

    article .wrap_box5, article .wrap_box3, .hardware div, article .wrap_box4 {
        width: 100%;
    }

    article iframe {
        width: 100%;
    }

    h3 {
        margin: 0 auto;
        padding-left: unset;
    }
}