/* 
  Was ist CSS?
  CSS = Cascading Style Sheets (Gestaltungsvorlage)
  Hier legen wir fest: Farbe, Schrift, Abstände, Layout.

  Was ist HTML?
  HTML ist wie das Skelett einer Webseite – es gibt ihr Struktur und Bedeutung.
*/

/* 
  box-sizing: border-box  = Abstände werden INNENberechnet (einfacher zu verstehen)
  margin: 0               = Außenabstände des Browsers entfernen
  padding: 0              = Innenabstände ebenfalls zurücksetzen
*/

body {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: bold;
    box-sizing: border-box; /* Breite/Höhe enthalten padding & border */

    background: 
    linear-gradient(rgba(27, 25, 25, 0.5), rgba(27, 25, 25, 0.5)),
    url("Bilder/AIF.png");

        background-size: cover;       /* Bild füllt Bildschirm */
        background-position: center;  /* zentriert */
        background-repeat: no-repeat; /* kein Wiederholen */
        background-attachment: fixed; /* optional: Parallax-Effekt */
        }


@keyframes slideInRight {
  from {
    opacity: 0; /* Transparenz, blendet schön ein */
    transform: translateX(2000px); /* kommt von rechts */
  }
  to {
    opacity: 1;
    transform: translateX(0); /* normale Position */
  }
}

header h1{
     
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    font-size: 4rem;
    letter-spacing: 2px;
    padding: 20px 0;
    animation: slideInRight 1s ease-out;
  

}

header h1:hover{
     background: linear-gradient(to right, #7bb0de, #5cdce2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


.logo {
    font-size: 3rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-weight: 100;
}


.headline {
    margin-top: 70px;
    font-size: 2rem;        /* Größe (anpassbar) */
    font-weight: 900;       /* extra fett */
    text-align: center;
    color: white;
     font-family: 'Cormorant Garamond', serif;
    
    
}

.gradient {
    background: linear-gradient(to right, #7bb0de, #5cdce2);
    
/*Schneidet den Hintergrund so zu, dass er nur innerhalb des Textes sichtbar ist */
-webkit-background-clip: text;
    background-clip: text;

/* Macht die eigentliche Textfarbe unsichtbar, damit man nur den Hintergrund im Text sieht */
-webkit-text-fill-color: transparent;
  color: transparent;
}


 header img{
    padding: 10px;
    position:fixed;
    left: 10px;
    top: 10px;
    border-radius: 80px;
}

header img:hover{
    scale:150%;
    transition: 1s;
}

nav{
 
    
    top: 0;
    z-index: 3;

}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* zentriert */
    gap: 20px;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 0 4rem;
    align-items: center;
    height: 70px;
    }

@media (max-width: 1024px) {
    nav ul {
        gap: 10px;          /* weniger Abstand zwischen Links */
        padding: 0 1rem;    /* weniger Seitenabstand */
        font-size: 0.9rem;  /* etwas kleinere Schrift */
    }
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative; /* Bezugspunkt für Linie*/
    display:flex;
    gap:6px;
    transition:0.3s ease;
    
    
}

nav a::after {  /* ::after= erzeugt eine Linie unter dem Link*/
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* Abstand unter dem Text */
  width: 0;     /*width: 0 → 100% → Linie fährt rein*/
  height: 2px;
  background-color: white;
  
}

nav a:hover::after {
  width: 100%;
}

nav a:hover{
    color: #5cdce2;
    font-size: larger;
    transition:0.5s ease-in-out;
}


.card {
    background-color: #1e293b;
    color: white;
    border: none;
}


.card-img-top {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}


footer {
    text-align: center;
    padding: 20px;
    margin: 20px;
}

footer .footer-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #1e293b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

footer .footer-button:hover {
    background-color: #555;
    transform: scale(1.05);
}