/*
 * Grundlage aller Shortcode-Apps.
 *
 * Jede Regel hängt unter .staedte-sc; Regeln auf Seitenebene (body, a, h1 …) gibt es nicht, das
 * Theme bleibt unberührt.
 */

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

/* Fehlermeldung, wenn der Endpunkt nicht oder mit einem Fehler antwortet. */
.staedte-sc .staedte-sc-error {
    margin: 0;
    text-align: center;
}

/* Hinweis bei unbekannter Stadt: Bild, Überschrift, zwei Knöpfe. */
.staedte-sc .staedte-sc-not-found-image {
    margin-bottom: 2.75%;
    line-height: 0;
    text-align: center;
}

.staedte-sc .staedte-sc-not-found-image img {
    display: inline-block;
    width: 70%;
    height: auto;
    margin-bottom: 20px;
}

.staedte-sc .staedte-sc-not-found h2 {
    margin-bottom: 20px;
    text-align: center;
}

.staedte-sc .staedte-sc-not-found-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.staedte-sc .staedte-sc-not-found-button {
    display: inline-block;
    width: 40%;
    padding: 15px 60px;
    border-radius: 6px;
    background-color: #ff9858;
    color: #fff;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s;
}

.staedte-sc .staedte-sc-not-found-button:hover {
    opacity: 0.8;
}

@media only screen and (max-width: 820px) {
    .staedte-sc .staedte-sc-not-found-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .staedte-sc .staedte-sc-not-found-button {
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    .staedte-sc .staedte-sc-not-found-image img {
        width: 90%;
    }
}
