html {
    font-family: Helvetica, sans-serif;
    overflow-x: hidden;
}

/* Header bleibt oben fixiert */
header {
    display: inline; /* Elemente bleiben nebeneinander */
    justify-content: space-between; /* Verteilt die Elemente */
    position: fixed; /* Header bleibt am oberen Rand fixiert */
    top: 0;
    left: 0;
    width: 100%;
    height: 132px;
    padding: 0 20px;
    background: white; 
    z-index: 10; /* inhalt obent */
}

.sayhi {
    position: relative;
    top: -165px;
    right: 10px;
}

.martini {
    position: relative;
    top: -150px;
    left: -10px;
}
.AlexandraAndlinger h2 {
    position: relative;
    top: -35px;
}

/* Hintergrundbild für den gesamten Body */
main {
    text-align: center;
    justify-content: space-between;
    position:relative; /* Notwendig für das Pseudoelement */
    top: 100px;
    bottom: 400px;
    margin: 0.2rem;
    padding: 0.2rem;
    width: 100%;
    height: 100%;
}
/* Pseudoelement für das Hintergrundbild */
main::before {
    content: ""; /* Muss gesetzt werden, damit das Pseudoelement erscheint */
    position: fixed; /* Fixiert das Hintergrundbild am Bildschirm */
    width: 100%;
    height: 100%;
    left: 0;
    background: url('/images/backround.png') no-repeat center center/cover;
    opacity: 0.3;
    z-index: -1; /* Stellt sicher, dass das Hintergrundbild hinter dem Inhalt liegt */
}

.text {
        max-width: 60%; /* Begrenzte Breite für besseren Lesefluss */
        margin: 0 auto; /* Zentriert das Element horizontal */
        margin-top: 64px;
        text-align: left; /* Links ausgerichteter Text */
        padding: 0 5%; /* Responsiver Rand links & rechts */
}

  
 

footer {
    position: absolute;
    display: inline; /* Elemente bleiben nebeneinander */
    justify-content: space-between; /* Verteilt die Elemente */
    bottom: 0;
    left: 0;
    top: 4000px;
    width: 100%;
    height: 450px;
    padding: 0 20px;
    padding-bottom: 0;
    margin: 0;
    background-color: white; 
}

.PI {
    display: inline;
}


/* BILDER */
img {
    text-align: center;
    transition: scale 500ms ease;
    overflow: none;
    border-radius: 1.5%; 
    margin: 16px;
}

img:hover {
    scale: 1.02;
    overflow {clip:auto}
}


figure {
    position: relative; /* Wichtig: Damit die Positionierung des figcaption relativ zum <figure> funktioniert */
}

figcaption {
    font-family: Helvetica, sans-serif;
    font-weight: 200;
    position: absolute; /* Positioniert das <figcaption> relativ zum <figure> */
    color: var(--accent); /* Textfarbe */
    top: 0rem;
    left: 4.5rem;
    padding: 2rem; /* Etwas Abstand um den Text */
    font-size: 1.5rem; /* Schriftgröße */
    z-index: 2;
}

#work ul {
    position: relative;
    text-align: center;
    list-style: none;
    margin: 1.5rem;
    padding: 0;
    gap: 9rem;
}

/* ALLGEMEIN */

/* VARIABLEN */
:root {
    text-align: center;
    --standard: #000;
    --accent: #ff0099;
}

a {
    text-decoration: none;
    color: var(--accent);
}


/* HEADERS */
h1 {
    text-align: center;
    font-size: 3rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: var(--accent);
}

h2 {
    text-align: center;
    font-size: 1.5rem;
    font-family: Helvetica, sans-serif;
    font-weight: 200;
}

h3 {
    text-align: center;
    font-size: 1.5rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: var(--accent);
    margin-top: 0.75rem;
    margin-bottom: 0.3rem;

}


/* FOOTER */