/* ===========================================================================
 * tpreis-ebay.css — Stylesheet fuer die eBay-Landingpage
 *
 * Responsive Layout fuer alle Bildschirmgroessen.
 * =========================================================================== */

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    background: url(/img/background.jpg) no-repeat center center fixed;
    background-size: cover;
    color: #888888;
    font-size: 1em;
    line-height: 1.5em;
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
}

h1 {
    color: #888888;
    font-size: 1.8em;
    line-height: 1.3em;
    margin: 0;
    padding: 0 0 0 15px;
}

/* Hauptcontainer — responsive statt feste Breite */
.mn {
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    padding: 15px;
    margin: 5% auto 80px auto;
    max-width: 500px;
    width: 90%;
}

.small {
    color: #888888;
    font-size: 1em;
    line-height: 1.5em;
    margin: 0;
    padding: 0 0 0 20px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

li {
    text-align: center;
}

img {
    margin: 10px auto auto;
    display: block;
    border: none;
}

/* eBay-Logo-Bereich */
.op {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    padding: 0;
}

/* "Zu den Angeboten" Link */
.oq {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 15px 0;
    padding: 0;
}

.block {
    text-decoration: none;
}

.block1 {
    text-decoration: underline;
    font-size: 1.2em;
    font-weight: bold;
    color: #330099;
}

.block1:hover {
    color: #4d00e6;
}

/* Kategorie-Tiles — responsive Grid */
.oi {
    box-shadow: inset 0 1px 0 0 #fce2c1;
    background: linear-gradient(to bottom, #ffc477 5%, #fb9e25 100%);
    background-color: #ffc477;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 1px 0 #CC9F52;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    height: 100px;
    width: calc(50% - 8px);
    min-width: 140px;
    max-width: 180px;
    padding: 5px;
}

.oi:hover {
    background: linear-gradient(to bottom, #fb9e25 5%, #ffc477 100%);
    background-color: #fb9e25;
}

.txt {
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
}

/* Cookie-Notice */
.tp-cookie-notice {
    background-color: rgba(25, 25, 25, 0.9);
    color: #efefef;
    padding: 8px 20px;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.tp-cookie-notice .tp-cookie-title {
    font-weight: bold;
    color: #fff;
}

.tp-cookie-notice a {
    color: #f6a21d;
    font-size: 12px;
}

.tp-cookie-notice a:hover {
    text-decoration: underline;
    color: #f6a21d;
}

/* Responsive Anpassungen */
@media (max-width: 480px) {
    h1 {
        font-size: 1.4em;
        padding-left: 10px;
    }

    .mn {
        margin-top: 10px;
        width: 95%;
        padding: 10px;
    }

    .oi {
        width: calc(50% - 8px);
        height: 90px;
        font-size: 13px;
    }

    .oi img {
        width: 40px;
        height: 40px;
    }
}
