:root {
    --efv-blau: #3c99ce;
    --efv-gelb: #ffe100;
    --ui: #185ca4;
}

@viewport {  
    orientation: portrait;  
}  

@font-face {
    font-family: oswald;
    src: url(assets/fonts/Oswald-Regular.ttf);
  }

@font-face {
    font-family: xenoa;
    src: url(assets/fonts/GraffitiXenoa-Regular.otf);
}

@font-face {
    font-family: graff;
    src: url(assets/fonts/GraffTales-Regular.ttf);
}

/*Animationen*/

@keyframes separator-width {
    0% {
      width: 0;
    }
    100% {
      width: 80%;
    }
}

@keyframes separator-height {
    0% {
        height: 0;
    }
    100% {
        height: 80%;
    }
}

/*navigation + ham-bar CSS*/

.mobile-header {
    background-color: var(--ui); /* dein Blau */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7vh;
    z-index: 1000; /* damit sie über allem liegt */
    color: white;
}


/* Optional: hamburger bleibt an Position */
.ham-menu {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 99;
}

.ham-bar {
    display: block;
    width: 40px;
    height: 3px;
    margin: 9px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: rgb(255, 255, 255) !important;
}

.ham-menu.active .ham-bar:nth-child(2) {
    opacity: 0;
}

.ham-menu.active .ham-bar:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
    background: var(--ui) !important;
}

.ham-menu.active .ham-bar:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
    background: var(--ui) !important;
}

.nav-menu {
    display: flex;
    position: fixed;
    left: -100%;
    top: 0;
    padding: 1rem 0;
    margin-top: -3%;
    padding-top: 3rem;
    gap: 0;
    flex-direction: column;
    background-color: rgb(255, 255, 255) !important;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: 0.3s;
}

.nav-menu img {
    width: 5vh;
}

.nav-item {
    margin: 8px 0;
    transition: all .2s ease-in-out;
    text-align: left;
}

.nav-item a {
    color: var(--ui);
    font-weight: 600;
    font-size: 150%;
    text-decoration: none;
    font-family: oswald;
    text-align: left;
    margin-left: 50%;
}

.nav-menu:first-child {
    padding-top: 10vh;
}

.nav-menu.active {
    left: -30%;
    top: 12px;
}

.credit-display {
    display: none;
}

.credit-grid {
    display: grid;
    width: 50%;
    margin-left: 50%;
    text-align: left;
    grid-template-columns: 30% 70%;
}

.credit-grid img {
    display: block;
}

#credits {
    font-family: oswald;
    color: var(--ui);
    font-size: 150%;
    font-weight: 600;
    text-align: left;
    margin-right: 5%;
    transform: translateY(-1.5rem);
}

.notification-bell {
    position: absolute;
    top: 4vw;
    right: 7vw;
    z-index: 100;
}

.notification-bell i {
    font-size: 175%;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.notification-bell.bell-yellow i {
    color: gold; /* Gelb wenn Benachrichtigungen vorhanden */
}

.notification-bell i:hover {
    color: #ffcc00;
}

.notification-panel {
    position: fixed;
    top: 0;
    right: -100%; /* Start außerhalb des Bildschirms */
    width: 75%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.notification-panel.open {
    right: 0; /* sichtbar */
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--ui); /* z.B. dein Blau */
    color: white;
    padding: 15px;
    font-size: 125%;
    font-family: oswald;
}

.panel-header button {
    background: none;
    border: none;
    color: white;
    font-size: 150%;
    cursor: pointer;
}

.panel-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    border: none;
    font-family: oswald;
}

.notification-entry {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #e1f0ff;
    border-radius: 5px;
    margin-top: 3vh;
    width: 50vw;
    padding: 5vw;
}

.notification-entry strong {
    font-family: oswald;
    color: var(--ui);
    font-size: 100%;
    text-align: left;
}

.notification-entry p {
    font-family: oswald;
    color: rgb(41, 41, 41);
    font-size: 100%;
    text-align: left;
}

/*main*/

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/*devider*/

hr.devide {
    border-top: 3px solid var(--ui);
    margin: 15%;
}

main {
    overflow-x: hidden;
}

.title {
    margin-top: 20vw;
    background-image: url(assets/img/erdachse.jpg);
    margin-top: -5vh;
    padding-top: 25vh;
    padding-bottom: 10vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-bottom: 4px solid var(--ui);
}

.title h1 {
    font-family: oswald;
    color: white;
    font-size: 300%;
    text-align: center;
}

.title h3 {
    font-family: oswald;
    color: white;
    font-size: 175%;
    text-align: center;
    transform: translateY(-7vw);
}

.level-indicator {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 20vw;
    height: 20vw;
    background-image: url(assets/img/icons/xp.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.level-indicator p {
    font-family: oswald;
    color: white;
    font-size: 150%;
    text-align: center;
    padding-top: 29%;
}

.progress-wrapper {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
}

.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 2vw;
    width: 0%;
    background-color: var(--ui);
    text-align: center;
    line-height: 2vw;
    color: white;
    transition: width 0.3s;
}

#enterDashboard {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    text-align: center;
    font-family: oswald;
    color: white;
    background-color: var(--ui);
    padding: 3%;
    width: 60vw;
    text-decoration: none;
    border-radius: 7.5px;
}

.news {
    text-decoration: none;
}

.news h2 {
    font-family: oswald;
    color: var(--ui);
    font-size: 250%;
    text-align: center;
}

.news-post {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7.5vw;
    background-color: #e1f1ff;
    padding: 4%;
    width: 80vw;
    border-radius: 5px;
}

.news a {
    text-decoration: none;
}

.news-post h3 {
    font-family: oswald;
    color: var(--ui);
    font-size: 150%;
    font-weight: 600;
    margin-bottom: -5%; /* Entfernt den Standardabstand */
}

.news-post p {
    font-family: oswald;
    color: var(--efv-blau);
    text-align: left;
    color: #8d8d8d;
    font-size: 85%;
}

.contacts {
    margin-left: 5vw;
    margin-right: 5vw;
}

#contact-headline {
    font-family: oswald;
    color: var(--ui);
    font-size: 250%;
    text-align: center;
}

.contacts p {
    font-family: oswald;
    font-size: 110%;
    text-align: center;
}

.contacts a {
    display: block;
    margin-top: 5vh;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: oswald;
    color: white;
    background-color: var(--ui);
    padding: 3%;
    width: 60vw;
    text-decoration: none;
    border-radius: 7.5px;
}

.contact-container {
    
}

.playerofthemonth {
    display: none;
}

.playerofthemonth h2 {
    font-family: oswald;
    color: var(--ui);
    font-size: 250%;
    text-align: center;
}

.playerofthemonth img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -30%;
    aspect-ratio: 1/1;
    width: 12rem;
    border: 10px solid var(--ui);
    border-radius: 500px;
    transform: translateY(60%);
}

.potm-card {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70vw;
    background-color: var(--ui);
    padding: 10%;
    padding-top: 25%;
    border-radius: 5px;
}

.potm-card h4 {
    font-family: oswald;
    color: white;
    font-size: 200%;
    text-align: center;
}

.potm-card h5 {
    font-family: oswald;
    color: white;
    font-size: 130%;
    text-align: center;
    margin: -2%;
}

.potm-card p {
    font-family: oswald;
    color: white;
    font-size: 120%;
    text-align: center;
}

.fanshop {
    background-image: url(assets/img/stadion.jpg);
    margin-top: 20vw;
    margin-top: 5vh;
    padding-top: 5vh;
    padding-bottom: 5vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 4px var(--ui) solid;
    border-bottom: 4px var(--ui) solid;
}

.fanshop h2 {
    font-family: graff;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    letter-spacing: 5px;
    color: var(--ui);
    font-size: 250%;
    text-align: center;
}

.fanshop p {
    font-family: xenoa;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    letter-spacing: 5px;
    color: var(--efv-gelb);
    font-size: 100%;
    text-align: center;
}

.fanshop .discount {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--efv-gelb);
    width: 100vw;
    padding: 1.5%;
    padding-left: 3%;
    padding-right: 3%;
}

.fanshop .discount p {
    margin-left: 5vw;
    margin-right: 5vw;
    font-family: Calibri;
    color: var(--ui);
    text-shadow: none;
    font-weight: 600;
}

#visitShop {
    display: block;
    margin-top: 10vh;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: oswald;
    color: white;
    background-color: var(--ui);
    padding: 3%;
    width: 60vw;
    text-decoration: none;
    border-radius: 7.5px;
}

.social-buttons {
    margin-top: 3vh;
    margin-bottom: 2vh;
    display: flex; /* Ordnet die Buttons horizontal an */
    justify-content: center; /* Zentriert die Buttons */
    gap: 15px; /* Abstand zwischen den Buttons */
}

.social-buttons a {
    text-decoration: none;
    color: #ffe100; /* Standardfarbe für die Icons */
    font-size: 200%; /* Größe der Icons */
    transition: color 0.3s ease;
    letter-spacing: 3vw;
    text-align: center;
    margin-top: 5vh;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.spielplan-container {
    background: transparent;
}

.widget-slide div {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
}

.spielplan h2 {
    font-family: oswald;
    color: var(--ui);
    font-size: 250%;
    text-align: center;
}

/* Gesamtcontainer für die Spielanzeige */
.spielpost {
    display: flex; /* Flexbox für die horizontale Anordnung */
    flex-direction: column; /* Um die Elemente untereinander anzuordnen */
    justify-content: flex-start; /* Ausrichtung der Elemente oben */
    align-items: flex-start; /* Elemente linksbündig */
    padding: 5%;
    margin-bottom: 10px; /* Abstand zwischen den Spielanzeigen */
    width: 85vw;
    margin-left: auto;
    margin-right: auto;
    background-color: #e1f1ff;
    border-radius: 7.5px;
    margin-bottom: 2vh;
}

/* Linker Block: Altersklasse und Spielname */
.left {
    flex: 1; /* Der linke Block nimmt den verfügbaren Raum ein */
    width: 100%; /* Die Breite wird auf 100% gesetzt */
}

/* Altersklasse als Überschrift */
.spielpost-headline {
    font-family: oswald;
    color: var(--ui);
    font-size: 150%;
    font-weight: 600;
    margin: 0; /* Entfernt den Standardabstand */
}

/* Spielname */
.spiel-name {
    font-size: 24px; /* Großer Name */
    margin: 0; /* Entfernt den Standardabstand */
    font-weight: bold; /* Fett für den Namen */
    text-decoration: none;
    font-family: oswald;
}

/* Spieldatum */
.spiel-datum {
    font-size: 100%; /* Kleinere Schriftgröße für das Datum */
    font-weight: 500;
    font-family: oswald;
    color: #666; /* Grauer Farbton für das Datum */
    margin-top: 5px; /* Abstand zwischen Name und Datum */
}

.widget-slide h4 {
    font-family: oswald;
    color: var(--ui);
    font-size: 150%;
    text-align: center;
}

/* Button für "Spielplan ansehen" */
#viewSpielplan {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0vh;
    text-align: center;
    font-family: oswald;
    color: white;
    background-color: var(--ui);
    padding: 3%;
    width: 60vw;
    text-decoration: none;
    border-radius: 7.5px;
}

footer {
    margin-top: 2rem;
    padding: 2%;
    padding-top: 5%;
    background-color: var(--ui);
}

.footer-top h4 {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: oswald;
    font-size: 100%;
    text-align: center;
    margin-top: 15%;
}

.footer_head, .footer_end {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: oswald;
}

.footer_body {
    text-align: center;
    font-family: oswald;
}

.footer_body div li {
    list-style: none;
    margin-top: 4px;
}

.footer_body div hr {
    padding: 0 10%;
    margin: 10px 0;
}

.footer_body div a {
    font-size: 110%;
    line-height: 1.5;
    transition: 0.5s ease-in-out;
    color: #e7e7e7;
}

.footer_end {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.footer_end h4 {
    color: #ffffff;
}