:root {
    --efv-blau: #3c99ce;
    --efv-gelb: #ffe100;
    --ui: #185ca4;
}

@font-face {
    font-family: oswald;
    src: url(../assets/fonts/Oswald-Regular.ttf);
}

@font-face {
    font-family: jaro;
    src: url(../assets/fonts/Jaro-Regular.ttf);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Jaro:opsz@6..72&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

/*Animationen*/

@keyframes separator-width {
    0% {
      width: 0;
    }
    100% {
      width: 80%;
    }
}

@keyframes separator-height {
    0% {
        height: 0;
    }
    100% {
        height: 80%;
    }
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

/*navigation + ham-bar CSS*/

.mobile-header {
    display: flex !important;
    background-color: var(--ui) !important;
    z-index: 9999;
    position: fixed;
    top: 0;
    width: 100%;
}

.ham-menu {
    cursor: pointer;
    margin-top: 15px;
    margin-left: 15px;
}

.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 {
    
}

.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);
}

/*main*/

html, body {
    margin: 0;
    padding: 0;
}

/*devider*/

hr.devide {
    border-top: 3px solid var(--ui);
    margin: 15%;
}

main {
    overflow-x: hidden;
    min-height: 100vh;
}

.title {
    width: 100%;
    height: 50vw;
    background-image: url(../assets/img/erdachse.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

 .filter-buttons {
      margin-bottom: 20px;
    }

    .filter-buttons button {
      margin: 5px;
      padding: 10px 20px;
      border: none;
      background-color: #185ca4;
      color: white;
      cursor: pointer;
      border-radius: 6px;
    }

    .filter-buttons button.active {
      background-color: #185ca43;
    }

    .content-box {
      margin-bottom: 15px;
      padding: 15px;
      background-color: white;
      border-left: 4px solid #185ca4;
      transition: all 0.3s ease;
      display: none; /* Standardmäßig versteckt */
    }

    .content-box.visible {
      display: block;
    }

#fp-widget-footer a {
    color: white;
    pointer-events: none;
    margin-left: -1000vw;
}

#fp-widget-footer span {
    color: white;
    pointer-events: none;
    margin-left: -1000vw;
}

.match {
    border-top: 3px solid var(--ui);
    min-height: 50vh;
}

.match h2 {
    font-family: oswald;
    color: var(--ui);
    text-align: center;
    font-size: 200%;
}

.match-status h3 {
    font-family: oswald;
    color: var(--ui);
    text-align: center;
    font-size: 180%;
}

#pokalkranz {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -7%;
    width: 75vw;
    aspect-ratio: 10/1;
}

.match p {
    font-family: oswald;
    color: #3c99ce;
    text-align: center;
    font-size: 100%;
}

.matchdata-gridbox {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    width: 90vw;
    grid-template-columns: 1fr 1fr;
    column-gap: 7.5vw;
}

.matchdata-item {
    font-family: oswald;
    text-align: left;
}

.matchdata-item p {
    color: var(--ui);
}

.matchdata-item img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 4.5rem;
    margin-bottom: 2%;
}

.score-grid {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr 10vw 1fr;
    width: 90vw;
}

#score-heim {
    font-family: jaro;
    font-style: normal;
    color: rgb(36, 36, 36);
    font-size: 400%;
    text-align: center;
    font-weight: 700;
    margin-top: 15%;
    margin-bottom: -5%;
}

#score-gast {
    font-family: jaro;
    font-style: normal;
    color: rgb(36, 36, 36);
    font-size: 400%;
    text-align: center;
    font-weight: 700;
    margin-top: 15%;
    margin-bottom: -5%;
}

#score-devide {
    font-family: jaro;
    font-style: normal;
    color: rgb(36, 36, 36);
    font-size: 300%;
    text-align: center;
    margin-top: 80%;
}

.spielplan {

}

.team-name {
    font-family: oswald;
    color: var(--ui);
    font-size: 200%;
    text-align: center;
    margin-top: 10%;
}

/* 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 */
}

/* Button für "Spielplan ansehen" */
#viewSpielplan {
    display: block;
    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;
}

/* Styling for filter button container */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Basic button styling */
.filter-buttons a button {
    padding: 10px 20px;
    background-color: var(--ui); /* Green background */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: oswald;
}

/* Hover effect for buttons */
.filter-buttons a button:hover {
    background-color: var(--efv-blau); /* Darker green on hover */
}

/* Active button styling (optional) */
.filter-buttons a button.active {
    background-color: var(--efv-blau); /* Dark green for active filter */
}

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;
}
