/* style.css */

/* ------------------ CSS Reset ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-size: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #000;
  color: #b1b1b1;
  text-rendering: optimizeSpeed;
  font-family: "Roboto", sans-serif;
}

body{
  background-image: url('../media/FullImg.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
  margin: 0;
}

.wrapper {
    background-color: #222;
    display: flex; /* Macht betdiv und side zu flexiblen Elementen */
    justify-content: space-between; /* Verteilt die Elemente mit Abstand */
    align-items: flex-start; /* Oberkante beider Elemente ausrichten */
    gap: 10px; /* Abstand zwischen betdiv und side */
    width: 100%;
}


/* ------------------ Navbar ------------------ */
.navbar {
  display: flex;
  position: sticky;
  top: 0;
  align-items: center;
  background-color: black;
  padding: 10px 20px;
}

h1 {
  font-family: "Roboto", sans-serif;
  color: #FBAE17;
  font-style: italic;
  font-weight: 800;
  font-size: 40px;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-grow: 1;
  padding-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a.active {
  color: #FBAE17;
}

.nav-links a:hover {
  color: #FBAE17;
}

.buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 15px;
  border: 1px solid white;
  color: white;
  background: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn.register {
  background-color: #FBAE17;
  border: none;
  color: black;
  font-weight: bold;
}

.btn.register:hover {
  background-color: rgb(255, 193, 59);
}

/* ------------------ Betting Navigation ------------------ */
.bet-bar {
  position: sticky;
  top: 80px;
  border-top: 2px solid #FBAE17;
  background-color: #222;
  padding: 20px;
  margin-top: 500px;
  border-bottom: 1px solid #fff;
}

.bet-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.bet-links li {
  margin-right: 20px;
}

.bet-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.bet-links a:hover {
  color: #ffae00;
}

.bet-links .active {
  font-weight: 700;
}

.bet-links .active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #FBAE17;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ------------------ Betting Table ------------------ */

.betdiv {
  display: flex;
  flex-wrap: wrap; /* Falls nicht genug Platz ist, wrappt der Inhalt */
  justify-content: space-between;
  gap: 10px;
  background-color: #222;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  width: 100%;
}

/* Side-Container bleibt neben BetDiv */
.side {
  min-width: 300px; /* Mindestbreite setzen */
  margin-right: 3%;
}

.betting-table {
  flex: 1; /* Beide Tabellen gleich groß */
  min-width: 430px; /* Falls Platzmangel, werden sie untereinander gestapelt */
  border: 1px solid #b1b1b1;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

h2 {
  color: #b1b1b1;
  font-size: 14px;
  margin: 15px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #444;
}

th {
  background-color: #222;
  color: #aaa;
  font-size: 12px;
  padding: 5px;
}



tr:hover {
  background-color: #434343;
}

/* ------------------ Bet Slip ------------------ */

.bet-slip-container {
  width: 300px;
  border: 1px solid #b1b1b1;
  padding:  0 10px 10px 10px;
  border-radius: 10px 10px 0 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

.bet-slip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h2{
  font-size: 20px;
  color: #fff;
}

.tabs {
  display: flex;
  gap: 5px;
}

.tab {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  padding: 5px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tab.active {
  border-bottom: 2px solid #FBAE17;
}

.bet-slip-content {
  margin-top: 0px;
}

.bet-item {
  background: #2a2a2a;
  padding: 10px;
  display: flex;
  text-align: center;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
}

.bet-item input {
  margin-right: 10px;
}

/* Für Chrome, Safari, Edge und Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.bet-title {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  padding-right: 10px;
}

.bet-description {
  font-size: 12px;
  color: #b1b1b1;
  padding-right: 10px;
  font-weight: 700;
}

.bet-odds {
  font-weight: bold;
  font-size: 16px;
  color: #22b62b;
}

.remove-bet {
  background: none;
  border: none;
  color: #b82323;
  font-size: 16px;
  cursor: pointer;
  right: 5px;
  top: 5px;
}

.bet-warning {
  padding: 10px;
  font-size: 13px;
  color: #b1b1b1;
  text-align: center;
}

.bet-amount {
  margin-top: 10px;
}

.bet-amount input {
  width: 60px;
  padding: 5px;
  text-align: center;
}

.bet-submit {
  width: 100%;
  padding: 10px;
  background: #FBAE17;
  color: black;
  font-weight: bold;
  border: none;
 /* border-radius: 10px; */
  cursor: pointer;
  margin-top: 10px;
}

.bet-submit:hover {
  background: #FBAE17;
}

#stake {
  background-color: #222;  /* gewünschte Hintergrundfarbe */
  color: #b1b1b1;             /* Textfarbe */
  border: 2px solid #b1b1b1;
  margin: 5px;
  font-size: 13px;
 /* border-radius: 10px; */
  font-size: 15px;
}


/* ------------------ button ------------------ */

.bet-btn {
  width: 100%;  /* Button füllt die gesamte Breite der Zelle */
  height: 100%; /* Button füllt die gesamte Höhe der Zelle */
  background-color: #333;
  border: none;
  padding: 10px 0; /* Höhenanpassung */
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  border-radius: 0; /* Kein Radius, damit er die Zelle exakt ausfüllt */
  transition: background-color 0.3s ease;
  display: flex; /* Flexbox, damit der Text zentriert ist */
  justify-content: center; /* Horizontal zentrieren */
  align-items: center; /* Vertikal zentrieren */
  text-align: center;
  color: #fff;
}

.bet-btn:hover,
.bet-btn.active {
  background-color: #22b62b;
}


/* ------------------ Footer ------------------ */
.info {
  text-align: center;
  color: #ffffff;
  padding-top: 10px;
  font-weight: 800;
  margin-bottom: 20px;
}

.disclaimer {
  align-items: center;
  display: inline-block; /* falls nötig, damit die Box nur so breit wie der Inhalt ist */
  font-size: 16px;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px;
  margin: 0 auto;  /* Zentriert das Element horizontal */

}

.bold {
  font-weight: 600;
}

.clear {
  clear: both;
}


.footerimg img {
  max-width: 100px; /* Passt das Bild an die Breite des Containers an */
  height: auto; /* Bewahrt das Seitenverhältnis */
  display: block;
  margin: 100px auto 0 auto;
}

/* ------------------ Footer ------------------ */

.littlewhite{
  color: #fff;
  font-size: 20px;
}

.white{
  color: #fff;
}

.tdpa{
  margin: 10px 10px;
}


/*----------overlay login---------------*/


.login-container {
  background-color: #161616;
  padding: 2rem;
  border-radius: 8px;
  width: 320px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: #ccc;
}

.input-group input {
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  background-color: #161616;
  color: #fff;
}

.login-button {
  width: 100%;
  padding: 0.5rem;
  background-color: #FBAE17;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  margin-top: 0.5rem;
  font-size: 14px;
}

.login-button:hover{
  background-color: rgb(255, 193, 59);
}

.forgot {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #51a2ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.register-text {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.register-link {
  color: #51a2ff;
  text-decoration: none;
}


/* Modal-Overlay */
.modal {
  display: none;               /* standardmäßig versteckt */
  position: fixed;
  z-index: 10000;                /* über allen anderen Inhalten */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;              /* falls der Inhalt größer ist als der Viewport */
  background-color: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
}

/* Container für das Modal-Inhalt */
.modal-content {
  background-color: #161616;
  margin: 10% auto;            /* vertikale Positionierung, horizontal zentriert */
  padding: 20px;
  border: 1px solid #888;
  width: 40%;                /* feste Breite, kann angepasst werden */
  height: auto;
 /* border-radius: 10px; */
  position: relative;
}

.modal-content .logo{
  font-family: "Roboto", sans-serif;
  color: #FBAE17;
  font-style: italic;
  font-weight: 800;
  font-size: 40px;
  margin-right: 20px;
}

/* Schließ-Button */
.close-button {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-button:hover {
  color: #000;
}

h3 {
  margin-top: 10px;
  color: #fff;
  line-height: 1.1; /* Standard ist meist 1.5, verringere es für engeren Abstand */
  font-size: 30px;
  font-weight: 700;
}

h4 {
  margin-top: 10px;
}

.shirt{
  margin-top: 40px;
  border-top: 1px solid #a5a5a5;
  display: flex;
  
}

.shirt img {
  max-width: 50%; /* Passt das Bild an die Breite des Containers an */
  height: auto; /* Bewahrt das Seitenverhältnis */
  display: block;
  margin: 0 auto;
}
#modal-message {
  display: none !important;
}

.warnung {
  display: none;
  margin-top: 10px;
  color: red;
  font-weight: bold;
}


  /*------------------- Shop -------------------------*/

  .product-container {
    display: flex;
    justify-content: space-between; /* Sorgt für maximale Abstände */
    align-items: center;
    width: 100%;
    max-width: 600px; /* Passe dies bei Bedarf an */
    margin: 0 auto;
  }
  
  .product-options {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .size-options {
    display: flex;
    gap: 6px;
  }
  
  .size-btn {
    background-color: #000;
    border: 1px solid #fff;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
  }
  
  .size-btn:hover {
    border-color: #FBAE17;
    color: #FBAE17;
  }
  
  .size-btn.selected {
    border: 1px solid #FBAE17;
    color: #FBAE17;
  }
  
  .size-btn.disabled {
    color: #a5a5a5;
    cursor: not-allowed;
    border-color: #a5a5a5;
  }
  
  .blob-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #FBAE17;
    font-size: 16px;
    cursor: pointer;
    color: #000;
    font-weight: 700;
    border: 1px solid #161616;
  }
  
  .blob-button:hover {
    background-color: #f0f8ff;
  }
  
  .price {
    font-weight: 500;
    color: #000;
  }


  .footer{
    margin: 0 auto;
    padding: 3%;
    background-color: #000;
    width: 100%;
    text-align: center;
    /*border-top: 1px solid #fff;*/
  }
  
  .footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-nav a {
    color: #ffffff !important; /* Weiß erzwingen */
    text-decoration: none !important; /* Kein Unterstrich erzwingen */
    font-size: 14px;
    transition: color 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: #bbbbbb !important; /* Dezenter Hover-Effekt */
  }

  .infofooter{
    margin-top: 40px;
    font-size: 14px;
    color: #ffffff !important; /* Weiß erzwingen */
  }



  /* Standardzustand: Mobiler Button versteckt */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  color: white;
  font-size: 28px;
}

    /* Media view */





@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }
  
  /* Optional: Abstand und Ausrichtung anpassen */
  .betdiv {
    width: 100%;
    margin: 0;
  }
  .side{
    width: 94%;
  }
  
  .side {
    margin: 0 3% 0 3%;
    margin-top: 0px; /* Abstand zwischen Tabellen und Bet Slip */
  }

  .bet-slip-container{
    width: 100%;
  }
}


@media (max-width: 500px) {
  .wrapper {
    flex-direction: column;
  }
  
  /* Optional: Abstand und Ausrichtung anpassen */
  .betdiv {
    width: 100%;
    margin: 0;
  }
  .side{
    width: 100%;
  }
  
  .side {
    margin: 0;
    margin-top: 0px; /* Abstand zwischen Tabellen und Bet Slip */
  }

  .bet-slip-container{
    width: 100%;
    margin: 0%;
  }

  .modal-content {
    width: 100%;                /* feste Breite, kann angepasst werden */
  }


  .betting-table {
    flex: 1; /* Beide Tabellen gleich groß */
    min-width: 100%; /* Falls Platzmangel, werden sie untereinander gestapelt */
    padding: 0%;
  }

  .betdiv{
    padding: 20px 0%;
  }

  .tdpa{
    font-size: 12px;
  margin: 10px 5px;
  }


  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
    z-index: 1000;          /* Sorgt dafür, dass die Navbar immer vorne ist */

  }

  .mobile-menu-btn {
    display: block;
    cursor: pointer;
    font-size: 28px;
    color: white;
    position: absolute;
    right: 3%;
    top: 25px;
  }

  .nav-links, .buttons {
    width: 100%;
    display: none;
    align-items: center;
  }

  .nav-links {
    flex-direction: row; /* Links nebeneinander */
    justify-content: flex-start;
    margin-bottom: 15px; /* Abstand zwischen nav-links und buttons */
  }

  .buttons {
    flex-direction: column; /* Buttons untereinander */
    align-items: flex-start;
  }

  .nav-links a {
    margin-right: 15px; /* Abstand zwischen Links */
    color: white;
    text-decoration: none;
  }

  .nav-links a:last-child {
    margin-right: 0;
  }

  .buttons .btn {
    margin-bottom: 10px; /* Buttons Abstand */
    width: 100%;
    text-align: left;
  }

  .buttons .btn:last-child {
    margin-bottom: 0;
  }

  .nav-active {
    display: flex !important;
  }
}



