
@font-face {
    font-family: 'EB Garamond';
    src: url('EBGaramond-Regular.woff2') format('woff2'),
        url('EBGaramond-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

header {
    background-color: rgb(0, 39, 53);
    text-align: center; 

}

#der {
    color:#ade7eb; 
    letter-spacing:0; 
    word-spacing:0; 
    font-family:"EB Garamond", serif;
    font-weight: 400;
    font-size: 100px; 
    stroke-width:0;
    font-optical-sizing: auto;
    font-style: normal;
    margin-bottom: -20px;

}

.gradient_text {
      font-family:"EB Garamond"; 
      font-size: 150px; 
      font-weight: 500;
      font-style: normal;
      background: linear-gradient(
        to bottom right,
        #9bf4ff 0%,
        rgba(0, 0, 0, 0.8) 100%
      );
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      margin-bottom: -10px;
    }


@media (max-width: 1180px) {
    #der{
        font-weight: 300;
        font-size: 70px; 
    }
    .gradient_text {
        font-size: 108px; 
        font-weight: 400;    
    }
}

@media (max-width: 870px) {
    #der{
        font-weight: 300;
        font-size: 60px; 
        margin-bottom: 2px;
    }
    .gradient_text {
        font-size: 80px; 
        font-weight: 400;    
    }
}

@media (max-width: 670px) {
    #der{
        font-weight: 200;
        font-size: 40px; 
        margin-bottom: 2px;
    }
    .gradient_text {
        font-size: 60px; 
        font-weight: 300;    
    }
}

/* Für main  */


.text-block {
      text-align: left;        /* Text innerhalb bleibt linksbündig */
      display: inline-block;   /* Block ist so breit wie nötig */
      padding: 36px;
    }

header h1 {
    margin: 0px;
    line-height: 1.2;
}

/* Navigationsleiste */
.navbar {
    bottom: 0;                 /* unten am Header */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around; /* gleichmäßiger Abstand */
    background-color: #ddd;    /* optional: Hintergrund für Navbar */
    padding: 10px 0;
    margin-bottom: 30px;
}

/* Link-Styling */
.navbar a {
    text-decoration: none;
    color: #333;
    /* font-weight: bold; */
    font-size: 20px;
}


html, body {
    margin: 0;
    padding: 0;
}

main {
    max-width: 1400px;
    padding: 0 20px;
    margin: 15px auto;     /*erste Variable für die Abstände oben und unten, zweite Variable für die Abstände links und rechts*/
    margin-top: 0;
} 

/* main img {
    max-width: 52%;
} */

h2 {  
    
    font-size:36px; 
    font-weight: bold;
    font-style: normal;
    margin: 10px 0 20px 0;
       
}

.font_monospace {
    font-family: monospace;
}

p {
    font-size: 28px;
    line-height: 1.3;
    list-style-position: inside;
    padding: 0;
}


ul {
    font-size: 28px;
    line-height: 2;
    list-style-position: inside;
    padding: 0;
    margin-bottom: 40px;
}

body {
    font-family:Linux Biolinum O;
}

#eyecatcher {
    background-color: white;
    color: black;
    border: none;
    font-size: 23px;
    line-height: 1.9;
}

.container {
  display: flex;        /* aktiviert Flexbox */
  align-items: self-start;  /* Position in der Flexbox */
  gap: 32px;            /* Abstand zwischen Bild und Text */
  margin-bottom: 20px;
  flex-direction: row-reverse;

}

figure {
    margin: 0;
    text-align: center;
}

figure img {
  width: 555px;         /* optional: Bildgröße anpassen */
  height: auto;
  margin: 0 auto;
  display: block;
  margin-top: 120px;
}



figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
}

.textbereich {
    display: flex;
    flex-direction: column; /* Texte untereinander */
    justify-content: center;
    margin-bottom: 9px;

}

.textbereich p {
    line-height: 1.5;
    margin-bottom: 77px;
    margin-top: 0px;
    margin-left:15px;
    color: white;
    /* background-color: rgb(255, 141, 66); /* #ade7eb 
    border: 10px solid rgb(255, 141, 66); */
    background-color: rgb(192 136 98); 
    border: 10px solid rgb(192 136 98);
}




ul.hauptseite {
  list-style: none; /* normale Punkte ausschalten */
  padding-left: 0;  /* optional: Einrückung entfernen */
}

ul.hauptseite li {
  display: flex;
  align-items: center;
  gap: 10px; /* Abstand zwischen Bild und Text */
}


ul.hauptseite img.icon-link {
  width: 50px ; /* Bildgröße anpassen */
  height: 50px  
}

.icon-link:hover {
    background-color: rgb(189, 0, 0);
}

a {
    color: rgb(255, 141, 66);
}

a:hover {
    color: rgb(189, 0, 0);
}

a:active {
    color:rebeccapurple;
}

footer {
    background-color: rgb(0, 39, 53);
    text-align: center; 
    margin: 0;
    padding: 1px;
    margin-top: 60px;
    padding-bottom: 20px;
}

footer .content {
    color:white;
    font-size: 25px;
}


@media (max-width: 1300px) {
    figure img {
        max-width: 470px; 
    }
    .container {
        max-width: 1200px;
    }
    .textbereich p {
        margin-bottom: 50px;
        margin-top: 10px;
    }
}

@media (max-width: 1070px) {
    figure img {
        margin-top: 0;
    }
    .container {
        max-width: 1200px;
        display: block;
    }
    .textbereich p {
        margin-bottom: 22px;
        margin-top: 10px;
    }
}


@media (max-width: 670px) {
    .navbar a {
        font-size: 15px;
    }
    h2{
        font-size: 25px; 
    }
    p {
        font-size: 23px;  
    }
    #eyecatcher {
        font-size: 19px;
    }
    figure img {
        width: 330px; 
        margin-top: 0;
    }
    ul {
        font-size: 23px;
    }
    footer .content {
        font-size: 21px;        
    }
}

@media (max-width:380px) {
    figure img {
        width: 260px; 
        margin-top: 0;
    }
}

