html,
body {
  position: relative;
  height: 100%;
  background: #fff;
  scroll-behavior: smooth;
  color: #333333;
}

hr {
  color:#BF4C0C;
  width: 83%;
  margin: auto;
  border-top: 1px solid;
  opacity: unset;
}

.row {
  --bs-gutter-x: 0px;
}

.img-tria {
  width: 100%; 
  height: auto; 
  display: block; 
}

.roboto-condensed {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.wrapper{
  max-width: 100%;
  margin: auto;
}

h1 {
  font-family: "Roboto Condensed", sans-serif;
  color:#BF4C0C;
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h2 {
  font-family: "Roboto Condensed", sans-serif;
  color: #BF4C0C;
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h3 {
  font-family: "Roboto Condensed", sans-serif;
  color:#BF4C0C;
  font-size: 1.9em;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h4, h5 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0px;
}

p {
  font-family: "Lato", sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  margin: 0px;
}

a {
  font-size: 1em;
  color: #fff;
  text-decoration: none;
}
a:hover {
  font-size: 1em;
  color: #fff;
}

.bild-arbeit {
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.width-bild-arbeit {
  width: 80%;
}

#logo-mobil {
  display: none;
}

/* Button back to top */

#btn-back-to-top {
  border-color: #BF4C0C;
  background-color: #BF4C0C;
  box-shadow: 1px 1px 4px 2px rgba(255, 255, 255, 0.112);
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  border-radius: 0%;
  z-index: 1;
  }

  .fas {
    color: #fff;
  }

  .navbar-brand {
    margin-left: 2vw;
    margin-top: 4vw;
  }

  .navbar-brand-mobil {
    display: none !important;
  }

  #headerbild-mobil {
    display: none;
  }

  #kontakt a {
    background-color: #D2B48C;
    padding: 20px !important;
    color: #1A1A1A !important;
  }
 
  .sidebar {
    background-color: #fff;
    height: 50vh;
    width: 240px;
  }
  
  #bildheader {
    background-image: url(Startseite_Bild.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 65vh;
  }

  .wrap-intro {
    margin-right: 3vw;
  } 

  .side-img {
    margin-top: 5vh;
    margin-left: 1vw;
  }

  #icons {
    width: 90%;
    padding-left: 4vw;
  }

  .container-hb {
    position: relative;
    text-align: left;
    color: white;
  }

  .top-left {
    position: absolute;
    font-family: "gimlet-display", serif;
    font-size: 2em;
    letter-spacing: .1em;
    line-height: 1.5em;
    top: 8vw;
    left: 5%;
    right: 15%;
  }

  .intro{
    padding-left:0px !important;
    padding-right: 5px;
    top: 3vw;
  }

  .intro li{
    font-size: 1em !important;
  }

  #intro-mobil {
    display: none;
  }

/* Metanavigation */

#container-metanav {
  display: flex;
  margin: auto;
  width: 100%;
  justify-content: space-evenly;
}

#metanav-mobil {
  display: none;
}

#metanav {
  margin: 55px 0px 25px 0px;
  display: flex;
}

#metanav ul {
  margin-top: 85px !important;
  margin-left: 180px !important;
}

#metanav li {
  display: inline;
  padding: 0px 13px;
  align-items: center !important;
}

#metanav a {
  font-family: "Roboto Condensed", sans-serif;
  color: #242440;
  text-decoration: none;
  font-size: 0.95vw;
  font-weight: 400;
  text-decoration: underline;
}

#metanav a:hover {
  font-weight: 600;
}

/* Navigation */

#nav-dk {
  display: block;
}

#nav-mb {
  display: none;
}

#nav-dk {
  font-family: "Roboto Condensed", sans-serif;
  background-color: #242440;
  padding: 30px 0px;
  text-align: center;
}

#nav-dk ul {
  margin: 0px;
}

#nav-dk li {
  display: inline;
  padding: 0px 35px;
  font-size: 1.3em;
  font-weight: 600;

}

.titel {
  margin: 55px 0px;
}

.container-wrp {
  margin:auto;
  width: 66%;
}

.container-bl {
  background-color: #242440;
  color: #fff;
  margin:auto;
  width: 100%;
  padding: 10px 0px;
}


/* Slider */

.w3-content {
  margin-top: 50px;
  max-width: 66%;
}
.slide01 {
  width:100%;
  display:none;
}

.slide02 {
  width:100%;
  display: block;
}

.demo {
  width:100%;
  cursor:pointer;
}

.par-container {
  padding-top: 50px;
  margin:auto;
  width: 60%;
}

/* Ausschreibung */

.container-bl-kl {
  display: block;
  background-color: #242440;
  color: #fff;
  margin:auto;
  width: 66%;
  padding: 15px 0px;
  margin-bottom: 45px;
}

.container-wrp-kl {
  display: block;
  margin:auto;
  width: 87%;
  font-size: 1.5em;
}

.container-wrp-kl-mb {
  display: none;
}

.container-bl-kl-mb {
  display: none;
}

.vert-align {
  margin: auto;
}

.uhr-wett-mb {
  display: none;
}

.uhr {
  background-color: #BF4C0C;
  padding: 15px;
  color: #fff;
  width: 15%;
  text-align: center;
  font-size: 1.4em;
}

.event {
  width: 85%;
  padding-left: 10%;
}

.buchstaben {
  background-color: #BF4C0C;
  padding: 15px;
  width: 15%;
  text-align: end;
}

.buchstaben p {
  font-family: "Roboto Condensed", sans-serif;
  color: #fff;
  font-size: 3em;
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.icon {
  margin-right: -50px;
}

.wettkampf-titel {
  width: 80% !important;
}

.wettkampf-titel h4 {
  font-family: "Roboto Condensed", sans-serif;
  color:#242440;
  padding-left: 5%;
  font-size: 1.4em;
  padding: 30px;
}

.wk-wrapper {
  margin: auto;
  max-width: 66%;
}

.wk-wrapper p {
  font-weight: 700;
}

.container-wrp-kl-mb {
  display: none;
}

.container-bl-kl-mb {
  display: none;
}

.container-wrp-mb {
  display: none;

}

#rahm-dk {
  display: block;
}

.rahm-titel {
  display: block;
  padding: 0px;
  width: 25%;
  font-size: 1.4em;
}

.rahm-text {
  display: block;
  width: 75%;
}

.rahm-titel-mb {
  display: none;
}

.rahm-text-mb {
  display: none;
}

/* Streckenpläne */

.container {
  display: block;
  max-width: 100%;
}

.text-container {
  margin-right: 0px;
  margin-left: 65px;
}

.image-container {
  position: relative;
  display: inline-block;
}

#main-image {
  width: 60vw;
  height: auto;
  display: block;
}

.info-image {
  position: absolute;
  top: 0px; /* Positionierung anpassen */
  left: 0px; /* Positionierung anpassen */
  width: 60vw; /* Beispielhafte Größe */
  height: auto;
  display: none;
  z-index: 10; /* Damit es über der Grafik bleibt */
}

#click-image {
  z-index: 9; /* Damit es unter dem Hover-Bild bleibt */
}

.info-box {
  font-family: "Lato", sans-serif;
  background-color: #242440;
  color: #fff;
  font-weight: 300;
  font-size: 1.5em;
  width: 400px;
  bottom: 75vh;
  left: 66.1vw;
  padding: 0px 25px 25px 25px;
  position: relative;
  display: none;
  z-index: 20; /* Damit es über der Grafik und den Bildern bleibt */
}

#close-btn {
  display: flex;
  justify-content: end;
  cursor: pointer;
  font-size: 50px;
  color: #fff;
  font-weight: 400;
}

.hover-text:hover {
  cursor: pointer;
}

.leg-titel {
  background-color: #242440;
  color: #fff;
}

.leg-punkt {
  padding-left: 4%;
  font-size: 1.3em;
}

.leg-buchstaben {
  background-color: #BF4C0C;
  color: #fff;
  padding: 22px 5px;
  text-align: center;
  margin-bottom: 0px !important;
  margin-left: 15px;
  font-size: 2.2em;
}

.wett-icon {
  width: 12%;
}

.wett-name {
  margin: 10px;
  font-size: 1.3em;
}

.container-mb {
  display: none;
}

/* Impressum */

.wrp-impressum {
  display: block;
}

.wrp-impressum-mobil {
  display: none;
}

.container-bl h2 {
  position: relative;
  color: #fff;
}

/* Medium devices (tablets, less than 1201px) */
@media (max-width: 1200px) {

  /* Metanavigation */

  #logo {
    width: 150px;
    margin-top: 35px;
  }

  #container-metanav {
    width: 85%;
  }

  #metanav ul {
    margin-top: 90px !important;
    margin-left: 0% !important;
  }

  #metanav a {
    font-size: 1.05vw;
  }
  

  .wk-wrapper {
    max-width: 80%;
  }

  .info-box {
    font-family: "Lato", sans-serif;
    background-color: #242440;
    color: #fff;
    font-weight: 300;
    font-size: 1.2em;
    width: 300px;
    bottom: 60vh;
    left: 66.1vw;
    padding: 25px;
  }

  .wett-name {
    font-size: 1em;
    height: fit-content;
  }

  .leg-punkt {
    padding-left: 4%;
    font-size: 1em;
  }

  .leg-buchstaben {
    padding: 12px 5px;
    text-align: center;
    margin-bottom: 0px !important;
    margin-left: 15px;
    font-size: 2.2em;
  }
}

/* Medium devices (tablets, less than 993px) */
@media (max-width: 992px) {

  #logo-mobil {
    display: block;
    text-align: center;
    padding: 50px 10px 0px 0px;
  }

  #info p{
    font-size: 0.9em;
    z-index: 1;
  }

  .bild-arbeit {
    padding-top: 50px;
  }

  .bild-arbeit img {
    width: 100%;
  }
  /* Metanavigation mobil */

  #container-metanav {
    display: none;
  }

  #metanav-mobil {
    display: block;
    margin: 30px 0px;
    text-align:  center;
  }
  
  #metanav-mobil ul {
    margin-bottom: 0px;
    padding-left: 34px;
  }
  
  #metanav-mobil li {
    display: inline;
    padding: 0px 8px;
  }
  
  #metanav-mobil a {
    font-family: "Roboto Condensed", sans-serif;
    color: #242440;
    font-size: 1.5vw;
    font-weight: 400;
    text-decoration: underline;
  }
  
  #metanav-mobil a:hover {
    font-weight: 600;
  }

  /* Navigation mobil */
  #nav-dk {
    display: none;
  }

  #wrp-nav-mb {
    background-color: #242440;
    display: grid;
    text-align: center;
  }

  #nav-mb {
    display: flex;
    justify-content: space-evenly;
    font-family: "Roboto Condensed", sans-serif;
    padding-top: 40px;
    height: 100px;
    width: 100%;
  }
  
  #nav-mb ul {
    list-style: none;
  }
  
  #nav-mb li {
    padding: 0px 10px;
    font-size: 1.2em;
    font-weight: 600;
    float: left;
  }
  
  .dropdown .dropbtn {
    cursor: pointer; 
    border: none;
    outline: none;
    color: white;
    padding: 0px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }

  
  .dropdown-content {
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    background-color: #242440;
    z-index: 150;
  }
  
  .dropdown-content a {
    float: none;
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    z-index: 150;
  }
  
  .show {
    display: block;
  }

  /* Slider */
  .w3-content {
    margin-top: 50px;
    max-width: 100%;
  }
  /* Ausschreibung */

  .wk-wrapper {
    max-width: 66%;
  }

  .container-bl-kl {
    display: none;
  }
  
  .container-wrp-kl {
    display: none;
  }
  
  .container-wrp-kl-mb {
    display: block ;
    margin:auto;
    width: 87%;
    font-size: 1.5em;
  }
  
  .container-bl-kl-mb {
    display: block ;
    background-color: #242440;
    color: #fff;
    margin:auto;
    width: 66%;
    padding: 15px 0px;
    margin-bottom: 45px;
  }

  .container-wrp-mb {
    display: block;
    margin:auto;
    width: 66%;
  }

  .uhr-wett-dk {
    display: none;
  }

  .uhr-mb {
    background-color: #BF4C0C;
    padding: 15px;
    color: #fff;
    width: 40%;
    text-align: center;
    font-size: 1.4em;
  }
  
  .event-mb {
    width: 100%;
    padding-left: 0%;
    margin-top: 5%;
  }
  
  .uhr-wett-mb {
    display: block;
  }

  .buchstaben {
    background-color: #BF4C0C;
    padding: 25px;
    width: 15%;
    text-align: end;
  }

  #rahm-dk {
    display: none;
  }

  .rahm-titel {
    display: none;
  }
  
  .rahm-text {
    display: none;
  }

  .rahm-titel-mb {
    display: block;
    padding: 0px;
    font-size: 1.4em;
  }
  
  /* Streckenplaene */

  .container {
    display: none;
  }

  .container-mb {
    display: block;
  }

  .container-bl-mb-leg {
    background-color: #242440;
    color: #fff;
    margin:auto;
    width: 100%;
    padding: 20px 0px;
  }

  .container-bl-mb-leg h4 {
   width: 66% ;
   margin:auto;
   font-size: 1.3em;
  }

  .leg-mb {
    width: 66%;
    margin: auto;
  }

  .leg-mb-titel {
    width: 44%;
    margin: auto;
  }

  .leg-mb-titel h3 {
    color: #fff;
    font-size: 1.3em;
  }

  .leg-mb p {
    font-weight: 700;
  }

  .leg-buchstaben {
    padding: 10px 5px;
    text-align: center;
    height: fit-content;
    margin-right: 0px !important;
    margin-left: 15px;
    font-size: 2.2em;
  }

  /* Impressum */

  .wrp-impressum {
    display: none;
  }

  .wrp-impressum-mobil {
    display: block;
  }

}

/* Medium devices (smartphones, less than 577px) */
@media (max-width: 576px) {

  #metanav-mobil li {
    padding: 0px 2px;
  }
  
  #metanav-mobil a {
    font-size: 2vw;
    font-weight: 400;
  }

  
  #nav-mb li {
    padding: 0px 6px;
    font-size: 1em;
  }

  /* Streckenpläne */

  .leg-mb {
    font-size: 1em;
  }
}