* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
    font-family: 'Roboto Regular', sans-serif;
    background-color: #efe5cf;
    scroll-behavior: smooth;
}
@media (max-width: 991px){
body{
    scroll-padding-top: 70px;
}
}

@font-face {
    font-family: 'Roboto Black';
    src: url('../../fonts/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Bold';
    src: url('../../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Medium';
    src: url('../../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Regular';
    src: url('../../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Londrina Regular';
    src: url('../../fonts/Londrina-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1,h3,
.boxtitle {
    font-family: 'Londrina Regular', sans-serif;
    text-align: center;
}

h2,h4,
p {
    font-family: 'Roboto Medium', sans-serif;
}

a.nav-link {
    font-family: 'Roboto Bold', sans-serif;
}

li.nav-link {
    font-family: 'Roboto Bold', sans-serif;
    font-size: 3vw;
}

footer a {
    font-family: 'Roboto Bold', sans-serif;
}


a {
    text-decoration: none;
}

@media (max-width: 2000px) {
    h1 {
        font-size: 3vw;
    }

    h2 {
        font-size: 1.5vw;
    }

    h3 {
        font-size: 3vw;
    }

    h4 {
        font-size: 2vw;
    }

    p,
    .custom-button span {
        font-size: 1.3vw;
    }

    .nav-link {
        font-size: 1.2vw;
    }

    .termin {
        font-size: 2vw;
    }

    .cardtitle {
        font-size: 1.3vw;
    }

    td {
        font-size: 1.1vw;
    }

    th {
        font-size: 1.1vw;
    }

    .wider-column {
        width: 200px;
    }

    .wichtig {
        font-size: 0.9vw;
        line-height: 1.3;
  
    }
    .wichtigxl{
        font-size: 0.9vw;
    }

    .boxtitle {
        font-size: 2.3vw;
    }

    .plan p {
        width: 30vw;
    }

    .custom-button {
        width: 22vw;
        font-family: 'Roboto Regular', sans-serif;
    }
    footer a{
        font-size: 1.4vw ;
    }

    .innerp, .innerkasten li{
        font-size: 1vw ;
    }
    .headinfo{
        font-size: 1.3vw ;
    }
}
/* Max-Breite: 1800px */
@media (max-width: 1800px) {
    .innerp, .innerkasten li{
        font-size: 1vw ;
    }
    .headinfo{
        font-size: 1.4vw ;
    }
}
/* Max-Breite: 1500px */
@media (max-width: 1500px) {
    h1 {
        font-size: 5vw;
    }

    h2 {
        font-size: 2.3vw;
    }

    h3 {
        font-size: 3vw;
    }

    h4 {
        font-size: 2vw;
    }

    p,
    .custom-button span {
        font-size: 1.5vw;
    }

    .nav-link {
        font-size: 1.5vw;
    }

    .termin {
        font-size: 2.5vw;
    }

    .cardtitle {
        font-size: 1.8vw;
    }

    td {
        font-size: 1.4vw;
    }

    th {
        font-size: 1.4vw;
    }

    .wider-column {
        width: 140px;
    }

    .wichtig {
        font-size: 1.3vw;
        line-height: 1.3;
    }
    .wichtigxl{
        font-size: 1vw;
    }

    .boxtitle {
        font-size: 2.3vw;
    }

    .plan p {
        width: 38vw;
    }

    .custom-button {
        width: 27vw;
        font-family: 'Roboto Regular', sans-serif;
    }
    footer a{
        font-size: 1.5vw ;
    }
    .innerp, .innerkasten li{
        font-size: 1.4vw ;
    }
    .headinfo{
        font-size: 1.6vw ;
    }
}
/* Max-Breite: 1200px */
@media (max-width:1200px) {
    .innerp, .innerkasten li{
        font-size: 1.3vw ;
    }
    .wichtigxl{
        font-size: 1.3vw;
    }
    td, th {
        font-size: 1.7vw;
        line-height: 1.3;
    }
    p{
        font-size: 1.6vw;
    }
    .nav-link {
        font-size: 1.8vw;
    }
    h3 {
        font-size: 4vw;
    }
    .headinfo{
        font-size: 2vw ;

    }

}

@media (max-width:1100px) {
    .innerp, .innerkasten li{
        font-size: 1.4vw ;
    }
}
/* Max-Breite: 992px */
@media (max-width: 991px) {
    h1 {
        font-size: 6vw;
    }

    h2 {
        font-size: 3.1vw;
    }

    h3 {
        font-size: 6vw;
    }

    h4 {
        font-size: 3.2vw;
    }

    p,
    .custom-button span {
        font-size: 2vw;
    }

    .nav-link {
        font-size: 2.5vw;
    }

    .termin {
        font-size: 3vw;
    }

    .cardtitle {
        font-size: 2.5vw;
    }

    td {
        font-size: 2vw;
    }

    th {
        font-size: 2vw;
    }

    .wider-column {
        width: 110px;
    }

    .wichtig {
        font-size: 1.5vw;
        line-height: 1.3;
    }

    .custom-button {
        width: 35vw;
        font-family: 'Roboto Medium', sans-serif;
    }
    footer a{
        font-size: 2.5vw ;
    }
   
}

/* Max-Breite: 768px */
@media (max-width: 768px) {
    h1 {
        font-size: 6vw;
    }

    h2 {
        font-size: 3.2vw;
    }

    h3 {
        font-size: 7vw;
    }

    h4 {
        font-size: 4vw;
    }

    p,
    .custom-button span {
        font-size: 2.5vw;
    }

    .nav-link {
        font-size: 3.2vw;
    }

    .termin {
        font-size: 4vw;
    }

    .cardtitle {
        font-size: 3.2vw;
    }

    td {
        font-size: 2.3vw;
    }

    th {
        font-size: 2.3vw;
    }

    .wider-column {
        width: 100px;
    }

    .wichtig {
        font-size: 2vw;
        line-height: 1.3;
    }
    footer a{
        font-size: 3.2vw ;
    }
}

/* Max-Breite: 576px */
@media (max-width: 576px) {
    h1 {
        font-size: 8vw;
    }

    h2 {
        font-size: 4vw;
    }

    h3 {
        font-size: 10vw;
    }

    h4 {
        font-size: 4vw;
    }

    p,
    .custom-button span {
        font-size: 3.5vw;
    }

    .nav-link {
        font-size: 4vw;
    }

    .termin {
        font-size: 6vw;
    }

    .cardtitle {
        font-size: 4.5vw;
    }

    td {
        font-size: 3.5vw;
    }

    th {
        font-size: 3.5vw;
    }

    .wichtig {
        font-size: 3vw;
        line-height: 1.2;
    }
    footer a{
        font-size: 3.5vw ;
    }
}

/* Max-Breite: 440px */
@media (max-width: 440px) {
    h1 {
        font-size: 10vw;
    }

    h2 {
        font-size: 5vw;
    }

    h3 {
        font-size: 10vw;
    }

    h4 {
        font-size: 5vw;
    }

    p,
    .custom-button span {
        font-size: 4vw;
    }

    .nav-link {
        font-size: 5.1vw;
    }

    .termin {
        font-size: 6vw;
    }

    .cardtitle {
        font-size: 7vw;
    }

    td {
        font-size: 4vw;
    }

    th {
        font-size: 4vw;
    }

    .wider-column {
        width: 90px;
    }

    .wichtig {
        font-size: 3.5vw;
        line-height: 1.3;
    }
    footer a{
        font-size: 5vw ;
    }

}

@media (max-width: 350px) {

    td,
    th {
        font-size: 5vw;
    }
    footer a{
        font-size: 6.2vw ;
    }


}

/* ------------------Navbar------------------- */
.navback {
    background-color: #355a3d;
    background-image: url(../../img/header.png);
    max-height: 110px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 50;
}


.navbar-collapse{
    position: relative;
    top: -1.3rem ;
}

#mainNavbar{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; }

.navbar-nav-xl {
    position: relative;
    top: 20px;
    display: flex;
    justify-content: center;

}

.nav-link {
    color: white;
}

.navxl {
    position: relative;
    top: -35px;
    padding: 0;

}

.navbar-toggler-icon {
    color: white;

}

.navbar-toggler {
    position: relative;
    background-color: #355a3d;
    z-index: 10;
    justify-content: end;
    bottom: 25px;
    right: 5%;
}
.nav-item a:hover {
    color: #17311c; 
    transition: all 0.3s ease; }

/* ------------------Main------------------- */
.impressum{
    position: relative;
    top: 25px;
}
.custom-hr-impressum{
    border: 0;
    height: 1rem;
    background-color: #c04717;
    opacity: 100;
    position: relative;
    top: 80px;
}
@media (max-width: 991px){
    .impressum{
        top: 150px;
    }
}
main {
    position: relative;
    height: 70%;
    z-index: 10;
}

@media (max-width: 576px) {
    main {
        position: relative;
        height: 60%;
        z-index: 10;
    }
}

.bgimg {
    background-image: url(../../img/laufer-lowres.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -9em;
}

.bgimgxs {
    background-image: url(../../img/laufer-lowres.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.entrance {
    background-color: #355a3d;
    padding: 20px;
    border-radius: 6px;
    color: white;
    text-align: center;
}
@media (max-width: 991px) {
    .entrance{
        position: relative;
        top: 4rem;
    }
}
.porange {
    color: #c04717;
    font-family: 'Roboto Bold', sans-serif;
}
.custom-hr {
    border: 0;
    height: 1rem;
    background-color: #c04717;
    opacity: 100;
    position: relative;
    top: -20px;
}

.custom-hr-top {
    border: 0;
    height: 1.2vw;
    background-color: #c04717;
    opacity: 100;
    position: relative;
    z-index: 35;
}


.borrad {
    border-radius: 6px;
    border: none;
}
/*--------------------------Cards------------------------------>*/


.card {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border-radius: 6px;
    background-color: #efe5cf;
    border: 0px;
    height: auto;
    max-width: 280px;
    min-width: 230px;
    margin: auto;
}

.img1 img {
    height: auto;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    width: 100%;
}

.img2 img {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    width: 30%;
    height: 30%;
    border-radius: 50%;
    border: 7px solid #c04717;
    margin-top: -40px;
    background-color: white;
}

.main-text {
    padding: 10px 0;
}

.main-text ul {
    padding-left: 25%;
}

.main-text h3 {
    text-align: center;

}

.main-text p {
    font-size: 16px;
    text-align: center;
}

.cardtitle {
    font-family: 'Londrina Regular', sans-serif;
}

.abstand {
    text-align: center;
}

.text-bold {
    color: #c04717;
    font-family: 'Roboto Bold', sans-serif;
}
.image-top {
    z-index: 50;
}

.image-bottom {
    z-index: 40;
}

ul {
    list-style-image: url(../../img/ul.svg);

}

li {
    padding-left: 5px;
}

/* -----------Zeitplan----------- */
.wichtig{
    font-family: 'Roboto Regular';
}
.triathlon-list {
    list-style-type: none;
    padding: 0;
}

.triathlon-list li {
    display: flex;
    align-items: center;
    margin-bottom: -3px;
}

.distance {
    width: 60px;
    text-align: left;
    margin-right: -3px;
}

.unterpunkt {
    font-size: 1.5rem;
}

/* -----Tabelle---------- */
.schedule-table {
    width: 100%;
}

.schedule-table th,
.schedule-table td {
    border-bottom: 2px solid #355a3d;
}

.schedule-table th {
    background-color: #efe5cf;
    font-weight: normal;
}

.schedule-table td {
    background-color: #efe5cf;
    font-weight: normal;
}

.no-border-bottom {
    border-bottom: none;
}

.schedule-table td:first-child {
    font-weight: bold;
    vertical-align: middle;
}

.schedule-table th:first-child {
    font-weight: bold;
}

.important-note {
    font-weight: bold;
    color: #c04717;
}

.schedule-table a {
    color: #c04717;
}

/* -------Streckenpläne------------ */
.section {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto;
}

h2 {
    margin-bottom: 10px;
    word-wrap: break-word;
}

.custom-button {
    display: flex;
    align-items: center;
    border: none;
    background-color: #efe5cf;
    color: black;
    
    cursor: pointer;
    margin-bottom: 2vw;
    word-wrap: break-word;
    height: 2.5vw;
    min-height: 40px;
    border-radius: 20px 6px 6px 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.strecke{
    border-radius: 6px;
}

.icon-container {
    position: relative;
    left: -16px;
}

.button-icon {
    width: 5vw;
    height: 5vw;
    max-width: 60px;
}

.custom-button.show {
    background-color: #dfd0b0;
    color: #c04717;
}

.custom-button:hover {
    background-color: #dfd0b0;
    color: #c04717;
}

.custom-button:focus {
    outline: none;
}

.map-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.map-image.show {
    opacity: 1;
}

.text-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.text-image.show {
    opacity: 1;
}

.plan {
    margin-top: 15px;
}

.plan p {
    font-family: 'Roboto Bold', sans-serif;
    ;
    color: white;
    background-color: #c04717;
    border-radius: 6px;
    padding: 5px;
    ;
}
.prozent{
    font-size:15px;
}
.legende p {
    display: none;
}

@media (min-width: 1024px) {
    .legende p.non-touch {
        display: block;
    }
}

/* ------------------Infokasten------------ */
.infokasten img {
    width: 5vw;
    height: 5vw;
    max-width: 60px;
}

.infokasten {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: relative;
}

.infokasten.show {
    opacity: 1;
}

.textbox {
    position: relative;
    top: -5vw;
}

.infokasten {
    border-radius: 6px;
    position: relative;
    left: 40.8vw;
    z-index: 5;
}

.textkasten ul {
    margin-bottom: 0%;
    margin-left: -5px;
}

.infokasten {
    position: relative;
    width: 58%;
    height: 100%;
}

.infokasten {
    position: relative;
    max-width: 770px;
}

.textbox {
    position: relative;
    left: 40.3vw;
    top: -60px;
}

@media (max-width: 2000px) {
    .infokasten { max-width: 770px; left: 44vw; top: -50px;}
}

@media (max-width: 1800px) {

    .infokasten { max-width: 760px; left: 44.2vw;top: -25px;}
}

@media (max-width: 1700px) {
    .infokasten {max-width: 760px;top: -10px;}
}

@media (max-width: 1600px) {
    .infokasten { max-width: 750px; top: 10px;left: 44.5vw;}
}

@media (max-width: 1500px) {
    .infokasten { max-width: 720px; top: -10px;}
}

@media (max-width: 1400px) {
    .infokasten {max-width: 700px; }
}

@media (max-width: 1300px) {
    .infokasten { max-width: 670px;}
}

@media (max-width: 1200px) {
    .infokasten {min-width: 560px ; max-width: 610px; top: -50px ;}
}

@media (max-width: 1127px) {
    .infokasten {min-width: 500px; max-width: 560px; top: -75px; }
}

@media (max-width: 1100px) {
    .infokasten {min-width: 500px; max-width: 550px; left: 44.5vw;}
}

.innerp {
    font-family: 'Roboto Regular', sans-serif;
  
}

.innerkasten p {
    margin-bottom: 0;
}

/* -----------Streckenpläne-mobil----------- */
.verpflegung-table {
    border-collapse: collapse;
}

.verpflegung-table td {
    border: none;
    padding: 10px;
}

.verpflegung-table .orange-border {
    border-top: 2px solid #c04717;
}

.icon-verpflegung {
    width: 8vw;
    min-width: 50px;
}

.icon-text {
    position: relative;
    top: 2vw;
}

.verpflegung-table .icon-td {
    width: 5vw;
}

.verpflegungs-button {
    display: flex;
    align-items: center;
    border: none;
    background-color: #efe5cf;
    color: black;
    font-family: 'Roboto Medium', sans-serif;
    cursor: pointer;
    margin-bottom: 2vw;
    word-wrap: break-word;
    height: 2.5vw;
    min-height: 40px;
    border-radius: 20px 6px 6px 20px;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width:991px) {
    .verpflegungs-button {width: 38vw;}

}

@media (max-width:768px) {
    .verpflegungs-button {width: 45.5vw;}
}

@media (max-width:576px) {
    .verpflegungs-button {width: 62vw;}
}

@media (max-width:440px) {
    .verpflegungs-button {width: 71vw;}
}

@media (max-width:350px) {
    .verpflegungs-button {width: 89vw;}
    .lablebut {font-size: 5vw;}

}

.icon-container-mobil {
    position: relative;
    left: -16px;
}

.button-icon-xs {
    min-height: 50px;
    height: 9vw;
    max-width: 80px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 550px;
}

.large-image {
    max-width: 120%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 1500px) {
    .image-container {height: 95%;}
}
@media (max-width: 1200px) {
    .image-container {height: 85%;}
}
@media (max-width: 1126px) {
    .image-container {height: 80%;}
}

@media (min-width: 1655px) {
    .textkasten {padding: 0px;}
}

@media (min-width: 1600px) {
    .textkasten {padding: 15px;}
}



.custom-hr-info {
    border: 0;
    height: 3px;
    width: 90%;
    background-color: #c04717;
    opacity: 100;
    position: relative;
    top: -15px;
    left: 20px;
}

.untentext {
    position: relative;
    top: -25px;
    left: 50px;
}

.infos {
    position: relative;
    left: 10px;
}

.innerkasten {
    position: relative;
    left: 50px;
}

/*--------------------------Footer------------------------------>*/
footer {
    text-align: center;
    color: #ffffff;
}

.fotimg {
    background-image: url(../../img/header.png);
    background-color: #efe5cf;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.fot {
    color: #ffffff;
}

.footerimg {
    position: relative;
    top: 1.5rem;
    height: 7rem;
}

.ups {
    position: relative;
    top: 80px;
}

/* -------------------Nach Oben--------------- */
#buttontop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 3vw;
    border: none;
    outline: none;
    background-color: #c04717;
    color: white;
    cursor: pointer;
    padding: 0; 
    border-radius: 10px;
    font-size: 18px;
    z-index: 500;
    width: 6vw;
    height: 6vw;
    display: flex;
    align-items: center; 
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    max-width: 70px;
    max-height: 70px;
    box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.38);
}

button:hover img{
    transform: translatey(-6px);
    transition: transform 0.3s ease;
}
#buttontop:hover {
    background-color: #555;
}
button:hover img{
    transform: translatey(-2px)}

#buttontop img.top {
    width: 50%; 
    height: 60%; 
    object-fit: contain; 
}

.hide-on-touch {
    display: none;
}