* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", serif !important;
    position: relative;
    overflow-x: hidden; 
    line-height: 1.5; 
    user-select: none;
    touch-action: manipulation; 
    background-color: #000000f5;
    animation: moveBackground 3s linear infinite;
        /* Hintergrund-GIF */
       
 

}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: auto;  /* Hier auch geändert */
    background-position: center;
    background-repeat: repeat-y;
   
    z-index: -1;
    
    
  
}

:root {

  --accent-color: #4949c9;
}


/* Die eigentliche Animation */
@keyframes moveBackground {
    from {
        background-position: 0 0, 0 100%;
    }
    to {
        background-position: 0 100%, 0 200%;
    }
}


#cookie-banner {
  font-size: 1rem;
  display: none;
  position: fixed;
    bottom: 115px;
    right: 24px;
border-radius: 18px;
  width: 210px;
  max-width: 600px;
  color: #fff;
  padding: 0.5em;
  z-index: 9999;
  text-align: center;
    background: rgba(34, 34, 34, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
      font-family: "Poppins", serif !important;
}
#cookie-accept {
  background: var(--accent-color);
  border: none;
  color: #fff;
  border-radius: 18px;
  cursor: pointer;
  font-size: 1rem;
width: 80%;
  margin-top: 10px;
      font-family: "Poppins", serif !important;
          border: solid 2px transparent;

}



#cookie-decline {
  background: var(--accent-color);
  border: none;
  color: #fff;
  border-radius: 18px;
  cursor: pointer;
  font-size: 1rem;
   margin-top: 10px;
width: 80%;
    font-family: "Poppins", serif !important;
      border: solid 2px transparent;

}


#cookie-accept:hover {
  border: solid 2px var(--accent-color);
  background-color: transparent;
  

}



#cookie-decline:hover {
 border: solid 2px var(--accent-color);
  background-color: transparent;
 

}


#portfolio-hinweis-popup {
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 25px;
  width: 70vw;
  
  max-width: 900px;
  min-width: 320px;
  color: #f0eff2;
  padding: 3.5rem 3rem 3.5rem 3rem;
  z-index: 10000;
  text-align: center;
  background: #00000057;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18), 0 1.5px 4px 0 rgba(0,0,0,0.12);
  border: solid 5px var(--accent-color);
  font-family: "Poppins", serif !important;
  letter-spacing: 0.01em;
 
}

#portfolio-hinweis-close {
  position: absolute;
  top: 18px;
  right: 32px;
  font-size: 2.5rem;
  color: #f0eff2;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
  user-select: none;
  z-index: 1;
}

#portfolio-hinweis-close:hover {
  color: var(--accent-color);
}
#portfolio-hinweis-close:hover {
  color: var(--accent-color);
}



.apple-color-picker-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: rgba(34,34,34,0.95);
  padding: 16px 22px;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18), 0 1.5px 4px 0 rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
}

.apple-color-label {
  color: #fff;
  font-size: 1.1rem;
  font-family: "Poppins", serif !important;
  letter-spacing: 0.01em;
}

.apple-color-picker {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.18), 0 1.5px 4px 0 rgba(0,0,0,0.12);
  cursor: pointer;
  transition: box-shadow 0.2s;
  outline: none;
  background: none;
  padding: 0;
}

.apple-color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 50%;
}

.apple-color-picker::-webkit-color-swatch {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.12);
}

.apple-color-picker:focus {
  box-shadow: 0 0 0 3px #fff, 0 2px 8px 0 rgba(0,0,0,0.18);
}

.apple-color-picker::-moz-color-swatch {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.12);
}

#accentColorPicker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-color);
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1.5px 4px rgba(0,0,0,0.12);
}

/* Für Chrome, Safari, Edge */
.apple-color-picker::-webkit-color-swatch-wrapper,
#accentColorPicker::-webkit-color-swatch-wrapper {
  padding: 0 !important;
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Für das eigentliche Farbfeld */
.apple-color-picker::-webkit-color-swatch,
#accentColorPicker::-webkit-color-swatch {
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

/* Für Firefox */
.apple-color-picker::-moz-color-swatch,
#accentColorPicker::-moz-color-swatch {
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

button{

    cursor: pointer;
    user-select: none; /* Verhindert Textauswahl */
    border:none;
      background-color: #9c9ccd;
	  border: solid 2px var(--accent-color);
}

button:hover {
    background-color: #000000;
    color: #FFFFFF;
	border: solid 2px var(--accent-color);;
}

a{
    cursor: pointer;

   

}



.colorBox {
    
    background-color: #000000d4;
}


.colorBoxPresentation {
     backdrop-filter: blur(1px);
}

img {
    user-select: none; /* Verhindert Textauswahl */
    pointer-events: none; /* Verhindert jegliche Interaktionen */
}



body::before {
    content: "";
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom:  -10px;
    z-index: -1; /* Hinter den Inhalt des body-Elements setzen */
}

.content {
    position: relative;
    z-index: 1; /* Vordergrund-Inhalte darüber anzeigen */
    /* Weitere Stile für deinen Inhalt */
}






html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


.main-content {
    z-index: 10;
    
}

section {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    padding-bottom: 10vh;
    padding-top: 15vh;
    
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
    width: auto; /* Nimmt die Breite des Inhalts ein */
    height: auto; /* Nimmt die Höhe des Inhalts ein */
  
}


.heading {
	width: 100%;
    display: flex;
	justify-content: center;

}



 h2, h1 {
    
    color: #f0eff2;
margin-bottom: 5%;
    font-size: clamp(1.8rem, 2.5vw, 3.5rem);
    padding: 30px ;
	border-radius: 25px;

    white-space: nowrap;
    text-decoration-line: underline;
           text-decoration-color: var(--accent-color); 
           text-align: center;
  text-decoration-thickness: 5px;

   
}


header h3 {
    

    color: #f0eff2;
    white-space: nowrap;

    font-size: clamp(6rem, 6vw, 6rem);
    margin-bottom: 15px;
}


.poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
  }
  

.copyright_parent{
	position: absolute;
	right: 15px;
	bottom: 15px;
	color: #FFFFFF !important;
}


.hidden-element {
    opacity: 0;
    height: 0;
    overflow: hidden; /* Verhindert, dass der Inhalt sichtbar ist */
    transition: opacity 0.5s ease, height 0.5s ease;
}


.visible-element {
    opacity: 1;
    height: auto;
}

