:root {
    --primary-color: 130, 187, 22; /* Dunkelgrün (#82BB16) */
    --secondary-color: 255, 255, 255; /* Weiß (#ffffff) */
    --accent-color: 220, 255, 167; /* Helles Grün (#dcffa7) */
    --background-color: 240, 240, 240; /* Hellgrau (#f0f0f0) */
    --text-color: 0, 0, 0; /* Schwarz (#000000) */
    --indicator-color: 204, 0, 0; /* Dunkelrot (#CC0000) */
    --black-color: 0, 0, 0; /* Schwarz (#000000) */
    --grey-color: 100, 100, 100;
    --light-grey-color: 200, 200, 200;

    --text-size_title: 35px; /* Title */
    --text-size_xl: 25px;
    --text-size_l: 20px;
    --text-size_m: 15px;
    --text-size_s: 12px;
}

.container-fluid {
    min-height: 100dvh !important;
}


.header {
    background-color: rgb(var(--primary-color)) !important;
    color: rgb(var(--text-color));
    /*text-align: center;*/
    padding: 5px;
    position: relative;
    align-items: center;
    /*max-height: 80px !important; */
}


@media (max-width:400px) {

    .header img{
        height: 60px;
        width: auto;
        float: left
    }

    .title{
        color: rgb(var(--secondary-color));
        font-size: 1.0em; /* Standard-Schriftgröße für die anderen Wörter */
        white-space: nowrap;
        margin-left: 20px;
    }

    .title .large {
        font-size: 1.8em; /* Große Schrift für G, I, S */
        font-weight: bold; /* Optional für Hervorhebung */
        margin-top: -10px;
        margin-bottom: -10px;
    }
}
@media (min-width:401px) {
    .header img{
        height: 70px;
        width: auto;
        float: left
    }

    .title{
        color: rgb(var(--secondary-color));
        font-size: 1.2em; /* Standard-Schriftgröße für die anderen Wörter */
        white-space: nowrap;
        margin-left: 20px;
    }

    .title .large {
        font-size: 1.8em; /* Große Schrift für G, I, S */
        font-weight: bold; /* Optional für Hervorhebung */
        margin-top: -10px;
        margin-bottom: -10px;
    }
}

/* Main buttons --------------------------------------------------*/

.button-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* Sicherstellen, dass die Buttons über der Karte liegen */
    white-space: nowrap;
}

.button-container > button {
    margin: 0;  /* just for testing */
    padding: 0; /* just for testing */
}

.btn-primary {
    background-color: rgb(var(--primary-color)) !important;
    color: rgb(var(--secondary-color)) !important;
    border: none !important;
}

.btn-dark-green:hover {
    background-color: rgb(var(--accent-color)) !important;
}

.btn-outline-secondary {
    background-color: rgb(var(--secondary-color)) !important;
    color: rgb(var(--primary-color)) !important;
    border: solid 1px !important;
    border-color: rgb(var(--primary-color)) !important;
    border-radius: 5px;
}

.btn-danger{
    border: none !important;
}


/* Switches --------------------------------------------------*/

/* Farbe für den aktivierten Zustand */
.form-check-input:checked {
    background-color: rgb(var(--primary-color)); /* Grün, wenn aktiviert */
    border-color: rgb(var(--primary-color));
}


/* offcanvas panes   ----------------------------------------------------- */
.offcanvas-header{
    background-color: rgb(var(--primary-color));
    color: rgb(var(--secondary-color));
    font-size: var(--text-size_xl);
    text-align: center;
    /*background: linear-gradient(180deg, rgb(var(--primary-color)) 40%, rgb(var(--secondary-color)) 80%);*/
}

.offcanvas-body-container_vertical {
    /*display: grid;*/
    /*grid-template-columns: 2fr 1fr;  !* Zwei gleich große Spalten *!*/
    /*gap: 10px;                      !* Abstand zwischen den Boxen *!*/

    font-size: var(--text-size_l);
    text-align: justify;
    hyphens: auto;
}

.offcanvas-body-container_horizontal {
    display: grid;
    grid-template-columns: 2fr 1fr;  /* Zwei gleich große Spalten */
    gap: 10px;                      /* Abstand zwischen den Boxen */

    font-size: var(--text-size_l);
    text-align: justify;
    hyphens: auto;
}

.btn-close_custom {
    background-color: rgba(var(--primary-color), 0) !important;
    color: rgb(var(--secondary-color)) !important;
    border: none !important;
    position: absolute;
    right: 5px;
}

/* offcanvas pane info ----------------------------------------------------------- */

.logo {
    height: 50px;
    width: auto;
}


/* offcanvas pane settings  ----------------------------------------------------- */

.lang_settings {
    background-color: rgb(var(--secondary-color)) !important;
    color: rgb(var(--secondary-color)) !important;
    border-color: rgb(var(--primary-color)) !important;
    flex: 0 0 50% !important; /* nimmt die halbe Zeile ein */

}

.lang_settings.active {
    color: rgb(var(--primary-color)) !important;
    background-color: rgb(var(--secondary-color)) !important;
    border: solid 1px rgb(var(--primary-color)) !important;;
}


/* offcanvas pane details  ----------------------------------------------------- */

.offcanvas-details-body-container_horizontal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.offcanvas-details-body-container_vertical {
    /*display: grid;*/
    /*grid-template-columns: 1fr 1fr;*/
    /*gap: 10px;*/
}

.offcanvas_details_images_container{

}

.offcanvas_details_images_container img{
    /*-webkit-mask-image: radial-gradient(circle at center, black 60%,transparent 100%);*/
    /*mask-image: radial-gradient(*/
    /*        circle at center,*/
    /*        white 60%,*/
    /*        transparent 100%*/
    /*);*/
    mask-image:
            linear-gradient(to right,  transparent 0%,   white 10%, white 90%, transparent 100%),
            linear-gradient(to left,   transparent 0%,   white 10%, white 90%, transparent 100%),
            linear-gradient(to bottom, transparent 0%,   white 10%, white 90%, transparent 100%),
            linear-gradient(to top,    transparent 0%,   white 10%, white 90%, transparent 100%);
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

.offcanvas_details_description{
    font-size: var(--text-size_l);
    text-align: justify;
    hyphens: auto;

}

.container-image-source {
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 0.9em;
    color: #333;
    font-weight: bold;
}

/*Alerts -----------------------------------------------------------*/

#locationAlert {
    margin-bottom: 0px;
}


/* Info Modal ------------------------------------------------------*/

#infoModal {
    position: absolute;
    left: 7.5%;
    top: 100px;
    width: 85%;
    max-height: 75%;

}

.modal-header{
    background: rgb(var(--primary-color));
    color: rgb(var(--secondary-color));
    font-size: var(--text-size_l);
}

#infoModal .modal-content{
    /*background: rgb(var(--primary-color));*/
    background: rgb(var(--secondary-color));
    font-size: var(--text-size_l);
    text-align: justify;
    hyphens: auto;
}


/* poi rating  ----------------------------------------------------- */
.offcanvasDetails_user_rating{
    margin:auto;
}

.heading_user_rating {
    color: rgb(var(--text-color));
    margin-right: 15px;
}

.fa {
    font-size: 25px;
    transition: color 0.3s;
}

.fa:hover,
.fa:hover ~ .fa {
    color: #ffa500;
}

.fa.selected {
    color: #ffa500;
}

#btn_user_rating_submit{
    background-color: rgb(var(--primary-color));
    color: rgb(var(--secondary-color));
}


/* welcome  ----------------------------------------------------- */

#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgb(var(--primary-color));
    color: rgb(var(--text-color));
    display: flex;
    align-content: space-around;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#welcome-screen p {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--secondary-color));
    text-align: center;
    margin-top: 20px;
    font-size: var(--text-size_xl);
}

#welcome-screen-content {
    /*max-width: 75%;*/
    /*max-height: 50%;*/
    width: auto;
    height: 50%;
}

#welcome-screen img {
    display: block;
    /*max-width: 75%;*/
    width: auto;
    height: 75%;
    margin-left: auto;
    margin-right: auto;
    /*max-height: 50%*/
}

#btn_start{
    background-color: rgb(var(--secondary-color)) !important;
    color: rgb(var(--primary-color)) !important;
}

#btngroup_lang{


}

.lang {
    background-color: rgb(var(--primary-color)) !important;
    color: rgb(var(--secondary-color)) !important;
    border: 1pc;
    border-color: rgb(var(--primary-color)) !important;

}

.lang.active {
    color: rgb(var(--primary-color)) !important;
    background-color: rgb(var(--secondary-color)) !important;
}

/* debug  ----------------------------------------------------- */

.debug {
    display: none;
}




