/* =====================================================
   Surrle & Söhne
   style.css
   Schwäbische Muggabatscher seit Generationen
   ===================================================== */


/* Grundlayout */

body {
    margin: 0;
    padding: 0;
    background: #cfcfcf;
    color: #000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;

    /* Der echte Mauszeiger wird versteckt -                */
    /* der nachlaufende Muggabatscher (#flyCursor) ist der Zeiger. */
    cursor: none;
}

/* Auf Touch-Geraeten gibt es keinen Zeiger -> normalen Cursor lassen */
@media (hover: none) {
    body { cursor: auto; }
    #flyCursor { display: none; }
}


#wrapper {
    width: 900px;
    margin: 20px auto;
}


/* Tabellen-Hauptbereich */

table {
    background: #ffffff;
    border-collapse: collapse;
}


td {
    border: 1px solid #999;
    vertical-align: top;
}



/* Kopfbereich */

.header {
    background: #006699;
    color: white;
    text-align: center;
    height: 180px;
}


.header h1 {
    font-size: 42px;
    margin-top: 35px;
    margin-bottom: 5px;

    text-shadow: 2px 2px #003366;
}


.header h3 {
    font-size: 18px;
}


.topinfo {

    float: right;

    background: #eeeeee;
    color: #000;

    border: 1px solid #555;

    padding: 5px;

    font-size: 10px;

}



/* Menü */

.menu {

    background: #eeeeee;
    text-align: center;

    padding: 8px;

}


.menu a {

    color: #003399;

    font-weight: bold;

    text-decoration: none;

}


.menu a:hover {

    color: red;

    text-decoration: underline;

}


.menu img {

    vertical-align: middle;

}



/* Laufschrift */

marquee {

    background: yellow;

    color: red;

    font-weight: bold;

    border-top: 1px solid red;

    border-bottom: 1px solid red;

}



/* Überschriften */

h2 {

    color: #003399;

    font-size: 20px;

    border-bottom: 2px solid #003399;

    padding-bottom: 3px;

}



/* Bilder */

.firma {

    width: 400px;

    border: 5px solid #999;

    float: right;

    margin: 10px;

}



img {

    max-width: 100%;

}



/* Text */

p {

    line-height: 1.5;

}


blockquote {

    background: #ffffcc;

    border: 1px dashed #999;

    padding: 15px;

    font-style: italic;

}





/* Produktboxen */

td[align="center"] {

    background: #fafafa;

}



td[align="center"]:hover {

    background: #ffffdd;

}





/* Auszeichnung */

.award {

    background: #fff8dc;

    border: 3px double #cc9900;

    padding: 15px;

    text-align: center;

}




/* Webshop */

.shopbox {

    background: #ffffdd;

    border: 3px dashed red;

    padding: 20px;

    text-align: center;

}



.shopbox h2 {

    color: red;

}



.shoploader {

    font-size: 50px;

    animation: drehen 1.5s linear infinite;

    display: inline-block;

}



@keyframes drehen {

    from {

        transform: rotate(0deg);

    }


    to {

        transform: rotate(360deg);

    }

}



/* Muggabatscher-Cursor (laeuft dem Mauszeiger mit Verzoegerung nach) */

#flyCursor {

    position: fixed;

    left: 0;

    top: 0;

    z-index: 9999;

    width: 46px;

    height: 46px;

    /* Hotspot (Paddel-Mitte) ungefaehr auf die echte Zeigerposition legen */
    margin-left: -12px;

    margin-top: -10px;

    background: url("../bilder/muggabatscher.png") no-repeat center center;

    background-size: contain;

    pointer-events: none;

    /* leichtes Zittern wie eine schlagbereite Klatsche */
    animation: wackel 0.5s ease-in-out infinite;

}


@keyframes wackel {

    0%   { transform: rotate(-3deg); }

    50%  { transform: rotate(3deg); }

    100% { transform: rotate(-3deg); }

}


/* Beim Klick holt der Batscher kurz aus und schlaegt zu */

#flyCursor.batsch {

    animation: batsch 0.3s ease;

}


@keyframes batsch {

    0%   { transform: rotate(0deg) scale(1); }

    25%  { transform: rotate(-45deg) scale(1.15); }

    55%  { transform: rotate(15deg) scale(0.9); }

    100% { transform: rotate(0deg) scale(1); }

}



#splat {

    position: fixed;

    display: none;

    font-size: 35px;

    z-index: 9998;

    pointer-events: none;

}





/* Ladebildschirm */

#loader {

    position: fixed;

    left: 0;

    top: 0;

    right: 0;

    bottom: 0;

    background: white;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

}



.logo-loader {

    position: relative;

    width: 250px;

    height: 250px;

    text-align: center;

}



.logo-loader h1 {

    position: absolute;

    top: 90px;

    width: 100%;

    color: #003399;

}



.loader-fly {

    position: absolute;

    font-size: 35px;

    animation: flugkreis 2s linear infinite;

}



@keyframes flugkreis {


    0% {

        transform: rotate(0deg) translateX(100px);

    }


    100% {

        transform: rotate(360deg) translateX(100px);

    }

}





/* Alte Website-Elemente */

.counter {

    font-size: 11px;

}



hr {

    border: 0;

    border-top: 1px solid #999;

}



/* Alte Buttons */

button {

    background: silver;

    border: 2px outset white;

    padding: 5px 15px;

}



button:active {

    border: 2px inset white;

}



/* Footer */

small {

    font-size: 10px;

}



footer {

    text-align:center;

}



/* 404 */

.error404 {

    margin-top:100px;

    text-align:center;

    font-family:Verdana;

}


.error404 h1 {

    font-size:60px;

    color:red;

}
