


/* =====================================
   RESET
===================================== */

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

body{
    font-family:Arial, Helvetica, sans-serif;
    overflow:hidden;
}

/* =====================================
   HINTERGRUND
===================================== */

.background{
    position:fixed;
    inset:0;

    background-image:url("../bilder/Hauptbild.jpg");
    background-size:cover;
    background-position:center center;
	
    z-index:1;
}

/* =====================================
   OVERLAY
===================================== */

.overlay{

    position:absolute;

    top:5%;
    left:5%;
    width:90%;
    height:90%;

    z-index:2;

    overflow-y:auto;

    background:rgba(255,155,155,0.85);

    backdrop-filter:blur(4px);

    border-radius:20px;

    padding:30px;
}

/* =====================================
   ÜBERSCHRIFT
===================================== */

h1{

    text-align:center;

    margin-bottom:30px;

    font-size:32px;

    color:#222;
}

/* =====================================
   HAUPTBILD
===================================== */

.viewer{

    display:flex;

    justify-content:center;

    margin-bottom:25px;
}

.image-container{

    position:relative;

    width:80%;

    max-width:1000px;
}

#mainImage{

    width:100%;

    display:block;

    border-radius:12px;

    box-shadow:0 0 25px rgba(0,0,0,0.3);
}

/* =====================================
   LUPE
===================================== */

#lens{

    position:absolute;

    width:180px;
    height:180px;

    border-radius:50%;

    border:4px solid white;

    box-shadow:0 0 20px rgba(0,0,0,0.4);

    display:none;

    pointer-events:none;

    background-repeat:no-repeat;
}

/* =====================================
   BUTTON
===================================== */

#backBtn{

    display:none;

    margin:20px auto;

    padding:12px 35px;

    border:none;

    border-radius:8px;

    background:#0078d7;

    color:white;

    font-size:18px;

    cursor:pointer;
}

#backBtn:hover{
    opacity:0.9;
}

/* =====================================
   THUMBNAILS
===================================== */

.thumbs{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-top:20px;
}

.thumb{

    width:120px;
    height:120px;

    object-fit:cover;

    border:3px solid transparent;

    border-radius:8px;

    cursor:pointer;

    transition:all .3s ease;
}

.thumb:hover{

    transform:scale(1.08);

    border-color:#0078d7;
}

footer{
    margin-top:40px;
    padding:20px;
    text-align:center;
    color:white;
    font-size:14px;
    text-shadow:1px 1px 3px black;
}

/* =====================================
   FOOTER
===================================== */

.footer{

    margin-top:40px;

    padding-top:15px;

    border-top:1px solid #bbb;

    text-align:center;

    color:#444;

    font-size:14px;

    line-height:1.6;
}

.wartung-box{

    display:inline-block;

    padding:10px 25px;

    background:white;

    border:2px solid #cc0000;

    border-radius:10px;

    font-weight:bold;

    font-size:1.2em;

    box-shadow:0 0 10px rgba(204,0,0,0.3);

    animation:pulse 1.5s infinite;
}

@keyframes pulse{

    0%{
        transform:scale(1);
        box-shadow:0 0 10px rgba(204,0,0,0.3);
    }

    50%{
        transform:scale(1.08);
        box-shadow:0 0 25px rgba(204,0,0,0.7);
    }

    100%{
        transform:scale(1);
        box-shadow:0 0 10px rgba(204,0,0,0.3);
    }
}


.blink{

    font-weight:300;

    font-size:15px;

    text-shadow:none;

    animation:blinken 4s infinite;
}

@keyframes blinken{


	0%{
		color:white;
    }

    50%{
        color:#d40000;
    }

    100%{
        color:white;
    }
}


/* =====================================
   MOBILE
===================================== */

@media(max-width:768px){

    .image-container{
        width:95%;
    }

    .thumb{
        width:90px;
        height:90px;
    }

    h1{
        font-size:24px;
    }

    #lens{
        width:130px;
        height:130px;
    }       
       
}

.warnsymbol{

    animation:warnung 1.5s infinite;
}

@keyframes warnung{

    0%{
        opacity:1;
    }

    50%{
        opacity:0;
    }

    100%{
        opacity:1;
    }
}


