/* --- Allgemeines --- */
* {
    font-family: Roboto, Open Sans, Trebuchet MS, sans-serif;
    line-height: 1.4;
    color: white;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Vertikale Scrollbar verschwinden lassen, ohne disfunktion*/
*::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}
body {
    background: url("../imgs/texture.jpg") fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
/* --- Allgemeines --- */




/* --- Text-Formatierungen --- */
h1, h2 {
    font-size: 180%;
    height: auto;
    width: 30%;
    padding: 0.2%;
    border-radius: 20px/30%;
    letter-spacing: 2px;
    text-align: center;
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 2%;
    background: gray;
    opacity: 50%;
    color: black;
}
p {
    padding: 2%;
}
a {
    color: darkgray;
}
a:hover {
    color: white;
}
/* --- Text-Formatierungen --- */








/* --- Navbar --- */
nav {
    height: 70px;
    width: 100%;
    background: linear-gradient(80deg, black, #282828);
    box-shadow: 2px 2px 20px black;
    position: fixed;
    z-index: 2;
}
.navUL {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-right: auto;
    list-style-type: none;
}
.navUL a {
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 130%;
    transition: text-shadow, color 0.5s ease-out;
}
.navUL a:hover {
    text-shadow: 2px 2px 10px white;
    color: white;
    transition: text-shadow, color 1s ease-out;
}
/* --- Navbar --- */






/* --- Filter für gooey Bubbles --- */
#gooeySVG {
    display: none;
} /*Rest ist in Button.css*/
/* --- Filter für gooey Bubbles --- */







/* --- R2N Banner und Ich --- */
.r2nBanner {
    width: 85%;
    height: 40vh;
    background-position: center;
    background-size: cover;
    opacity: 80%;
    box-shadow: 2px 2px 20px black;
    overflow-y: hidden;
    margin-top: 70px; /*für Navbar*/
    position: relative; /* Für Positionierung des niklasDiv */
}

#particleWebCanvas { 
    position: relative;
    z-index: 1;
    background-image: url("../imgs/R2Nbanner.png");
    background-position: center;
    background-size: cover;
    width: 100%;
}

.r2nBanner img {
    background-image: url("../imgs/FotoHeadset_LächelnTransparent.png");
    background-size: cover;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    max-height: 60%;
}
/* --- R2N Banner und Ich --- */




.mainDiv {
    background: linear-gradient(#282828, black);
    width: 85%;
    box-shadow: 2px 2px 20px black;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* --- Sections --- */
section {
    padding-bottom: 6%;
}
#R2N {
    order: 1;
    padding-bottom: 0%;
}
#road2NohandStreetImage {
    float: right;
    padding: 1%;
    max-width: 40%;
    border-radius: 40px;
    height: auto;
    user-select: none;
}
#Projekte {
    order: 2;
}
#YT {
    order: 3;
}
#Informatik {
    order: 4;
}
#nWortLangeWorte {
    order: 5;
}
/* --- Sections --- */





/* --- Section: Projekte --- */
#Projekte ul {
    list-style-type: none;
    font-size: 120%;
    padding: 2%;
}
#Projekte a {
    text-decoration: none;
}
#Projekte li {
    border-bottom: 1px solid gray;
    margin-right: 50%;
}
#Projekte ul li:hover {
    color: white;
}
/* --- Section: Projekte --- */




/* --- Section: YouTube --- */
#WebDevRoadMap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Center the element horizontally */
    max-width: 80%; /* Make the element smaller */
    border: 1px solid white;
    padding: 2%;
    border-radius: 20px;
    user-select: none;
}
/* --- Section: YouTube --- */






/*    Eingabe- und nWort Elemente      */
#btn {
    border-radius: 5px;
    color: white;
    background-color: #282828;
    font-size: 100%;
    text-align: center;
    margin-top: 2%;
    width: 90px;
    height: 30px;
}
#btn:hover {
    box-shadow: 1px 1px 5px gray;
}
.del-item {
    color: rgba(207, 28, 28, 0.678);
    border-radius: 100%;
    font-weight: bold;
}
#wortFormDiv {
    padding-left: 2%;
}
#LoginDivFormMain {
    display: flex;
    flex-direction: row;
    justify-content: left;
}
#nWortListe {
    font-style: italic;
    list-style: none;
    font-size: 120%;
    padding: 2%;
}
#nWortListe li {
    border-bottom: 1px solid gray;
    margin-right: 50%;
    color: gray;
}
#nWortListe li:hover {
    color: white;
}
/*    Eingabe- und nWort Elemente      */







/* --- Footer --- */
footer {
    background: black;
    width: 100%;
    height: auto;
}
#footerText {
    text-align: center;
    font-size: 60%;
    color: gray;
    padding: 5px;
    margin: 0;
}
/* --- Footer --- */




/* --- fluid Canvas --- */
#fluidCanvas {
    position: fixed;
    height: 100vh;
    z-index: 3; /*navbar ist auf 2*/
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 30%;
}









/* --- Tablets --- */
@media (max-width: 900px) {

    .mainDiv {
        width: 100%;
    }
    .r2nBanner{
        width: 100%;
        height: 25vh;
    }
    #particleWebCanvas {
        width: 100%; /* Fügen Sie die gewünschte Höhe hier ein */
    }

    section {
        padding-bottom: 3%;
    }
    #R2Nmembers {
        display: none;
    }
    
    h1, h2 {
        font-size: 180%;
        height: auto;
        width: 55%;
        padding: 0.5%;
        border-radius: 20px/30%;
        letter-spacing: 2px;
        text-align: center;
        margin-left: 20px;
        margin-bottom: 10px;
        background: gray;
        opacity: 50%;
        color: black;
    }

    #nWortListe {
        padding-left: 2%;
    }


    .line {
        width: 30px;
        height: 5px;
        background: white;
        margin: 5px;
        border-radius: 30px;
        overflow-x: hidden;
        overflow-y: hidden;
        transition: box-shadow 1s ease-out;
    }

    nav {
        position: fixed; 
        /*für hamburgerDiv, sonst kann es nicht absolute werden! Und relative ist
        am besten weil das nav dann relative zu seiner ersten Position verschoben
        werden könnte, was es ja nicht soll.*/
    }

    .hamburger {
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 25%;
        z-index: 2; /*muss min auf höhe der Navbar sein, da child von navbar*/
        transition: transform 0.5s ease-out;
        overflow-x: hidden;
        overflow-y: hidden;
    }
    .hamburger:hover {
        transform:rotateZ(180deg);
    }
    .hamburger:hover .line {
        box-shadow: 1px 1px 5px gray;
    }

    .navUL {
        position: fixed; /*fixed means positioned relative to the viewport*/
        background: #282828;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        clip-path: circle(20vh at 95% -12%);
        -webkit-clip-path: circle(20vh at 95% -12%); /*für support bei anderen Browsern*/
        transition: all 0.2s ease-out;
        pointer-events: none;
    }
    .navUL.open {
        clip-path: circle(80vh at 70% 10%);
        -webkit-clip-path: circle(80vh at 70% 10%); /*für support bei anderen Browsern*/
        transition: all 0.5s ease-out;
        pointer-events: all;
    }
}
/* --- Tablets --- */





/* --- Notebooks --- */
@media (min-width: 1200px) {

    .mainDiv {
        width: 85%;
    }
    .r2nBanner{
        width: 85%;
    }
    #particleWebCanvas {
        width: 100%; /* Fügen Sie die gewünschte Höhe hier ein */
    }

    section {
        padding-bottom: 3%;
    }
    
    h1, h2 {
        font-size: 180%;
        height: auto;
        width: 30%;
        padding: 0.5%;
        border-radius: 20px/30%;
        letter-spacing: 2px;
        text-align: center;
        margin-left: 20px;
        margin-bottom: 10px;
        background: gray;
        opacity: 50%;
        color: black;
    }

}
/* --- Notebooks --- */





/* --- Desktops --- */
@media (min-width: 1920px) {

    .mainDiv {
        width: 85%;
    }
    .r2nBanner{
        width: 85%;
    }
    #particleWebCanvas {
        width: 100%; /* Fügen Sie die gewünschte Höhe hier ein */
    }
    section {
        padding-bottom: 3%;
    }
    
    h1, h2 {
        font-size: 180%;
        height: auto;
        width: 20%;
        padding: 0.5%;
        border-radius: 20px/30%;
        letter-spacing: 2px;
        text-align: center;
        margin-left: 20px;
        margin-bottom: 10px;
        background: gray;
        opacity: 50%;
        color: black;
    }
}

