/*General*/
* {
    margin: 0;
    padding: 0;
}
body, html {
    height: 100%;
    margin: 0;
    background-color: #7B082F;
    background: radial-gradient(circle, #DF0B55, #7B082F 90%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

html,
body,
a,
svg {
    color: #FFF;
    fill: #FFF;
}

/*grainy background*/
.grain {
    background-color: #7B082F; /* Hintergrundfarbe */
}

.grain::after {
    content: '';
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="5" stitchTiles="stitch" /></filter><rect width="100%" height="100%" filter="url(%23n)"></rect></svg>');
    opacity: 0.5; /* Anpassen für stärkeren/schwächeren Effekt */
    background-color: #7B082F; /* Farbe des Körnungseffekts */
    mix-blend-mode: multiply;
    z-index: 1;
}

header,
main,
footer {
    z-index: 2;
}

/*structure*/
.container-fluid, footer {
    flex-grow: 0;
}

.hero {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-inner {
    padding: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
}

/*header*/
header {
    display: flex;
    align-items: center;
    width: 20%;
    justify-content: center;
    
    padding: 2rem;
    box-sizing: border-box;

    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

@media (max-width: 740px) { /* Media Query für kleinere Bildschirme */
    header {
        width: 100%;
        /*justify-content: center; /* Zentrieren auf Mobilgeräten */
    }
}

header svg {
    max-width: 100px;
}

/*Fonts*/
a {
    /*color: #000;*/
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    text-transform: uppercase;
    /*border-bottom: 1px solid black;*/
}

p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 3rem;
    /*text-transform: uppercase;*/
   /*font-weight: 700;*/
}


/* Text-Change*/
.auto-text {
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
}
.hidden {
    /* Unsichtbar machen */
    opacity: 0;
}