﻿/*---------------------------------------------------*/
/*--- Farben / Variablen */
/*---------------------------------------------------*/


:root {
    --main-color: #808E58; /*Main color*/
    --color2: #555555; /*2nd Main color*/
    --color3: rgb(198,154,65); /*Kontrast color*/
    --color4: #f5f5f5; /*Background color*/
    --colorFont: #646464; /*Schriftfarbe dunkel*/
    --colorFont2: white; /*Schriftarbe hell*/

    --color3-light: #c4a35a10;
    --main-color-light: #DAE3C1;
    --time: 1s;
    --radius: 0.7rem;
}

/*---------------------------------------------------*/
/*--- Standard HTML*/
/*---------------------------------------------------*/


html {
  font-size: 14px;
  
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--main-color);
}

html {
  position: relative;
  min-height: 100%;
}

body { /* Sichtbarer Hauptteil einer Seite */
    margin-bottom: 60px;
    color: var(--colorFont) !important;
    background-color: var(--color4);
    background-image: url('../bilder/Background_ACW_ged.jpg');
    background-attachment: fixed;
    background-size: cover;
}

    body.index { /* Sichtbarer Hauptteil einer Seite */
        margin-bottom: 60px;
        /*color: var(--colorFont);*/
        background-image: none !important; 
        background-color: /*var(--colorFont)*/ #f5f5f5 !important;
    }

h1, h2, h3, h4, h5, h6, h7 { /* Überschriften */
    text-transform: uppercase !important;
    color: var(--main-color) !important;
    font-weight: bold !important;
    text-align: center !important;
    text-shadow: lightgrey 0 0 9px;
}

h5{ /* Speziell für Überschrift H5 */
    text-align:left !important;
}

h6 { /* Speziell für Überschrift H6 */
    text-transform: none !important;
    font-weight: normal !important;
    font-size: 25px !important;
}

h7 { /* Speziell für Überschrift H7 */
    font-size: 40px !important;
    /*text-align: center !important;*/
    font-weight: lighter !important;
    text-transform: none !important;
}

h8 { /* Speziell für Überschrift H7 */
    font-size: 16px !important;
    color: #808e58 !important;
    font-weight: bolder !important;
    text-align: center !important;
}

a{ /* Links */
    transition:var(--time)!important;
    text-decoration:none;
    color: var(--color3);
}
    a:hover {
        color: var(--color3);
        font-weight: bold;
    }

img { /* Bilder */
    -webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.19);
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.19);
    object-fit:contain;
    width:100%;
}

hr{ /* Trennlinie */
    margin-top:40px;
    margin-bottom:40px;
    height:2px!important;
    border-radius:2px;
    color:var(--colorFont);
    box-shadow:var(--main-color) 0 0 10px;
}

special{ /* Spezial Formatierung -> Verwendung mit <special> Text </special>*/
    color:var(--main-color);
    font-weight:bold;
}

footer { /* Fußzeile */
    color: var(--colorFont);
    background: rgba(244, 244, 244, 0.9) !important;
    position: fixed !important;
    bottom: 0;
    height: 50px;
    width: 100%;
    line-height: unset !important;
}

p{ /* Fließtext */
    margin:0px!important;
}

input:focus, textarea:focus {
    transition: var(--time);
    outline: none !important;
    border: 3px solid var(--color3) !important;
    box-shadow: 0 0 10px var(--color3) !important;
}

td{ /* Tabellen Zelle */
    vertical-align:top;
}

canvas, canvas2 { /* Unterschriften Pad*/
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 250px;
    border: 5px solid var(--main-color-light);
    box-shadow: var(--main-color-light) 0 0 0px;
}


body::-webkit-scrollbar { /*Scrollbar*/
    width: 12px; /* Dicke der Scrollbar */
}

body::-webkit-scrollbar-track {
    background: var(--main-color); /* Hintergrund der Scrollbar */
}

body::-webkit-scrollbar-thumb {
    background-color: black; /* Hintergrund des Scrollbalkens */
    border-radius: 0px; /* Radius von Scrollbalken */
    border: 3px solid var(--main-color); /* Rand um scrollbalken */
}



/*---------------------------------------------------*/
/*--- Individual*/
/*---------------------------------------------------*/

@media (orientation: landscape) {
    .img_dialog {
        max-height: 60vh; /* Mehr Höhe im Querformat nutzen */
    }
}

@media (orientation: portrait) {
    .img_dialog {
        max-height: 60vh; /* Weniger Höhe im Hochformat, um Platz für die Schaltflächen zu lassen */
    }
}

/* Custom CSS */
.custom-margin {
    margin: auto;
    width: 50%; /* Or any specific width you prefer */
}

.mymain { /* Hauptfenster Einstellungen  */
    margin-top: 7rem;
    margin-bottom:7rem;
    height:100%;
}
    @media (max-width: 768px) { /* Bei Handy Darstellung wird es gar nicht angezeigt */
        .mymain {
            margin-top:6rem;
            margin-bottom:4rem;
        }
    }

.mynav-item { /* Standard Farbe Navigation Item */
    transition: var(--time);
    color: var(--main-color-light) !important;
    text-transform: uppercase !important;
    text-shadow: #000 0 0 3px;
    font-weight: normal !important;
    
}
    .mynav-item:hover { /* Farbe Navigation Item wenn mit Maus darüber gefahren wird */
        color: var(--color3) !important;
        text-shadow: #646464 0 0 5px;
        font-weight: normal !important;
        text-decoration: underline !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    .mynav-item.scrolled { /* Farbe Navigation Item wenn nach unten gescrollt wird */
        color: black !important;
        text-shadow: #000 0 0 1px;
    }
        .mynav-item.scrolled:hover { /* Farbe Navigation wenn nach unten gescrollt wird und mit Maus darüber gefahren wird */
            /*color: var(--color3) !important;*/
            /*text-shadow: #000 0 0 12px;*/
            font-weight: normal !important;
            text-decoration: underline !important;
        }

.mynav{ /* Standard Farbe Navigation */
    background:black;
    color:var(--colorFont);
    transition: var(--time);
}
    .mynav.scrolled { /* Farbe Navigation wenn nach unten gescrollt wird */
        background: var(--main-color);
        box-shadow: inset 0 -10px 20px rgba(0,0,0,0.1)!important;
        color:var(--colorFont2);
        border-bottom: solid;
        border-color: var(--main-color-light);
        border-width: 5px;
    }

.navbar-toggler-icon{ /* Standard Farbe Burger Menü*/
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")!important;
}
    .navbar-toggler-icon.scrolled { /* Farbe Burger Menü wenn nach unten gescrollt wird */
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

.myfooter-item { /* Fußzeile Items (z.B. Impressum) */
    padding-left: 10px;
    color:var(--main-color)!important;
    font-weight:normal;
}
    .myfooter-item:hover { /* Farbe Fußzeile Item wenn mit Maus darüber gefahren wird */
        color: var(--color3) !important;
        text-shadow: #000 0 0 0px;
        text-decoration: underline !important;
        font-weight: normal !important;
        padding-right: 10px !important;
        padding-left: 20px !important;
    }

.myfooter-item2 { /* Fußzeile Items ohne Hoover */
    padding-left: 10px;
    font-weight: normal;
    
}

.myImgFooter { /* Beschriftungszeile unter einem Bild */
    background: var(--main-color);
    width: 100%;
    color: var(--colorFont2);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: right;
    font-style: italic;
    font-size: smaller;
}

.myround_up { /* Objekt wird nur oben abgerundet */
    border-radius: var(--radius) var(--radius) 0 0;
}
.myround_down { /* objekt wird nur unten abgerundet */
    border-radius: 0 0 var(--radius) var(--radius);
}
.myround_all { /* Objekt wird an allen Seiten abgerundet */
    border-radius: var(--radius);
}

.mybackground{ /* Setzt den Hintergrund auf die Main Color */
    background: var(--main-color-light);
}

.myhr{ /* legt eine gewisse Höhe fest */
    height:3rem;
}
    @media (max-width: 768px) { /* Bei Handy Darstellung wird es gar nicht angezeigt */
        .myhr {
            height:1rem;
        }
    }

.mylogo { /* Logo Schriftzug in der Navigationsleiste*/
    /*font-weight:bold!important;*/
    text-decoration: none !important;
    
}   
    @media (max-width: 768px) { /* Bei Handy Darstellung wird der Logo Schriftzug keiner dargestellt */
        .mylogo {
            font-size: smaller;
        }
    }


    .mylogo:hover { /* Farbe Navigation Item wenn mit Maus darüber gefahren wird */
        color: var(--color3) !important;
        text-shadow: #646464 0 0 5px;
        text-decoration: none!important;
        padding-left: unset !important;
        padding-right: unset !important;
    }

    .mylogo.scrolled:hover { /* Farbe Navigation wenn nach unten gescrollt wird und mit Maus darüber gefahren wird */
        color:black !important;
        font-weight: normal !important;
        text-decoration: none !important;
    }

.myinput{ /* Input Felder (z.B. Kontaktformular)*/
    background:var(--color4);
    border:solid;
    border-color:var(--main-color-light);
    border-width:4px;
    padding-top:7px;
    padding-bottom:7px;
    padding-left:20px;
    margin-top:1rem!important;
    border-radius:7px;
    box-shadow: var(--main-color-light) 0 0 0px;
}

.btn{ /* Button */
    background:var(--main-color);
    color:white;
    border-radius:7px;
    transition:var(--time);
    padding:10px;
}
    .btn:hover{ /* Button wenn mit Maus darüber gefahren wird */
        background:var(--color3);
        color:white;
    }

.IMGclean{ /* Bei einem Bild den Schatten entfernen */
    box-shadow:none;
}

.dialog { /* IMG Dialog -> Bild als Vollbild */
    max-width: 90%;
    max-height: 90%;
    transition: var(--time);
    background-color: rgba(0,0,0,0) !important;
    border-width: 0px !important;
}
    dialog::backdrop { /* Dialog Hintergrund abdunkeln */
        background-color: rgba(0,0,0,0.7)!important;
    }

.dialogButton:focus { /* Bedarfseinstellung, damit Buttom im Dialog Fenster keinen Focus bekommt */
    box-shadow:var(--main-color)!important;
}

.img_dialog { /* Dialog Bild Einstellungen */
    /*box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.5);*/
    width:100%
}

.icon_small { /* Icon in der Navigationsleiste */
    display: unset !important;
    /*content: url('../bilder/01R_ACW_Logo_1c_gold_2023-06.png');*/
    content: url('../bilder/Logo_header_gd.png');
    transition: var(--time);
    width: auto;
}
  /*display: none; 
    transition: var(--time);
    width: auto;
}*/

    .icon_small.scrolled {
        display: unset;
        content: url('../bilder/Logo_header_sw.png');
        width: auto;
    }

    @media (max-width: 768px) { /* Bei Handy Darstellung wird es immer angezeigt */
        .icon_small {
            display: unset !important;
            /*content: url('../bilder/01R_ACW_Logo_1c_gold_2023-06.png');*/
            content: url('../bilder/Logo_header_gd.png');
        }
            .icon_small.scrolled {
                /*content: url('../bilder/01R_ACW_Logo_1c_schwarz_2023-06.png');*/
                content: url('../bilder/Logo_header_sw.png');
            }
    }

.icon_big { /* Icon im Titelbild */
    position: fixed;
    top: 200px;
    left: 200px;
    width: 200px;
    height: auto;
    display: unset;
    transition: var(--time);
}

    .icon_big.scrolled {
        display: none;
    }

    @media (max-width: 768px) { /* Bei Handy Darstellung wird es gar nicht angezeigt */
        .icon_big {
            display: none !important;
        }
    }

.onlyMobile {
    display: none;
}
    @media (max-width: 768px) { /* Bei Handy Darstellung wird es gar nicht angezeigt */
        .onlyMobile {
            display: block!important;
        }
    }

.onlyDesktop{
    display:block;
}
    @media (max-width: 768px) { /* Bei Handy Darstellung wird es gar nicht angezeigt */
        .onlyDesktop {
            display: none !important;
    }

.blur {
        filter: blur(5px);
    }
}

.myibangreen {
    font-size: 15px;
    font-weight: 400;
    color: green;
}

.myibanred {
    font-size: 15px;
    font-weight: 400;
    color: red;
    font-stretch: expanded;
}

.myfloattest {
    width: 300px; /* Breite des Containers */
    height: 200px; /* Höhe des Containers */
    background-color: #f0f0f0; /* Hintergrundfarbe */
    border-radius: 15px; /* Abrundung der Ecken */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Schatten, um das Floating zu betonen */
    padding: 20px; /* Innenabstand */
    position: fixed;
    top: 200px;
    left: 200px;
    margin: 10px; /* Abstand zu anderen Elementen */
}

/* Desktop-Ansicht: Standardmäßig wird das Desktop-Bild angezeigt */
.responsive-image .mobile-image {
    display: none;
}

/* Mobile-Ansicht: Zeige das mobile Bild und verstecke das Desktop-Bild */
    @media screen and (max-width: 768px) {
        .responsive-image .desktop-image {
            display: none;
    }

        .responsive-image .mobile-image {
            display: block;
            margin-top: 1rem;
        }
}

.shortHR {
    height: 1px !important;
    margin-left: 20%;
    margin-right: 20%;
}

.sticker-link1 {
    position: fixed; /* Bleibt an einer festen Position */
    top: 100px; /* Abstand vom unteren Bildschirmrand */
    right: 20px; /* Abstand vom rechten Bildschirmrand */
    z-index: 1000; /* Ganz oben anzeigen */
}

.sticker-link1 img {
    width: 250px; /* Sticker-Größe */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s; /* Animation beim Hover */
    box-shadow: none !important;
}

    .sticker-link1 img:hover {
        transform: scale(1.1); /* Vergrößert den Sticker beim Überfahren */
    }


.sticker-link2 {
    position: fixed; /* Bleibt an einer festen Position */
    top: 207px; /* Abstand vom unteren Bildschirmrand */
    right: 0px; /* Abstand vom rechten Bildschirmrand */
    z-index: 1000; /* Ganz oben anzeigen */
}

.sticker-link2 img {
    width: 200px; /* Sticker-Größe */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s; /* Animation beim Hover */
    box-shadow: none !important;
}

.sticker-link2 img:hover {
        transform: scale(1.1); /* Vergrößert den Sticker beim Überfahren */
}


input[type="checkbox"] {
    accent-color: #808e58; /* Ändert die Farbe der Checkbox */
    width: 25px; /* Größe der Checkbox ändern */
    height: 25px;
    
}
