/* Header - logo & top banner */
.logo-main-container-theme2 {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 280px;
    max-height: 250px;
    margin-bottom: 0;
}

.logo-img-container-theme2 {
    position: relative;
    max-width: 250px;
    height: auto;
    padding: 4px;
}

.logo-txt-container-theme2 {
    position: relative;
    max-width: 60%;
    height: auto;
    padding: 2%;
    vertical-align: middle;
}

.site-title-theme2 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.top-banner-theme2 a,
.top-banner-theme2 img {
    max-height: 180px;
}

/* Colors */
:root {
  --first-main-color: #961332;
  --second-main-color: #6e0a28;
  --third-main-color: #a3344e;
  --text-color: #fff;
  --hover-color: #bababa;
  --background-color: #010101;
}

.first-main-color {
  color: var(--text-color);
  background-color: var(--first-main-color);
}

.second-main-color {
  color: var(--text-color);
  background-color: var(--second-main-color);
}

.third-main-color {
  color: var(--text-color);
  background-color: var(--third-main-color);
}

/* Header */
.header-box {
  border: 1px solid var(--text-color);
  border-radius: 3px;
}

.search-button {
  border: none;
  cursor: pointer;
  border-radius: 0 0.25rem 0.25rem 0;
}

/* Dropdown arrow */
.dropdown-toggle::after {
  vertical-align: 0;
}

/* Nav items */
.my-nav-item {
  padding: 0.5rem 0.2rem;
}

.my-nav-item .nav-link {
  color: #fff;
}

.my-nav-item:hover,
.my-nav-item:active,
.my-nav-item.active,
.my-nav-item.show {
  background-image: linear-gradient(#b01f41, var(--first-main-color));
}

/* Dropdown menu */
.dropdown-menu.show {
  border: none;
  display: block;
}

.dropdown-menu.show .dropdown-item,
#sub-menu .dropdown-item {
  width: auto;
  color: #fff;
  padding: 1.5% 0;
}

#sub-menu {
  min-height: 50px;
  height: 100%;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-menu.show .dropdown-item:hover,
.dropdown-menu.show .dropdown-item:active,
.dropdown-menu.show .dropdown-item.active,
.dropdown-menu.show .dropdown-item:focus,
#sub-menu .dropdown-item:hover,
#sub-menu .dropdown-item:active,
#sub-menu .dropdown-item.active,
#sub-menu .dropdown-item:focus {
  color: var(--hover-color);
  background-color: transparent;
  box-shadow: none;
}

/* Frontpage Main news */
.home-news-container {
  height: 450px;
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
}

.left-news-container,
.right-news-container {
  width: 49.5%;
  height: 100%;
}

.right-bottom-news-container {
  width: 100%;
  height: 49.5%;
  margin-top: 1%;
}

.first-news-container,
.second-news-container,
.third-news-container,
.fourth-news-container {
  position: relative;
  overflow: hidden;
}

.first-news-container,
.second-news-container {
  width: 100%;
}

.second-news-container {
  height: 49.5%;
}

.third-news-container,
.fourth-news-container {
  width: 49.5%;
  height: 100%;
}

.news-link {
  display: block;
  height: 100%;
}

.news-img-container {
  display: block;
  margin: auto;
}

.first-news-img,
.second-news-img,
.third-news-img,
.fourth-news-img {
  position: absolute;
  width: 100%;
  height: 150%;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s;
}

.first-news-txt-container,
.second-news-txt-container,
.third-news-txt-container,
.fourth-news-txt-container {
  position: absolute;
  bottom: 5%;
  left: 2%;
  width: 60%;
}

.front-news-tag {
  background-color: var(--second-main-color);
  color: var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 650;
}

.front-news-heading {
  background-color: var(--background-color);
  color: #c8c8c8;
}

.first-news-txt-container h5 { font-size: 1.2rem; }
.second-news-txt-container h5 { font-size: 1rem; }
.third-news-txt-container h5,
.fourth-news-txt-container h5 { font-size: 0.9rem; }

.first-news-txt-container p.news-tag { font-size: 1rem; }
.second-news-txt-container p.news-tag { font-size: 0.85rem; }
.third-news-txt-container p.news-tag,
.fourth-news-txt-container p.news-tag { font-size: 0.75rem; }

a:hover .front-news-heading {
  color: var(--text-color);
  text-shadow: 1px 1px 1px #c8c8c8;
  transition: all 1s;
}

a:hover .first-news-img,
a:hover .second-news-img,
a:hover .third-news-img,
a:hover .fourth-news-img {
  transform: translate(-50%, -50%) scale(1.1);
  transition: all 2s;
}

:root {
  --primary-color: #961332;
  --secondary-color: #6e0a28;
  --tertiary-color: #a3344e;
  --text-light: #e8e8e8;
  --text-dark: #626267;
  --background-light: #f4f4f4;
  --background-dark: #d8d8d8;
  --white: #fff;
  --hover-color: #bababa;
}

/* Team groups */
.team-groups-box-menu {
  flex-grow: 0;
  background-color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 0;
  width: 135px;
  height: 135px;
  margin-bottom: 2%;
}

.card-txt-team-groups {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.submenu-container-theme2 > .team-groups-box-menu:first-child {
  margin-left: 0;
}

.submenu-container-theme2 > .team-groups-box-menu:last-child {
  margin-right: 0;
}

.team-groups-box-menu > a p {
  color: var(--text-light);
  margin-bottom: 0;
  border-top: 1px solid var(--text-light);
  border-bottom: 1px solid var(--text-light);
  padding: 35px 0;
  width: 80%;
  transition: all 0.2s;
}

.team-groups-box-menu > a:hover p,
.team-groups-box-menu.active p {
  padding: 15px 0;
  color: var(--white);
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.team-groups-box-menu:hover p {
  color: var(--white);
}

.team-groups-box-menu > a:hover {
  text-decoration: none;
}

.top-body-ad-banner-theme2 {
  max-width: 730px;
  max-height: 250px;
}

/* Next game table */
.next-game-table {
  background-image: linear-gradient(115deg, var(--primary-color) 50%, var(--secondary-color) 50%);
  color: var(--white);
}

.next-game-team-logo-theme2 {
  max-width: 100px;
  max-height: 100px;
  padding: 5px;
}

.upcoming-match-item {
  width: 30%;
}

/* Scores table */
.teams-score-select-menu {
  height: calc(2.25rem + 2px);
  border: 1px solid var(--white);
  width: 75%;
  text-align-last: center;
  padding-right: 29px;
  color: var(--white);
  background-color: var(--secondary-color);
}

.teams-score-select-menu:focus {
  box-shadow: none;
  outline: none;
  border-color: var(--white);
}

.team-score-table th,
.team-score-table td {
  vertical-align: middle;
}

.team-score-table th:not(:nth-child(3)),
.team-score-table td:not(:nth-child(3)) {
  min-width: 50px;
  text-align: center;
}

.team-score-table th:nth-child(3),
.team-score-table td:nth-child(3) {
  min-width: 220px;
  text-align: left;
}

.team-score-table thead tr {
  color: var(--text-dark);
  background-color: var(--background-dark);
  font-weight: 600;
}

.team-score-table tbody tr {
  color: var(--text-dark);
  background-color: var(--background-light);
  font-weight: 450;
}

.team-score-table tbody tr:hover {
  color: var(--white);
  background-color: var(--tertiary-color);
}

.home-main-txt-paragraph {
  background-color: var(--background-light);
}

/* Sponsors */
.home-top-sponsors img {
  max-height: 250px;
  width: auto;
}

.home-other-sponsors img {
  max-height: 120px;
  width: auto;
}

/* Social links */
.home-social-links a {
  text-decoration: none;
  color: var(--white);
}

.home-social-links a:hover,
.home-social-links a:active,
.home-social-links a:focus {
  color: var(--hover-color);
}

:root {
  --primary-color: #961332;
  --secondary-color: #6e0a28;
  --white: #ffffff;
}

/* Social embed */
.inst-imgs-container {
  width: 350px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.insta-link {
  display: block;
  width: 33%;
}

.inst-img,
.inst-img img {
  display: block;
  width: 100%;
  height: auto;
  padding: 2%;
}

.social-embed {
  height: 100%;
}

/* Footer */
.footer-theme2 {
  border-top: 5px solid var(--secondary-color);
}

.footer-theme2 a {
  color: var(--white);
}

#scrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: 1px solid var(--white);
  outline: none;
  background-color: var(--primary-color);
  color: var(--white);
  cursor: pointer;
  padding: 15px;
  transition: background-color 0.3s ease;
}

#scrollToTop:hover {
  background-color: var(--secondary-color);
}

:root {
  --transition-speed: 0.5s;
}

@media (max-width: 991px) {
  .home-news-container {
    height: 650px;
  }

  .col-sm-12 {
    flex: 0 0 50%;
    max-width: 70%;
    margin: 0 auto;
  }

  .left-news-container,
  .right-news-container {
    width: 100%;
    float: left;
  }

  .right-bottom-news-container {
    width: 100%;
    float: left;
    margin-top: 1%;
  }

  .first-news-container,
  .second-news-container,
  .third-news-container,
  .fourth-news-container {
    position: relative;
    overflow: hidden;
  }

  .first-news-img,
  .second-news-img,
  .third-news-img,
  .fourth-news-img {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-speed);
  }

  .first-news-txt-container,
  .second-news-txt-container,
  .third-news-txt-container,
  .fourth-news-txt-container {
    position: absolute;
    bottom: 5%;
    left: 4%;
    width: 75%;
  }

  a:hover .first-news-img,
  a:hover .second-news-img,
  a:hover .third-news-img,
  a:hover .fourth-news-img {
    transform: translate(-50%, -50%) scale(1.2);
    transition: all 1s;
  }
}

@media (max-width: 575px) {
  .left-news-container {
    height: 25%;
    margin-bottom: 1%;
  }

  .right-news-container {
    height: 75%;
  }

  .right-bottom-news-container {
    height: 66%;
  }

  .second-news-container {
    height: 33%;
  }

  .third-news-container,
  .fourth-news-container {
    height: 50%;
  }

  .first-news-txt-container h5,
  .second-news-txt-container h5,
  .third-news-txt-container h5,
  .fourth-news-txt-container h5 {
    font-size: 0.9rem;
  }

  .first-news-txt-container p.news-tag,
  .second-news-txt-container p.news-tag,
  .third-news-txt-container p.news-tag,
  .fourth-news-txt-container p.news-tag {
    font-size: 0.75rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .left-news-container {
    height: 33%;
    margin-bottom: 1%;
  }

  .right-news-container {
    height: 66%;
  }

  .right-bottom-news-container {
    height: 50%;
  }

  .second-news-container {
    height: 49.5%;
  }

  .third-news-container,
  .fourth-news-container {
    width: 49.5%;
    height: 100%;
  }

  .first-news-txt-container h5 {
    font-size: 1rem;
  }

  .first-news-txt-container p.news-tag {
    font-size: 0.85rem;
  }

  .top-sponsor-logo {
    max-width: 70%;
  }

  .other-sponsor-logo {
    max-width: 40%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .third-news-img,
  .fourth-news-img {
    width: auto;
  }
}

@media screen and (orientation: landscape) and (max-width: 567.98px) {
  .top-banner-theme2 a,
  .top-banner-theme2 img {
    max-height: 100%;
  }

  .logo-main-container-theme2 {
    margin-left: auto;
    margin-right: auto;
  }
}
:root {
  --primary-color: #007bff;
  --text-color: #555;
  --shadow-color: rgba(0, 0, 0, 0.2);
}

/* Sponsor logos */
.top-sponsor-logo {
  max-width: 60%;
  height: auto;
}

.other-sponsor-logo {
  max-width: 40%;
  height: auto;
}

/* Logo container */
.logo-container {
  position: relative;
}

.next-game-team-logo-theme2 {
  max-width: 50px;
}

.kleineres-bild {
  max-width: 200px;
  max-height: 150px;
}

/* Flexbox utilities */
.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

/* Card styles */
.card {
  box-shadow: 0 4px 8px 0 var(--shadow-color);
  transition: box-shadow 0.3s;
  border-radius: 5px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 var(--shadow-color);
}

.card-img {
  width: 100%;
  border-radius: 5px 5px 0 0;
}

.card-content {
  padding: 2px 16px;
}

.card-title {
  font-size: 1.2em;
}

.card-description {
  color: var(--text-color);
}

.card-link {
  text-decoration: none;
  color: var(--primary-color);
}

/* Carousel */
#carouselExampleIndicators .carousel-item img {
  max-width: none;
  width: auto;
  height: auto;
}

/* Map container */
.map-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Navigation */
.navbar-nav {
  list-style-type: none;
  padding: 0;
}

.nav-item {
  padding: 10px;
}

.nav-link {
  text-decoration: none;
  color: #000;
}

.navbar-collapse {
  display: none;
}

.navbar-collapse.active {
  display: block;
}

/* Media Queries */
@media (max-width: 600px) {
  .card {
    width: 100%;
    padding: 10px;
  }
}