@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Quicksand', 'sans-serif';
    
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #FF5F1F;
    --sidebar-color: darkgrey;
}

.darkmode  {
    --bg-color: #f5f5f5;
    --second-bg-color: lightgrey;
    --text-color: #1f242d;
    --main-color: #FF5F1F;
    --sidebar-color: #a9a9a9;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;

}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.8s ease-in-out;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;

}


.hidden_right {
    opacity: 0;
    transition: all 1.2s;
    transform: translateX(100%);

}

.hidden_left {
    opacity: 0;
    transition: all 1.2s;
    transform: translateX(-100%);
}

.show {
    opacity: 1;
    transform: translateX(0);
    
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    padding: 2rem 9%;
    display: flex;
    justify-content:space-around;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);

}



.navbar a {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 3rem;
    transition: .3s;
    flex-wrap: nowrap;
    animation: slideUp .5s ease forwards;
    animation-delay: calc(.15s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

/*
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5vw;
    background-color: var(--second-bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
  }
  
  .sidebar-toggle {
    position: absolute;
    top: 10px;
    right: -20px;
    width: 40px;
    height: 40px;
    font-size: 3rem;
    background-color: var(--main-color);
    border-radius: 50%;
    cursor: pointer;
  }

    #weblogo {
    float: left;
    width: 5vw;
    align-items: center;
    justify-content: center;

}
  
  .toggle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
  }
  
  .sidebar-menu {
    margin: 50px 0 0 0;
    padding: 0;
    display: block;
    color: var(--text-color);
  }

  .sidebar-menu a {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4.5rem;
    width: 70%;
    margin: auto;
    margin-top: .5rem;
    margin-bottom: .5rem;
    background: transparent;
    color: var(--main-color);
    border-radius: 10px;
    transition: .5s ease;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
  }

  .sidebar-menu a #symb {
    font-size: 4rem;
  }

  .sidebar a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
    scale: 1.05;

}
.sidebar a.active {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
    scale: 1.05;
}
  
  .sidebar-toggle.expanded .toggle-icon {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .sidebar.expanded {
    width: 16vw;
  }
  
  .sidebar.expanded .sidebar-toggle {
    right: -10rem;
  }
  
/*

.sider {
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 0.25vw;
    justify-content: safe;
    display: block;
    flex-direction: column;
    height: 98vh;
    width: 16vw;
    background-color: var(--second-bg-color);
    border-radius: 2rem;
    
}




.sidebarLogo {
    display: flex;
    margin-top: 20px;

}
.name {
    margin-left: 1.5rem;
    font-size: 3rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideUp 1s ease forwards;
}
.work {
    position: relative;
    right: -8.5rem;
    align-items: right;
    font-size: 1.2rem;

}
.sidebarLogo #weblogo {
    float: right;
    width: 5vw;
    align-items: center;
    justify-content: center;

}


.biggerArrow, .smallerArrow {
    
    font-size: 3rem;
    position: absolute;
    right: -1vw;
    transform: translateY(-50%);
    top: 5vh;
    background-color: var(--main-color);
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 25%;
    color: var(--text-color);
}

.sidebar {
   margin-left: 1rem; 
   margin-right: 1rem;
   display: flex;
   flex-direction: column;

   
}

.sidebar a {
    margin-top: 2rem;
    display: flex;
    justify-content: left;
    align-items: left;
    height: 4.5rem;
    width: 90%;
    margin: auto;
    margin-top: .5rem;
    margin-bottom: .5rem;
    background: transparent;
    color: var(--main-color);
    border-radius: 10px;
    transition: .5s ease;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.sidebar a #symb {
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    
}

.sidebar a .sideBarText {
    margin-left: 2rem;
    font-size: 2rem;
    color: var(--text-color);
    margin: 1rem 0 2rem 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.sidebar a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
    scale: 1.05;

}
.sidebar a.active {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
    scale: 1.05;
}
*/

.sidebar-menu {
    width: 5.5vw;
    height: 98vh;
    position: fixed;
    top: 1vh;
    left: .5vw;
    background-color: var(--second-bg-color);
    z-index: 13;
    overflow-x: hidden;
    transition: all 0.8s ease-in-out;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideLeft 1s ease forwards;
    animation-delay: .8s;
    

  }
  .sidebar-menu .sideBarText, .name {
    display: none;

  }



  .sideHead {
    margin: 2rem 1rem 2rem 1rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
  }

  .sidebar #weblogo {
    float: center;
    top: 0;
    width: 4vw;
    height: 4vw;
    align-items: center;
    justify-content: center;
    z-index: 13;

}
  
  .sidebar-menu.active {
    width: 13vw;
  }

  .sidebar-menu.active a .sideBarText {
    display: flex;
    flex-direction: row;
    justify-items: left;
    
  }
  

  .sidebar-menu.active .name {
    display: block;
    justify-content: space-around;
  }

  .name {
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    top: 0;
    padding-left: 1rem;
    padding-right: 1rem;

  }
  #MYdarkmode {
    position: fixed;
    font-size: 3.5rem;
    justify-content: center;
    align-items: center;
    bottom: 11rem;
    left: 3rem;
    z-index: 100;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
  }

  #MYdarkmode:hover {
    cursor: pointer;
  }
  .darkmode-text {
    display: none;
    font-size: 1.5rem;
    animation: slideRight 1s ease forwards;
}
.sidebar-menu.active ~ #MYdarkmode .darkmode-text {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    bottom: 1.5rem;
    left: 5rem;
    transition: all 1s ease-in-out;
    z-index: 100;
    
  }

  #privacyBtn {
    position: fixed;
    font-size: 3.5rem;
    justify-content: center;
    align-items: center;
    
    bottom: 17rem;
    left: 3rem;
    z-index: 100;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
    
  }

  #privacyBtn:hover {
    cursor: pointer;
  }
  .privacyBtn-text {
    display: none;
    font-size: 1.5rem;
    animation: slideRight 1s ease forwards;
    
}
.sidebar-menu.active ~ #privacyBtn .privacyBtn-text {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    bottom: 1.5rem;
    left: 5rem;
    z-index: 100;
    
  }

  #Privacy {
    position: absolute;
    top: .5rem;
    left: 8vw;
    right: 1rem;
    bottom: .5rem;
    min-height: 98vh;
    height: fit-content;
    width: auto;
    border-radius: 5rem;
    z-index: 12;
    background-color: var(--second-bg-color);
    margin: 1rem;
    transition: all .8s ease-in-out;
    

  }

  #Privacy.not{
    display: none;
    transition: all .6s ease-in-out;

  }

  #Privacy.pressed {
    display: flex;
    
   
  }

 .pPressed {
    display: none;
    opacity: 0;
    overflow-y: hidden;
 } 
  
  .content.open ~#Privacy {
    margin-left: 9vw;
    
  }

  .privacy_content {
    padding: 1.5rem;
    margin: 3rem;

    align-items: justify;
    text-align: center;
    justify-content: center;
  }
  .privacy_content h1 {
    font-size: 2.4rem;
    padding-bottom: .5rem;
  }
  .privacy_content h2 {
    font-size: 2rem;
    padding-bottom: .5rem;
    padding-top: 1rem;
  }
  .privacy_content h3 {
    font-size: 1.7rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
  }
  .privacy_content li {
    font-size: 1.6rem;
    text-align: justify;
  }
  .privacy_content p {
    font-size: 1.4rem;
    text-align: justify;
  }


.toggle-icon {
    position: fixed;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
    z-index: 100;
}
  
.toggle-icon:hover {
    cursor: pointer;
  }


.lang-icon {
    position: fixed;
    font-size: 3.5rem;
    justify-content: center;
    align-items: center;
    bottom: 5rem;
    left: 3rem;
    z-index: 100;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}


.lang-icon:hover {
    cursor: pointer;
    
  }

.lang-text {
    display: none;
    font-size: 2rem;
    animation: slideRight 1s ease forwards;
}
.sidebar-menu.active ~ .lang-icon .lang-text {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    bottom: 1.2rem;
    left: 5rem;
    transition: all 1s ease-in-out;
    z-index: 100;
    
  }



.sidebar-menu ~ .toggle-icon i.toggle {
    position: fixed;
    font-size: 3rem;
    top: 5vh;
    left: 6vw;
    color: var(--main-color);
    transition: all 0.8s ease-in-out;
  }
  .sidebar-menu.active ~ .toggle-icon i.toggle {
    position: fixed;
    transform: rotate(180deg);
    left: 13.25vw;
  }

  
  
  .sidebar-menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin: 1.5rem auto;
    text-decoration: none;
    border-radius: 10px;
    color: var(--main-color);
    width: 5rem;
    height: 5rem;
    transition: all 0.8s ease-in-out;
  }

  .sidebar-menu.active a {
    width: 80%;
    height: 5rem;
    justify-content: left;
    transition: all 0.8s ease-in-out;
  }

  
  .sidebar-menu a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
    scale: 1.15;

  }
  
  .sidebar-menu a.chosen {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
    scale: 1.1;
  }
  
  .sidebar-menu a i#symb {
    font-size: 3.5rem;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
   
  }
  
  .sidebar-menu a .sideBarText {
    font-size: 18px;
    font-weight: 500;
    padding-left: 1rem;
    transition: all 0.5s ease-in-out;
    color: var(--text-color);
  }
  
  
  

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    
}

#img-container {
    width: 20vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5vw;
    margin-right: 5vw;
    

}







@keyframes heartBeat {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    25% {

        transform: scale(1.3);
        opacity: 1;
      
    }
    50% {
        transform: scale(1);
        opacity: .5;
       
        
    }
    75% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }

    }

@keyframes rotation {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(359deg);
    }
}

.content {
    margin-left: 0;
    transition: margin-left 0.5s ease-in-out;
}

.content.open {
margin-left: 8vw;

}

#home {
    display: grid;
    grid-template-areas: ". text image";
    
}

.home-content {
    grid-area: text;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

#img-container {
    grid-area: image;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 1.3s, 3s;
    z-index: 11;
    width: 40vw;
}

#img {
    width: 80%;
    box-shadow: 0 0 2rem var(--main-color);
    border-radius: 3.5rem;
   /* box-shadow: 0 0 3rem var(--main-color);
    */
}



.home-content h3 {
    font-size: 2.3rem;
    display: block;
    font-weight: 600;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}
.home-content span {
    font-size: 2.3rem;
    display: block;
    font-weight: 600;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}
#occup {
    display: flex;
    align-items: center;
  }
  
#occup h3 {
    margin-right: 5px;
  }
  
.multiple-text {
    display: inline;
  }
.home-content h3:nth-of-type(2) {
    margin-bottom: 1.2rem;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

span.heads, span.multiple-text, span.baustelle {
    color: var(--main-color);
}

#more {
    display: none;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 1.8rem;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;

}

.social-media a {
   display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color); 
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn, .sendbtn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: 0.1rem;
    font-weight: 500;
    transition: .5s ease;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1.3s;
    margin-bottom: 5rem;
}

.btn:hover, .sendbtn:hover {
    box-shadow: none;

}


@keyframes slideUp {
0% {
    transform: translateY(-100px);
    opacity: 0;
}
100% {
    transform: translateY(0);
    opacity: 1;
}
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    }
@keyframes slideBottom {
        0% {
            transform: translateY(-100px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
        }
@keyframes slideRight {
            0% {
                transform: translateX(-100px);
                opacity: 0;
            }
            100% {
                transform: translateX(0);
                opacity: 1;
            }
            }
            @keyframes slideLeft {
                0% {
                    transform: translateX(100px);
                    opacity: 0;
                }
                100% {
                    transform: translateX(0);
                    opacity: 1;
                }
                }
@keyframes zoomIn {
                    0% {
                        transform: scale(0);
                        opacity: 0;
                    }
                    100% {
                        transform: scale(1);
                        opacity: 1;
                    }
                    }
@keyframes floatImage {
                        0% {
                            transform: translateY(0);
                            
                        }
                        50% {
                            transform: translateY(-2.5px);
                            
                        }
                        100% {
                            transform: translateY(0);
                            
                        }
                        }
#insightsL, #insightsC {
    display: grid;
    grid-template-areas: 
        ". header"
        ".box";
    gap: 5px;



}

.content.open ~#insightsL {
    margin-left: 8vw;
}

.content.open ~#insightsC {
     margin-left: 8vw;
}


.heading {
    top: 0;
    grid-area: header;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    font-size: 3.5rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    height: 5rem;
}

.container, .code-container {
    grid-area: box;
    position: relative;
    right: -5vw;
    display: grid;
    margin: auto;
    height: fit-content;
    grid-template-areas: 
    "indBox indBox" 
    "indBox indBox" ;
    width: 100%;
    grid-template-columns: repeat(2, 1fr); /* Jede Spalte hat eine Fraktionsbreite von 1 */
    grid-auto-rows: max-content; /* Die Höhe jeder Zeile wird automatisch angepasst */
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    
    /*align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3rem;
    */
}

.insightsL.container, .insightsC.container {
        grid-template-columns: repeat(2, 1fr);
        text-align: justify;
    }
/*
.container .box {
    flex: 1 1 40rem;
    width: 25vw;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
}

.container .box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);

}

.code-container {
    margin-top: 2.5rem;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3rem;
}

.code-container .box {
    flex: 1 1 40rem;
    width: 25vw;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
}

.code-container .box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);

}
*/

.box {
    border-radius: 10px;
    background-color: var(--second-bg-color); 
    border: .2rem solid var(--second-bg-color);
    box-shadow: 0 0 1rem rgba(0, 0, 0, .2);
    min-height: 35vh;
}

.box:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 1rem var(--main-color);
    transform: scale(1.02);

}



.box i {
    grid-area: indBox;
    padding: 1rem;
    gap: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 7rem;
    color: var(--main-color);
}

.box h3 {
    font-size: 1.9rem;
    text-align: center;
}
.box p {
    font-size: 1.6rem;
    padding: 1.5rem;
    text-align:justify;


}

/*
.box a {

}*/


#weiter {
    width: fit-content;
    padding: 1rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: 0.1rem;
    font-weight: 500;
}

#weiter:hover {
    box-shadow: none;

}


#cv h1 {
    text-align: center;
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}
.content.open ~#cv {
    margin-left: 0vw;
}
.cv-container {
    
    display: grid;
    margin: auto;
    height: fit-content;
    grid-template-areas: 
    "prog einBox" 
    "prog einBox"
    "prog einBox" 
    "prog einBox" ;
    width: 100%;
    grid-template-columns: 1fr 2fr; 
    grid-template-rows: 25% 25% 25% 25%;
    grid-auto-rows: max-content; /* Die Höhe jeder Zeile wird automatisch angepasst */
    gap: 20px;
    
}





.progress-bar-container {
    grid-area: prog;
    align-items: center;
    position: relative; /* Make progress bar position absolute within the section */
    top: 3vh;
    margin-left: 0;
    left: 8vw;
    /*bottom: 5vh;  Adjust this to change the position of the progress bar */
    width: 2rem; /* Width of the progress bar */
    height: 130vh;
    background-color: #323946;
    z-index: 11;
    border-radius: 3rem;

}
#timeLine_now {
    position: absolute;
    top: -3rem;
    left: -1rem;
    color: var(--main-color);
    font-size: 2rem;
    font-weight: 700;

}
#timeLine_past {
    position: relative;
    bottom: 0rem;
    left: -.5rem;
    color: var(--main-color);
    font-size: 3rem;
    font-weight: 700;
   

}

.progress-bar {
    position: relative;
    top: 0vh;
    min-height: 2rem;
    background-color: var(--main-color);
    transition: height 0.1s;
    border-radius: 3rem;
    bottom: 0.5vh;
    max-height: 130vh;
}


.eintrag {
    grid-area: einBox;
    min-height: 15vh;
    margin-top: 7rem;
    margin-bottom: 5rem;
    margin-left: 2rem;
    margin-right: 2rem;
    width: 80%;
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    transition: transform 0.3s;
}

#cv0 {
    color: var(--main-color);
}

#ra1, #digital {
    color: var(--text-color);

}
.upscale {
    transform: scale(1.2); /* Upscaled text */
}

.eintrag p {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: left;
    padding-left: 1rem;
}



#contact h2 {
margin: 3rem;

}

#contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    align-items: center;
    margin-bottom: 3rem;
    z-index: 10;
}

#contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

input[type="text"], input[type="email"] {
    width: 200px;
    height: 40px;
    padding: 10px;
    font-size: 16px;
    text-align: center; /* Horizontal zentrieren */
    vertical-align: middle; /* Vertikal zentrieren */
}


  /* Position des Placeholder-Textes anpassen */
input[type="text"]::placeholder,  input[type="email"]::placeholder{
    text-align: center;
  }

textarea {
    padding: 10px;
    font-size: 16px;
    text-align: center; /* Horizontal zentrieren */
    vertical-align: middle; /* Vertikal zentrieren */
}

textarea::placeholder {
    text-align: center;
}

  #contact form .input-box input, #contact form textarea {
    width: 100%;
    padding: 1.5 rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .3);
    z-index: 10;

}

#contact form .input-box input{
    width: 49%;

}

#contact form textarea {
    resize: none;
}

#contact form .btn {
    margin-top: 2rem;
    cursor: pointer;

}

.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 2rem 9%;
    transition: margin-left 0.5s ease-in-out;
}

.content.open ~footer {
    margin-left: 8vw;
}

.footer-text p {
font-size: 1.6rem;


}
.footer-text em {
    font-size: 1.4rem;
}

.footer-icon a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-icon a:hover {
box-shadow: 0 0 1rem var(--main-color);

}
.footer-icon a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}





@media (max-width: 1200px) {
    .sidebar-menu {
        width: 8vw;
        height: 98vh;
        position: fixed;
        top: 1vh;
        left: .5vw;
        background-color: var(--second-bg-color);
        z-index: 12;
        overflow-x: hidden;
        transition: all 0.5s ease-in-out;
        border-radius: 10px;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        
    
      }
      .sidebar-menu .sideBarText, .name{
        display: none;
    
      }
    
    
    
      .sideHead {
        margin: 2rem 1rem 2rem 1rem;
        margin-bottom: 2rem;
        display: flex;
        justify-content: space-between;
      }
    
      .sidebar #weblogo {
        float: center;
        top: 0;
        width: 6vw;
        height: auto;
        align-items: center;
        justify-content: center;
        z-index: 12;
    
    }
      
      .sidebar-menu.active {
        width: 20vw;
      }
    
      .sidebar-menu.active a .sideBarText {
        display: flex;
        flex-direction: row;
        justify-items: left;
        
      }
      
    
      .sidebar-menu.active .name {
        display: block;
        justify-content: space-around;
      }
    
      .name {
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
        top: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    
      }
    
      
      .toggle-icon:hover {
        cursor: pointer;
      }
    
    .sidebar-menu ~ .toggle-icon i.toggle {
        position: fixed;
        font-size: 3.5rem;
        top: 4.5vh;
        left: 8.5vw;
        color: var(--main-color);
        transition: all 0.5s ease-in-out;
      }
      .sidebar-menu.active ~ .toggle-icon i.toggle {
        position: fixed;
        transform: rotate(180deg);
        left: 20.5vw;
      }
    
      
      
      .sidebar-menu a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin: 1.5rem auto;
        text-decoration: none;
        border-radius: 10px;
        color: var(--main-color);
        width: 5rem;
        height: 5rem;
        transition: all 0.5s ease-in-out;
      }
    
      .sidebar-menu.active a {
        width: 80%;
        height: 5rem;
        justify-content: left;
        transition: all 0.5s ease-in-out;
      }
    
    
      .sidebar-menu.active a  {
        width: 80%;
        height: 5rem;
      }
      
      .sidebar-menu a:hover {
        background: var(--main-color);
        color: var(--second-bg-color);
        box-shadow: 0 0 1rem var(--main-color);
        scale: 1.15;
    
      }
      
      .sidebar-menu a.chosen {
        background: var(--main-color);
        color: var(--second-bg-color);
        box-shadow: 0 0 1rem var(--main-color);
        scale: 1.1;
      }
      
      .sidebar-menu a i#symb {
        font-size: 4rem;
        justify-content: center;
        align-items: center;
        color: var(--text-color);
       
      }
      
      .sidebar-menu a .sideBarText {
        font-size: 18px;
        font-weight: 500;
        padding-left: 1rem;
        transition: all 0.5s ease-in-out;
        color: var(--text-color);
      }
      
      
      
    
    #menu-icon {
        font-size: 3.6rem;
        color: var(--text-color);
        display: none;
        
    }
    
    #img-container {
        grid-area: image;
        display: flex;
        justify-content: center;
        opacity: 0;
        animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
        animation-delay: 1.3s, 3s;
        z-index: 98;
        width: 40vw;
    }
    
    #img {
        width: 80%;
    }
    .content {
        margin-left: 0;
        transition: margin-left 0.5s ease-in-out;
    }
    
    .content.open {
    margin-left: 14vw;
    
    }

    #insightsL, #insightsC {
        display: grid;
        grid-template-areas: 
            ". header"
            ". box";
        gap: 5px;
    }
    
    .content.open ~#insightsL {
        margin-left: 14vw;
    }
    
    .content.open ~#insightsC {
         margin-left: 14vw;
    
    }
    
    
    .heading {
        top: 0;
        position: relative;
        right: -5vw;
        grid-area: header;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        font-size: 3.5rem;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
        height: 5rem;
    }
    
    .container, .code-container {
        grid-area: box;
        position: relative;
        right: -5vw;
        display: grid;
        margin: auto;
        height: fit-content;
        grid-template-areas: 
        "indBox indBox" 
        "indBox indBox" ;
        width: 100%;
        grid-template-columns: repeat(2, 1fr); /* Jede Spalte hat eine Fraktionsbreite von 1 */
        grid-auto-rows: max-content; /* Die Höhe jeder Zeile wird automatisch angepasst */
        gap: 20px;
        align-items: stretch;
        justify-content: center;
        
        /*align-items: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 3rem;
        */
    }
    
    .insightsL.container, .insightsC.container {
            grid-template-columns: repeat(2, 1fr);
        }
    
    
    .content.open ~#cv {
            margin-left: 15vw;
        }
    #contact {
        margin-left: 10vw;
        align-items: center;
        justify-content: center;
    } 
    
    #contact h2 {
       right: 0vw;
    }
    .content.open ~#contact {
        margin-left: 20vw;
    }
    
    .footer {
        align-items: center;
        margin-left: 10vw;
        text-align: center;
    }
    .content.open ~.footer {
        margin-left: 20vw;
    }
    


}



@media (max-width: 1000px) {
    .sidebar-menu {
        position: fixed;
        width: 10vw;
        height: 98%;
        top: 1vh;
        left: .5vw;
        overflow-y: hidden;
        }
    
    .sideHead {
        margin: 2rem 1rem 2rem 1rem;
        margin-bottom: 2rem;
        display: flex;
        justify-content: space-between;
      }
    
      .sidebar #weblogo {
        float: center;
        top: 0;
        width: 8vw;
        height: auto;
        align-items: center;
        justify-content: center;
        z-index: 12;
    
    }
      
      .sidebar-menu.active {
        width: 25vw;
      }
    
      .sidebar-menu.active a .sideBarText {
        display: flex;
        flex-direction: row;
        justify-items: left;
        
      }
      
    
      .sidebar-menu.active .name {
        display: block;
        justify-content: space-around;
      }
    
      .name {
        justify-content: center;
        align-items: center;
        font-size: 2.6rem;
        top: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    
      }
    
      
      .toggle-icon:hover {
        cursor: pointer;
      }
    
    .sidebar-menu ~ .toggle-icon i.toggle {
        position: fixed;
        font-size: 4rem;
        top: 4.25vh;
        left: 10.5vw;
        color: var(--main-color);
        transition: all 0.5s ease-in-out;
      }
      .sidebar-menu.active ~ .toggle-icon i.toggle {
        position: fixed;
        transform: rotate(180deg);
        left: 25.5vw;
      }

      .sidebar-menu a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin: 1.5rem auto;
        text-decoration: none;
        border-radius: 10px;
        color: var(--main-color);
        width: 5.5rem;
        height: 5.5rem;
        transition: all 0.5s ease-in-out;
      }
      .sidebar-menu a i#symb {
        font-size: 4rem;
        justify-content: center;
        align-items: center;
        color: var(--text-color);
       
      }
    
      .content {
        top: 0;
        margin-left: 0;
        margin-right: 0;
        transition: margin-left 0.5s ease-in-out;
    }
    
    .content.open {
    margin-left: 12vw;
    
    }
    
    #home {
        display: grid;
        grid-template-areas: 
        "text" 
        "image";
        justify-content: start;
        align-items: start;
        
    }
    
    .home-content {
        grid-area: text;
        margin-left: 12vw;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        align-items: center;
        text-align: center;
        transition: all 0.3s ease-in-out;
    }
    
    #img-container {
        grid-area: image;
        display: flex;
        justify-content: center;
        opacity: 0;
        animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
        animation-delay: 1.3s, 3s;
        z-index: 98;
        width: 60vw;
    }
    
    #img {
        width: 80%;
    }
    
    .home-content h3 {
        font-size: 2.3rem;
        font-weight: 600;
        opacity: 0;
        animation: slideBottom 1s ease forwards;
        animation-delay: .7s;
    }
    
    .home-content h3:nth-of-type(2) {
        margin-bottom: 1.2rem;
        animation: slideTop 1s ease forwards;
        animation-delay: .7s;
    }
    
    span.heads, span.multiple-text, span.baustelle {
        color: var(--main-color);
    }
    
    #more {
        display: none;
    }
    
    .home-content h1 {
        font-size: 5.6rem;
        font-weight: 600;
        line-height: 1.2;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .home-content p {
        font-size: 1.8rem;
        opacity: 0;
        animation: slideLeft 1s ease forwards;
        animation-delay: 1s;
    
    }
    
    .social-media a {
       display: flex;
        justify-content: center;
        align-items: center;
        width: 4rem;
        height: 4rem;
        background: transparent;
        border: .2rem solid var(--main-color); 
        border-radius: 50%;
        font-size: 2rem;
        color: var(--main-color);
        margin: 3rem 1.5rem 3rem 0;
        transition: .5s ease;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .social-media a:hover {
        background: var(--main-color);
        color: var(--second-bg-color);
        box-shadow: 0 0 1rem var(--main-color);
    }
    
    #insightsL, #insightsC {
        display: grid;
        grid-template-areas: 
            ". header"
            ". box";
        gap: 5px;
    }
    
    .content.open ~#insightsL {
        margin-left: 12vw;
    }
    
    .content.open ~#insightsC {
         margin-left: 12vw;
    
    }
    
    
    .heading {
        top: 0;
        position: relative;
        right: -5vw;
        grid-area: header;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        font-size: 3.5rem;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
        height: 5rem;
    }
    
    .container, .code-container {
        grid-area: box;
        position: relative;
        right: -5vw;
        display: grid;
        margin: auto;
        height: fit-content;
        grid-template-areas: 
        "indBox" 
        "indBox" 
        "indBox" 
        "indBox";
        width: 80%;
        grid-template-columns: repeat(4, 1fr); /* Jede Spalte hat eine Fraktionsbreite von 1 */
        grid-auto-rows: auto; /* Die Höhe jeder Zeile wird automatisch angepasst */
        gap: 20px;
        align-items: center;
        justify-content: center;
        
        /*align-items: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 3rem;
        */
    }
    .container, .code-container {
            grid-template-columns: repeat(1, 1fr);
        }
    
    .insightsL.container, .insightsC.container {
            grid-template-columns: repeat(1, 1fr);
        }
    
    #contact {
        margin-left: 12vw;
        align-items: center;
        justify-content: center;
    } 
    
    #contact h2 {
       right: 0vw;
    }
    .content.open ~#contact {
        margin-left: 25vw;
    }
    
    .footer {
        margin-left: 12vw;
        text-align: center;
    }
    .content.open ~.footer {
        margin-left: 25vw;
    }
}

@media (max-width: 800px) {
    .sidebar-menu {
        width: 10vw;
        height: 98%;
        top: 1vh;
        left: .5vw;
        }
    
         .sideHead {
        margin: 2rem 1rem 2rem 1rem;
        margin-bottom: 2rem;
        display: flex;
        justify-content: space-between;
      }
    
      .sidebar #weblogo {
        float: center;
        top: 0;
        width: 8vw;
        height: auto;
        align-items: center;
        justify-content: center;
        z-index: 12;
    
    }
      
      .sidebar-menu.active {
        width: 25vw;
      }
    
      .sidebar-menu.active a .sideBarText {
        display: flex;
        flex-direction: row;
        justify-items: left;
        
      }
      
    
      .sidebar-menu.active .name {
        display: block;
        justify-content: space-around;
      }
    
      .name {
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
        top: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    
      }
    
      
      .toggle-icon:hover {
        cursor: pointer;
      }
    
    .sidebar-menu ~ .toggle-icon i.toggle {
        position: fixed;
        font-size: 4rem;
        top: 4.25vh;
        left: 10.5vw;
        color: var(--main-color);
        transition: all 0.5s ease-in-out;
      }
      .sidebar-menu.active ~ .toggle-icon i.toggle {
        position: fixed;
        transform: rotate(180deg);
        left: 25.5vw;
      }
    
      .content {
        top: 0;
        margin-left: 0;
        margin-right: 0;
        transition: margin-left 0.5s ease-in-out;
    }
    
    .content.open {
    margin-left: 12vw;
    
    }
    
    #home {
        display: grid;
        grid-template-areas: 
        "text" 
        "image";
        justify-content: start;
        align-items: start;
        
    }
    
    .home-content {
        grid-area: text;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        align-items: center;
        text-align: center;
        transition: all 0.3s ease-in-out;
    }
    
    #img-container {
        grid-area: image;
        display: flex;
        justify-content: center;
        opacity: 0;
        animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
        animation-delay: 1.3s, 3s;
        z-index: 98;
        width: 80vw;
    }
    
    #img {
        width: 80%;
    }
    
    .home-content h3 {
        font-size: 2.3rem;
        font-weight: 600;
        opacity: 0;
        animation: slideBottom 1s ease forwards;
        animation-delay: .7s;
    }
    
    .home-content h3:nth-of-type(2) {
        margin-bottom: 1.2rem;
        animation: slideTop 1s ease forwards;
        animation-delay: .7s;
    }
    
    span.heads, span.multiple-text, span.baustelle {
        color: var(--main-color);
    }
    
    #more {
        display: none;
    }
    
    .home-content h1 {
        font-size: 5.6rem;
        font-weight: 600;
        line-height: 1.2;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .home-content p {
        font-size: 1.8rem;
        opacity: 0;
        animation: slideLeft 1s ease forwards;
        animation-delay: 1s;
    
    }
    
    .social-media a {
       display: flex;
        justify-content: center;
        align-items: center;
        width: 4rem;
        height: 4rem;
        background: transparent;
        border: .2rem solid var(--main-color); 
        border-radius: 50%;
        font-size: 2rem;
        color: var(--main-color);
        margin: 3rem 1.5rem 3rem 0;
        transition: .5s ease;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .social-media a:hover {
        background: var(--main-color);
        color: var(--second-bg-color);
        box-shadow: 0 0 1rem var(--main-color);
    }
    
    #insightsL, #insightsC {
        display: grid;
        grid-template-areas: 
            ". header"
            ". box";
        gap: 5px;
    }
    
    .content.open ~#insightsL {
        margin-left: 12vw;
    }
    
    .content.open ~#insightsC {
         margin-left: 12vw;
    
    }
    
    
    .heading {
        top: 0;
        position: relative;
        right: -5vw;
        grid-area: header;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        font-size: 3.5rem;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
        height: 5rem;
    }
    
    .container, .code-container {
        grid-area: box;
        position: relative;
        right: -5vw;
        display: grid;
        margin: auto;
        height: fit-content;
        grid-template-areas: 
        "indBox" 
        "indBox" 
        "indBox" 
        "indBox";
        width: 80%;
        grid-template-columns: repeat(4, 1fr); /* Jede Spalte hat eine Fraktionsbreite von 1 */
        grid-auto-rows: auto; /* Die Höhe jeder Zeile wird automatisch angepasst */
        gap: 20px;
        align-items: center;
        justify-content: center;
        
        /*align-items: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 3rem;
        */
    }
    .container, .code-container {
            grid-template-columns: repeat(1, 1fr);
        }
    
    .insightsL.container, .insightsC.container {
            grid-template-columns: repeat(1, 1fr);
        }
    
    #contact {
        margin-left: 12vw;
        align-items: center;
        justify-content: center;
    } 
    
    #contact h2 {
       right: 0vw;
    }
    .content.open ~#contact {
        margin-left: 25vw;
    }
    
    .footer {
        margin-left: 12vw;
        text-align: center;
    }
    .content.open ~.footer {
        margin-left: 25vw;
    }
}

@media (max-width:650px) {
    
    .sidebar-menu {
    width: 15vw;
    height: 98%;
    top: 1vh;
    left: .5vw;
    }

     .sideHead {
    margin: 2rem 1rem 2rem .625rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
  }

  .sidebar #weblogo {
    float: center;
    top: 0;
    width: 12vw;
    height: auto;
    align-items: center;
    justify-content: center;
    z-index: 12;

}
  
  .sidebar-menu.active {
    width: 33vw;
  }

  .sidebar-menu.active a .sideBarText {
    display: flex;
    flex-direction: row;
    justify-items: left;
    
  }
  

  .sidebar-menu.active .name {
    display: block;
    justify-content: space-around;
  }

  .name {
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    top: 0;
    padding-left: 1rem;
    padding-right: 1rem;

  }

  
  .toggle-icon:hover {
    cursor: pointer;
  }

.sidebar-menu ~ .toggle-icon i.toggle {
    position: fixed;
    font-size: 4rem;
    top: 5vh;
    left: 15.5vw;
    color: var(--main-color);
    transition: all 0.5s ease-in-out;
    z-index: 98;
  }
  .sidebar-menu.active ~ .toggle-icon i.toggle {
    position: fixed;
    transform: rotate(180deg);
    left: 33vw;
  }

  .content {
    top: 0;
    margin-left: 0;
    margin-right: 0;
    transition: margin-left 0.5s ease-in-out;
}

.content.open {
margin-left: 18vw;

}

#home {
    display: grid;
    grid-template-areas: 
    "text" 
    "image";
    justify-content: start;
    align-items: start;
    
}

.home-content {
    grid-area: text;
    margin-left: 18vw;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

#img-container {
    grid-area: image;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 1.3s, 3s;
    z-index: 98;
    width: 80vw;
}

#img {
    width: 80%;
}

.home-content h3 {
    font-size: 2.3rem;
    font-weight: 600;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 1.2rem;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

span.heads, span.multiple-text, span.baustelle {
    color: var(--main-color);
}

#more {
    display: none;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 1.8rem;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;

}

.social-media a {
   display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color); 
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

#insightsL, #insightsC {
    display: grid;
    grid-template-areas: 
        ". header"
        ". box";
    gap: 5px;
}

.content.open ~#insightsL {
    margin-left: 18vw;
}

.content.open ~#insightsC {
     margin-left: 18vw;

}


.heading {
    top: 0;
    position: relative;
    right: -5vw;
    grid-area: header;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    font-size: 3.5rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    height: 5rem;
}

.container, .code-container {
    grid-area: box;
    position: relative;
    right: -5vw;
    display: grid;
    margin: auto;
    height: fit-content;
    grid-template-areas: 
    "indBox" 
    "indBox" 
    "indBox" 
    "indBox";
    width: 80%;
    grid-template-columns: repeat(4, 1fr); /* Jede Spalte hat eine Fraktionsbreite von 1 */
    grid-auto-rows: auto; /* Die Höhe jeder Zeile wird automatisch angepasst */
    gap: 20px;
    align-items: center;
    justify-content: center;
    
    /*align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3rem;
    */
}
.container, .code-container {
        grid-template-columns: repeat(1, 1fr);
    }

.insightsL.container, .insightsC.container {
        grid-template-columns: repeat(1, 1fr);
    }

#contact {
    margin-left: 12vw;
    align-items: center;
    justify-content: center;
} 

#contact h2 {
   right: 0vw;
}
.content.open ~#contact {
    margin-left: 30vw;
}

.footer {
    margin-left: 12vw;
    text-align: center;
}
.content.open ~.footer {
    margin-left: 30vw;
}

}
@media (max-width:500px) {
    .sidebar-menu {
        width: 15vw;
        height: 98%;
        top: 1vh;
        left: .5vw;
        }
    
         .sideHead {
        margin: 2rem 1rem 2rem 1rem;
        margin-bottom: 2rem;
        display: flex;
        justify-content: space-between;
      }
    
      .sidebar #weblogo {
        float: center;
        top: 0;
        width: 11vw;
        height: auto;
        align-items: center;
        justify-content: center;
        z-index: 12;
    
    }
      
      .sidebar-menu.active {
        width: 32vw;
      }
    
      .sidebar-menu.active a .sideBarText {
        display: flex;
        flex-direction: row;
        justify-items: left;
        
      }
      
    
      .sidebar-menu.active .name {
        display: block;
        justify-content: space-around;
      }
    
      .name {
        justify-content: center;
        align-items: center;
        font-size: 1.85rem;
        top: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    
      }

      .sidebar-menu a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin: 1.5rem auto;
        text-decoration: none;
        border-radius: 10px;
        color: var(--main-color);
        width: 4.5rem;
        height: 4.5rem;
        transition: all 0.5s ease-in-out;
      }
      .sidebar-menu a i#symb {
        font-size: 3.5rem;
        justify-content: center;
        align-items: center;
        color: var(--text-color);
       
      }
      
      .sidebar-menu a .sideBarText {
        font-size: 16px;
        font-weight: 500;
        padding-left: 1rem;
        transition: all 0.5s ease-in-out;
        color: var(--text-color);
      }
    
      
      .toggle-icon:hover {
        cursor: pointer;
      }
    
    .sidebar-menu ~ .toggle-icon i.toggle {
        position: fixed;
        font-size: 4rem;
        top: 3.5vh;
        left: 15.5vw;
        color: var(--main-color);
        transition: all 0.5s ease-in-out;
      }
      .sidebar-menu.active ~ .toggle-icon i.toggle {
        position: fixed;
        transform: rotate(180deg);
        left: 32.5vw;
      }
    
      .content {
        top: 0;
        margin-left: 0;
        margin-right: 0;
        transition: margin-left 0.5s ease-in-out;
    }
    
    .content.open {
    margin-left: 12vw;
    
    }
    
    #home {
        display: grid;
        grid-template-areas: 
        "text" 
        "image";
        justify-content: start;
        align-items: start;
        
    }
    
    .home-content {
        grid-area: text;
        margin-left: 12vw;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        align-items: center;
        text-align: center;
        transition: all 0.3s ease-in-out;
    }
    
    #img-container {
        grid-area: image;
        display: flex;
        justify-content: center;
        opacity: 0;
        animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
        animation-delay: 1.3s, 3s;
        z-index: 98;
        width: 80vw;
    }
    
    #img {
        width: 80%;
    }
    
    .home-content h3 {
        font-size: 2.3rem;
        font-weight: 600;
        opacity: 0;
        animation: slideBottom 1s ease forwards;
        animation-delay: .7s;
    }
    
    .home-content h3:nth-of-type(2) {
        margin-bottom: 1.2rem;
        animation: slideTop 1s ease forwards;
        animation-delay: .7s;
    }
    
    span.heads, span.multiple-text, span.baustelle {
        color: var(--main-color);
    }
    
    #more {
        display: none;
    }
    
    .home-content h1 {
        font-size: 5.6rem;
        font-weight: 600;
        line-height: 1.2;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .home-content p {
        font-size: 1.8rem;
        opacity: 0;
        animation: slideLeft 1s ease forwards;
        animation-delay: 1s;
    
    }
    
    .social-media a {
       display: flex;
        justify-content: center;
        align-items: center;
        width: 4rem;
        height: 4rem;
        background: transparent;
        border: .2rem solid var(--main-color); 
        border-radius: 50%;
        font-size: 2rem;
        color: var(--main-color);
        margin: 3rem 1.5rem 3rem 0;
        transition: .5s ease;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .social-media a:hover {
        background: var(--main-color);
        color: var(--second-bg-color);
        box-shadow: 0 0 1rem var(--main-color);
    }
    
    #insightsL, #insightsC {
        display: grid;
        grid-template-areas: 
            ". header"
            ". box";
        gap: 5px;
    }
    
    .content.open ~#insightsL {
        margin-left: 12vw;
    }
    
    .content.open ~#insightsC {
         margin-left: 12vw;
    
    }
    
    
    .heading {
        top: 0;
        position: relative;
        right: -5vw;
        grid-area: header;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        font-size: 3.5rem;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
        height: 5rem;
    }
    
    .container, .code-container {
        grid-area: box;
        position: relative;
        right: -5vw;
        display: grid;
        margin: auto;
        height: fit-content;
        grid-template-areas: 
        "indBox" 
        "indBox" 
        "indBox" 
        "indBox";
        width: 80%;
        grid-template-columns: repeat(4, 1fr); /* Jede Spalte hat eine Fraktionsbreite von 1 */
        grid-auto-rows: auto; /* Die Höhe jeder Zeile wird automatisch angepasst */
        gap: 20px;
        align-items: center;
        justify-content: center;
        
        /*align-items: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 3rem;
        */
    }
    .container, .code-container {
            grid-template-columns: repeat(1, 1fr);
        }
    
    .insightsL.container, .insightsC.container {
            grid-template-columns: repeat(1, 1fr);
        }
    
    #contact {
        margin-left: 15vw;
        align-items: center;
        justify-content: center;
    } 
    
    #contact h2 {
       right: 0vw;
    }
    .content.open ~#contact {
        margin-left: 25vw;
    }
    
    .footer {
        margin-left: 12vw;
        text-align: center;
    }
    .content.open ~.footer {
        margin-left: 25vw;
    }

}

@media (max-width:450px) {

    body {
        overflow-x: hidden;
      }

    .hidden_right {
        opacity: 0;
        transition: all 1.2s;
        transform: translateX(100%);
    }

    .hidden_left {
        opacity: 0;
        transition: all 1.2s;
        transform: translateX(-100%);
    }
    
    .show {
        opacity: 1;
        transform: translateX(0);
    }
    .sidebar-menu {
        position: fixed;
        width: 98vw;
        height: 8rem;
        top: 0;
        left: 1%;
        display: grid;
        opacity: 0;
        grid-template-areas: "logo buttons";
        grid-template-columns: 1fr 5fr;
        overflow: hidden;
        animation: slideTop 1s ease forwards;
        animation-delay: .8s;
        z-index: 15;

        

        }
    
         .sideHead {
        grid-area: logo;
        margin: .5rem;
        margin-bottom: .5rem;
        width: 10vw;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
      }
    
      .sidebar #weblogo {
        
        width: 6rem;
        height: auto;
        align-items: center;
        justify-content: center;
        z-index: 12;
        margin: 0.5rem 0;
    
    }
      
      .sidebar-menu.active {
        height: 14rem;
        width: 98vw;
      }
    
      .sidebar-menu.active a .sideBarText {
        display: flex;
        flex-direction: row;
        justify-items: left;
        
      }
      
    
      .sidebar-menu.active .name {
        display: block;
        justify-content: start;
      }
    
      .name {
        justify-content: start;
        align-self: left;
        position: relative;
        left: -1rem;
        align-items: start;
        font-size: 1.7rem;
        top: 0;
    
      }

      .sidebar-menu .myButtons {
        grid-area: buttons;
        top: 0;
        left: .5rem;
        margin-left: .5rem;
        margin-right: .5rem;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        align-items: start;
        align-self: flex-start;
        height: 7rem;

      }
      .sidebar-menu a {
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 10px;
        padding: 0.25rem;
        color: var(--main-color);
        width: 5rem;
        height: 5rem;
        transition: all 0.8s ease-in-out;
      }
    .sidebar-menu.active a  {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        min-height: 5rem;
        height: fit-content;
        width: 5rem;
        transition: all 0.8s ease-in-out;
        

      }

      .sidebar-menu a i#symb {
        font-size: 3rem;
        justify-content: center;
        align-items: center;
        color: var(--text-color);
       
      }
      
      .sidebar-menu a .sideBarText {
        font-size: 14px;
        font-weight: 500;
        padding-left: 1rem;
        transition: all 0.5s ease-in-out;
        color: var(--text-color);
        text-align: center;
        justify-content: center;
        align-items: center;
        padding-left: 0;
      }
    
      
      .toggle-icon:hover {
        cursor: pointer;
      }

     

      
      .lang-icon {
        position: fixed;
        font-size: 5rem;
        justify-content: center;
        align-items: center;
        bottom: .5rem;
        left: .5rem;
        top: auto;
        right: auto;
        z-index: 100;
        opacity: 0;
        transition: all 0.8s ease-in-out;
        
    }

        
    .lang-text {
        display: none;
        font-size: 2rem;
        animation: slideLeft 1s ease forwards;
        margin-top:1rem;
    }
    .sidebar-menu.active ~ .lang-icon .lang-text {
        display: flex;
        position: fixed;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        bottom: -1rem;
        left: .5rem;
        transition: all 0.8s ease-in-out;
        z-index: 100;
      }
      .sidebar-menu.active ~ .lang-icon {
        
        bottom: 3rem;
        left: .5rem;
        transition: all 0.8s ease-in-out;
        z-index: 100;
      }
    
    
    .sidebar-menu ~ .toggle-icon i.toggle {
        transform: rotate(90deg);
        position: fixed;
        font-size: 3rem;
        top: 8rem;
        left: 2.5rem;
        animation-delay: 1s;
        color: var(--main-color);
        
        
      }
      .sidebar-menu.active ~ .toggle-icon i.toggle {
        position: fixed;
        transform: rotate(270deg);
        top: 14rem;
        left: 2.5rem;
        transition: all 0.55s ease-in-out;
      }
    
    #MYdarkmode {
        position: fixed;
        font-size: 3.5rem;
        top: 8rem;
        left: auto;
        right: .5rem;
        bottom: auto;
        transition: all 0.8s ease-in-out;
        
        
      }
      .sidebar-menu.active ~ #MYdarkmode {
        position: fixed;
        top: 10rem;
        right: 11rem;
        transition: all 0.8s ease-in-out;
      }

    .sidebar-menu.active ~ #MYdarkmode .darkmode-text {
        font-size: 1.6rem;
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 1rem;
        right: -9rem;
        left: auto;
        bottom: auto;
        transition: all 1s ease-in-out;
        z-index: 100;
        
      }

      #privacyBtn {
    position: fixed;
    font-size: 3.5rem;
    font-size: 3.5rem;
    justify-content: center;
    align-items: center;
    top: 15rem;
    left: auto;
    bottom: auto;
    right: .5rem;
    z-index: 100;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
    transition: all 0.8s ease-in-out;
  }

  #privacyBtn:hover {
    cursor: pointer;
    
  }
  .privacyBtn-text {
    display: none;
    font-size: 1.5rem;
    animation: slideRight 1s ease forwards;
    
}
.sidebar-menu.active ~ #privacyBtn {
    top: 10rem;
    right: 26rem;
    left: auto;
    bottom: auto;
    transition: all 0.8s ease-in-out;
    z-index: 100;
}
.sidebar-menu.active ~ .privacyBtn-text {
    display: flex;
    top: 10rem;
    right: 27rem;
    left: auto;
    bottom: auto;
    transition: all 1s ease-in-out;
    z-index: 100;
}


  #Privacy {
    position: absolute;
    top: 10.5rem;
    left: 8vw;
    right: 2.5rem;
    bottom: .5rem;
    min-height: 98vh;
    height: fit-content;
    width: auto;
    border-radius: 10px;
    z-index: 12;
    background-color: var(--second-bg-color);
    margin: 1rem;
    transition: all 0.8s ease-in-out;

  }

  #Privacy.not{
    display: none;
    transition: all .6s ease-in-out;

  }

  #Privacy.pressed {
    display: flex;
    transition: all .8s ease-in-out;
  }

 .pPressed {
    display: none;
    opacity: 0;
    overflow-y: hidden;
 } 
  
  .content.open ~#Privacy {
    margin-top: 8rem;
    margin-left: 0;
    
  }

  .privacy_content {
    padding: 0;
    margin: 1rem;

    align-items: justify;
    text-align: center;
    justify-content: center;
  }
  .privacy_content h1 {
    font-size: 2.4rem;
    padding-bottom: .5rem;
  }
  .privacy_content h2 {
    font-size: 2rem;
    padding-bottom: .5rem;
    padding-top: 1rem;
  }
  .privacy_content h3 {
    font-size: 1.7rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
  }
  .privacy_content li {
    font-size: 1.6rem;
    text-align: justify;
  }
  .privacy_content p {
    font-size: 1.4rem;
    text-align: justify;
  }

      .content {
        top: 0;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        justify-content: center;
        transition: margin-top 0.5s ease-in-out;
    }
    
    .content.open {
        margin-top: 3rem;
        margin-left: 0;
    
    }

    
    #home {
        display: grid;
        grid-template-areas: 
        "text" 
        "image"
        ;
        grid-template-rows: 35% 65%;
    }
    
    .home-content {
        grid-area: text;
        margin-left: 0;
        margin-top: 2vh;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        text-align: center;
        transition: all 0.3s ease-in-out;
    }
    
    #img-container {
        grid-area: image;
        display: flex;
        justify-content: center;
        opacity: 0;
        animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
        animation-delay: 1.3s, 3s;
        z-index: 10;
        width: 90vw;
        top: 0;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }
    
    #img {
        top: 0;
        width: 90%;
    }
    
    .home-content h3 {
        font-size: 2rem;
        font-weight: 600;
        opacity: 0;
        animation: slideBottom 1s ease forwards;
        animation-delay: .7s;
    }
    
    .home-content h3:nth-of-type(2) {
        margin-bottom: 1.2rem;
        animation: slideTop 1s ease forwards;
        animation-delay: .7s;
    }
    
    span.heads, span.multiple-text, span.baustelle {
        color: var(--main-color);
    }
    
    #more {
        display: none;
    }
    
    .home-content h1 {
        font-size: 3.5rem;
        font-weight: 600;
        line-height: 1.2;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .home-content p {
        font-size: 1.8rem;
        opacity: 0;
        animation: slideLeft 1s ease forwards;
        animation-delay: 1s;
    
    }
    
    .social-media a {
       display: flex;
        justify-content: center;
        align-items: center;
        width: 4rem;
        height: 4rem;
        background: transparent;
        border: .2rem solid var(--main-color); 
        border-radius: 50%;
        font-size: 2rem;
        color: var(--main-color);
        margin: 3rem 1.5rem 3rem 0;
        transition: .5s ease;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
    }
    
    .social-media a:hover {
        background: var(--main-color);
        color: var(--second-bg-color);
        box-shadow: 0 0 1rem var(--main-color);
    }
    
    #insightsL, #insightsC {
        display: grid;
        grid-template-areas: 
            ". header"
            ". box";
        gap: 5px;
    }
    
    .content.open ~#insightsL {
        margin-top: 3rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .content.open ~#insightsC {
         margin-top: 3rem;
         margin-left: 0;
         margin-right: 0;
    
    }
    
    
    .heading {
        margin-top: 2vh;
        position: relative;
        right: -5vw;
        grid-area: header;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        font-size: 3.5rem;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
        height: 5rem;
    }
    
    .container, .code-container {
        grid-area: box;
        
        display: grid;
        margin: .5rem;
        height: fit-content;
        grid-template-areas: 
        "indBox" 
        "indBox" 
        "indBox" 
        "indBox";
        width: 90%;
        grid-template-columns: repeat(4, 1fr); /* Jede Spalte hat eine Fraktionsbreite von 1 */
        grid-auto-rows: auto; /* Die Höhe jeder Zeile wird automatisch angepasst */
        gap: 20px;
        align-items: center;
        justify-content: center;
        
        /*align-items: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 3rem;
        */
    }
    .container, .code-container {
            grid-template-columns: repeat(1, 1fr);
        }
    
    .insightsL.container, .insightsC.container {
            grid-template-columns: repeat(1, 1fr);
        }


    #cv h1 {
        text-align: center;
        font-size: 3.5rem;
        font-weight: 600;
        line-height: 1.2;
        opacity: 0;
        animation: slideRight 1s ease forwards;
        animation-delay: 1s;
        }

    .content.open ~#cv {
            margin-left: 0;
            margin-top: 1rem;
        }
    .progress-bar-container {
        grid-area: prog;
        align-items: center;
        position: relative; /* Make progress bar position absolute within the section */
        top: 2rem;
        margin-top: 0;
        margin-left: 0;
        left: 8vw;
        /*bottom: 5vh;  Adjust this to change the position of the progress bar */
        width: 2rem; /* Width of the progress bar */
        height: 110vh;
        background-color: var(--second-bg-color);
        z-index: 11;
        border-radius: 3rem;
    
    }

    
    
    .progress-bar {
        position: relative;
        top: 0vh;
        min-height: 2rem;
        background-color: var(--main-color);
        transition: height 0.1s;
        border-radius: 3rem;
        bottom: 0.5vh;
        max-height: 110vh;
    }
    
    
    .eintrag {
        grid-area: einBox;
        min-height: 10vh;
        margin-top: 6rem;
        margin-bottom: 5rem;
        margin-left: 2rem;
        margin-right: 2rem;
        width: 80%;
        font-size: 1.6rem;
        font-weight: 600;
        text-align: left;
        transition: transform 0.3s;
    }
    .eintrag p {
        font-size: 1.2rem;
        font-weight: 500;
        text-align: left;
        padding-left: 1rem;
    }
    
    #contact {
        margin-top: 8rem;
        margin-left: 0;
        margin-right: 0;
        align-items: center;
        justify-content: center;
    } 
    
    #contact h2 {
       right: 0vw;
    }
    .content.open ~#contact {
        margin-top: 3rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer {
        margin-top: 6rem;
        margin-left: 0;
        text-align: center;
    }
    .content.open ~.footer {
        margin-left: 0;
        margin-top: 14rem;
    }

    

}




