/* ============================================================
   OSTERGEWINNSPIEL ÜBERSICHT
   ============================================================ */

/* block: easter */
.pagewrapper .content-container.easter {
    position: relative;
    height: 750px;
    z-index: 1;
    display: grid;
}

.content-container.easter .content-container-box {
    width: 100%;
    max-width: 1024px;
    position: relative;
    padding: 0;
    background: var(--isarblue);
    overflow: hidden;
}

.easter__rabbit {
    position: absolute;
    width: 150px;
    bottom: 0;
    right: 30px;
    transform: scaleX(-1);
}

.easter__grass {
    position: absolute;
    bottom: -30px;
    width: fit-content;
    z-index: 2;
}

.easter__eggs {
    position: absolute;
    bottom: 0;
    z-index: 1;
    left: 70px;
}

.easter__eggs img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
}

.easter__eggs img:first-of-type {
    left: 50px;
}

.easter__bubble {
    width: 150px;
    position: absolute;
    left: 440px;
    top: 20px;
}

.easter__ra-logo {
    width: 200px;
    position: absolute;
    right: 100px;
    top: 150px;
}

.easter__headlines {
    position: absolute;
    top: 150px;
    left: 100px;
}

.easter__headlines img {
    width: 290px;
}

.easter__headlines p {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.easter__egg-grid {
    display: grid;
    grid-template-areas:
        "a b c d"
        "e f g h";
    min-width: 50%;
    max-width: 70%;
    margin: 300px auto 50px auto;
    grid-row-gap: 2%;
    grid-column-gap: 1%;
    justify-items: center;
    position: relative;
}

.easter__egg-link {
    align-self: self-end;
    padding: 10px;
}

.easter__egg-link img {
    height: 130px;
    width: 103px;
}

.easter__egg-link:hover {
    opacity: 0.7;
}

/* block: easter-footer */
.easter-footer {
    padding: 10px;
}

.easter-footer__text-block {
    font-size: 18px;
}

.easter-footer__text-block--smaller {
    font-size: 16px;
}

.easter-footer__link {
    border-bottom: 1px solid var(--az-red);
}

.easter-footer__link--fat {
    font-weight: 500;
}

/* ============================================================
   RESPONSIVE – Übersicht
   ============================================================ */

@media screen and (max-width: 900px) {
    .pagewrapper .content-container.easter {
        height: 1350px;
    }

    .easter__headlines,
    .easter__ra-logo,
    .easter__bubble {
        position: relative;
        display: block;
        top: 40px;
    }

    .easter__headlines {
        text-align: center;
        left: 0;
    }

    .easter__ra-logo {
        display: block;
        right: 0;
        margin: 0 auto 20px auto;
    }

    .easter__bubble {
        left: 0;
        margin: 0 auto;
    }

    .easter__egg-grid {
        grid-template-areas:
            "a b"
            "c d"
            "e f"
            "g h";
        padding: 0 8%;
        margin-top: 110px;
    }
}

@media screen and (max-width: 767px) {
    .easter__egg-grid {
        place-self: center;
        max-width: 100%;
    }

    .easter-footer {
        padding: 24px;
    }
}

@media screen and (max-width: 420px) {
    .easter__egg-grid {
        margin-left: 24px;
        margin-right: 24px;
    }

    .easter-footer {
        padding: 14px;
    }
}

/* ============================================================
   OSTERGEWINNSPIEL DETAILSEITE
   ============================================================ */

#question-container-loggedin,
#question-container-azplus {
    display: none;
}

html.fcmscss-user_loggedin:not(.fcmscss-user_hasAZplus) #question-container-loggedin {
    display: block;
}

html.fcmscss-user_loggedin.fcmscss-user_hasAZplus #question-container-azplus {
    display: block;
}

/* block: easter-detail */
.easter-detail__nav {
    text-align: center;
}

.easter-detail__back {
    text-decoration: none;
    font-weight: 500;
}

.easter-detail__back--red {
    color: var(--az-red);
}

.easter-detail__header-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 40px;
    background: var(--isarblue);
    padding: 25px;
    margin-top: 24px;
    position: relative;
    border-radius: 5px;
}

.easter-detail__riem-logo {
    grid-column: 1;
    width: 250px;
    margin: auto;
    margin-right: 20px;
}

.easter-detail__header {
    grid-column: 2;
    text-align: center;
    align-content: space-around;
}

.easter-detail__header header {
    font-family: 'Roboto Slab';
    font-weight: 700;
    font-size: 26px;
}

.easter-detail__rabbit img {
    height: 160px;
    transform: scaleX(-1);
    position: absolute;
    right: 100px;
    margin-left: 20px;
}

.easter-detail__grass {
    grid-column: 1 / span 3;
    grid-row: 2;
}

.easter-detail__grass img {
    margin-left: -25px;
    height: 70px;
}

.easter-detail__body {
    padding: 30px;
    font-size: 16px;
    margin: 24px auto;
}

.easter-detail__body img {
    height: auto;
    border-radius: 5px;
}

.easter-detail__participation-wrapper {
    background: var(--isarblue);
    padding: 35px 20px;
    border-radius: 5px;
}

.easter-detail__participation-link {
    border-bottom: 1px solid var(--az-red);
    font-weight: 500;
}

.easter-detail__participation-container {
    display: flex;
    flex-direction: column;
    place-items: center;
}

.easter-detail__participation-types {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.easter-detail__participation-header {
    grid-row: 1;
    grid-column: 1 / span 2;
    padding: 5px 25px;
    text-align: center;
    margin-bottom: 24px;
}

.easter-detail__participation-header h2 {
    margin: 0;
}

.easter-detail__participation-container h2 {
    text-align: center;
    grid-column: 1 / span 2;
}

.easter-detail__participation-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: white;
    padding: 40px 20px;
    max-width: 400px;
    min-height: 380px;
    border-radius: 5px;
}

.easter-detail__participation-content h3 {
    margin-top: 0;
    min-height: 72px;
    align-content: center;
}

.easter-detail__participation-content .btn {
    width: 280px;
}

.easter-detail__participation-footer {
    position: relative;
    height: 250px;
}

.easter-detail__participation-info {
    text-align: center;
    margin: 12px auto;
}

.easter-detail__grass--footer {
    position: absolute;
    bottom: -50px;
    left: -15px;
    z-index: 2;
}

.easter-detail__rabbit--footer img {
    position: absolute;
    bottom: -30px;
    height: 200px;
}

.easter-detail__eggs {
    position: absolute;
    bottom: -30px;
    left: 80px;
}

.easter-detail__eggs img {
    height: 200px;
}

.easter-detail__eggs img:last-of-type {
    margin-left: -30px;
    z-index: 1;
}

.easter-detail__text--state h2 {
    place-self: center;
    text-align: center;
    font-size: 26px;
}

/* ============================================================
   RESPONSIVE – Detailseite
   ============================================================ */

@media screen and (max-width: 1023px) {
    .easter-detail__rabbit img {
        right: 50px;
    }
}

@media screen and (max-width: 767px) {
    .easter-detail__riem-logo {
        margin: auto;
    }

    .easter-detail__header-wrapper {
        grid-template-columns: 1fr;
    }

    .easter-detail__header {
        grid-column: 1;
    }

    .easter-detail__grass {
        grid-row: 3;
        position: absolute;
    }

    .easter-detail__participation-types {
        flex-direction: column;
    }

    .easter-detail__participation-content {
        min-height: 280px;
    }

    .easter-detail__participation-content h3 {
        font-size: 20px;
    }

    .easter-detail__eggs img {
        height: 150px;
    }

    .easter-detail__rabbit img {
        display: none;
    }

    .easter-detail__rabbit--footer img {
        position: absolute;
        bottom: -30px;
        height: 150px;
        display: block;
    }

    .easter-detail__participation-footer {
        height: 180px;
    }
}

@media screen and (max-width: 600px) {
    .easter-detail__rabbit--footer img {
        height: 100px;
        right: 60px;
    }

    .easter-detail__participation-footer {
        height: 140px;
    }

    .easter-detail__eggs img {
        height: 100px;
    }

    .easter-detail__eggs {
        left: 30px;
    }
}

@media screen and (max-width: 420px) {
    .easter-detail__header-wrapper {
        padding: 14px;
        grid-template-rows: 1fr 60px;
    }

    .easter-detail__body {
        padding: 0;
        margin: 70px auto;
    }

    .competition-container {
        padding: 16px;
    }

    .easter-detail__riem-logo {
        width: 180px;
    }

    .easter-detail__grass--header img {
        position: absolute;
        bottom: -60px;
    }

    .easter-detail__rabbit--footer img {
        right: 20px;
    }
}