/*css reset soft*/

* {
	margin: 0;
	padding: 0;
	border: 0; /* Setzt margin, padding und border für alle Elemnte auf 0 */
	box-sizing: border-box;  /* box-sizing wird auf border-box geändert, damit padding und border in die Gesamtgröße eines Elements mit eingerechnet werden */
  }
  
  img, video {
	max-width: 100%; /* Verhindert das Bilder usw. über übergeordnete Elemente hinaus gehen*/
	height: auto; /* So wird das Seitenverhältnis festgelegt */
  }
  
  ul, ol {
	list-style: none; /* 
  Entfernt die Listensymbole bei ungeordneten und geordneten Listen, so können hier eigene Sytle verwendet werden
  */
  }
  
  a {
	text-decoration: none; /* 
  Setzt die Standardstile von Links zurück und entfernt die Unterstreichung.
  */
  }
  
  html {
	line-height: 1.5; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
  /**
   * 1. Correct the line height in all browsers.
   * 2. Prevent adjustments of font size after orientation changes in iOS.
   */
  }
  
  small {
	font-size: 80%;
  /**
   * Add the correct font size in all browsers.
   */
  }
   /*css reset soft end*/
  
  body {
	  max-width: 900px;
	  margin: 0 auto;
	  font-family:sans-serif;
    background-color:white;
	   }

/* main style */
  main {
    background-color:lightgray;
    border-radius:10px;
    padding: 10px;
    margin:15px;
    }
    
    h1 {
    text-align:center;
    color:black;
    }
    
    .info {
    text-align:center;
    color:black;
    font-style: italic;
    }

    .repo {
    text-align:center;
    color:black;
    font-style: italic;
    text-decoration: underline;
    }
    
    .header{
    display:flex;
    flex-direction:row;
    justify-content:space-evenly;
    }
    
    .Space {
    background-color:black;
    margin:15px;
    padding: 1px;
    border-radius: 10px;
    }

    @media (max-width: 600px) {
    .text {
      width: 95%; /* Größere Breite auf kleineren Bildschirmen */
      max-width: none; /* Falls max-width das Problem verursacht */
      line-height: 1.2;
    }
    }

    h4 {
    margin-top: 30px;
    margin-bottom:15px;
    font-style: italic;
    color: black;
    }

    .text {
    text-align: left;
    max-width: 800px; /* Begrenzung der Breite */
    width: 80%; /* Anpassung an verschiedene Bildschirmgrößen */
    margin: 0 auto; /* Zentrierung */
    color: black;
    }

    .REFLECTION { 
    margin-top: 20px;
    margin-bottom: 20px;
    }

    .NAVWEB {
    background-color: rgba(255,255,255,0.25); /* helles, transparentes Grau */
    margin:15px auto;
    padding: 1px;
    border-radius: 10px;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filte: blur(12px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.35); /* subtiler weißer Rahmen */
    box-shadow: 0 4px 24px rgba(0,0,0,0.08); /* sanfter Schatten */
    transition: background 0.3s, box-shadow 0.3s;
    max-width: 800px;
    width: 80%;
    }
    
    .NAVWEB:hover {
    background-color: rgba(255,255,255,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    }

    .navtext {
    color: black;
    text-align:center;
    }
  
    .navtext:hover {
    color: #989898c7;
    font-style: italic;
    }

    /* Responsive adjustments for video */
    @media(max-width: 600px) {
      video {
        width: 95%;
        max-width: 300px;
      }
    }

    .THEMA {
      margin:15px;
      padding: 10px;
      border-radius: 10px;
      }
        
      .image-container2{
      display: flex;
      flex-direction:row;  
      justify-content:space-evenly;
      flex-wrap: wrap;
      }
  
      .p5 {
      padding:10px;
      height:auto;
      border-radius: 20px;
      width: 300px
      }
          
      figcaption { 
      text-align:center;
      color:black;
      margin-bottom:15px;
      }

 /* main style ends */

 /* footer style */
  .footer {
    display: flex;
    justify-content: center; 
    align-items: center;   
    
  }
  
  .me {
    max-width: 60px; 
    height: auto;  
  }
  /* footer style ends */


  
  @media(max-width: 600px) {
	  body {
		  width: auto;
	  }
    .NAVWEB {
      width: 95%;
      max-width: none;
    }
  }
