@import "list.css";
@import "aktivpass-img-teaser.css";
@import "aktivpass-info-block.css";
@import "thankyou.css";
@import "editmode.css";

@font-face {
    font-family: 'AlumniSans';
    src: url('/static/fonts/AlumniSans-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'AlumniSans-italic';
    src: url('/static/fonts/AlumniSans-Italic-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

.js-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}

.js-reveal[data-reveal-direction="left"] {
    transform: translateX(-50px);
}

.js-reveal[data-reveal-direction="right"] {
    transform: translateX(50px);
}

.js-reveal[data-reveal-direction="up"] {
    transform: translateY(50px);
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-fancy-yellow {
    font-family: 'AlumniSans-italic', serif;
    font-weight: 600;
    font-size: 90px;
    stroke: rgb(244, 251, 8);
    stroke-width: 15;
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: rgba(11, 48, 135, 1);
    paint-order: stroke fill;
    transform: rotate(-5deg);
    transform-origin: center;
}

.text-fancy-yellow-outline {
    font-family: 'AlumniSans-italic', serif;
    font-weight: 600;
    font-size: 90px;
    stroke: white;
    stroke-width: 60;
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: white;
    paint-order: stroke fill;
    transform: rotate(-5deg);
    transform-origin: center;
}

.text-fancy-red {
    paint-order: stroke fill;
    font-family: 'AlumniSans-italic', serif;
    font-weight: 900;
    font-size: 200px;
    stroke: white;
    stroke-width: 45;
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: rgba(252, 66, 1, 1);
    transform: rotate(-5deg);
    transform-origin: center;
}

.no-stroke {
    stroke: none;
}


h1 {
    font-family: 'AlumniSans', serif;
    text-transform: none;
}

h2 {
    font-family: 'AlumniSans', serif;
    font-weight: 600;
    font-size: 3rem !important;
    color: rgba(11, 48, 135, 1);
    line-height: 1;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'AlumniSans', serif;
    font-weight: 300;
    font-size: 2.5rem !important;
    color: rgba(11, 48, 135, 1);
    margin-bottom: 0.5rem;
    line-height: 1;
}

p {
    font-family: 'AlumniSans', serif;
    font-weight: 400;
    font-size: x-large;
    line-height: 130%;
    max-width: 100%;
    color: rgba(11, 48, 135, 1);
    margin-bottom: 0;
}

.logo img {
    margin: 2em 2em 1rem;
}

.header-container {
    position: relative;
    width: 100vw;
    height: 70vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
}

.hero-mask-top{
    position:absolute;
    top: 0;
    right: 0;

    width:50vw;
    height:15vw;

    background:white;

    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%
    );

    z-index:2;
}

.hero-mask-bottom{
    position: absolute;
    left: 0;
    top: 0;

    width: 22vw;
    height: 70vh;

    background: white;

    clip-path: polygon(
        0 0,
        100% 0,
        10% 100%,
        0 100%
    );

    z-index: 2;
}


.content {
    height: 100%;
    position: relative;
    z-index: 3;
}

.content-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.content-col {
    display: flex;
    flex-direction: column;
    width: fit-content;
    grid-column: 1;
    grid-row: 1;
}

.content-col-right {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 100%;
    margin-top: 10vh;
    z-index: 5;
}

.heading-content {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.murmeltier {
    grid-column: 1;
    grid-row: 2;
    z-index: 3;
    max-height: 70%;
    min-height: 0;
    object-fit: contain;
    object-position: bottom left;
    margin-left: 2em;
    align-self: end;
    display: block;
}


.content-block-container {
    display: flex;
    flex-direction: column;
    gap: 12rem;
    margin-top: 6rem;
    margin-bottom: 12rem;
}


.form-container {
    font-family: 'AlumniSans', serif;
    position: relative;
    padding: 6em 0;
    color: rgba(11, 48, 135, 1);
    z-index: 5;
    background-color: rgba(11, 48, 135, 0.1);
}

.form-container input,
.form-container select {
    border: 1px solid rgba(11, 48, 135, 1);
    padding: 0.5rem 1em ;
    border-radius: 10px;
}

.secret-event-button-primary {
    font-family: 'AlumniSans-italic', serif !important;
    background-color: rgba(252, 66, 1, 1);
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 0.5em 2em !important;
    border: none;
    border-radius: 10px;
}

/* für wysiwyg block */
.secret-event-button-primary:hover {
    text-decoration: underline;
}
/* für wysiwyg block */
.secret-event-button-secondary {
    font-family: 'AlumniSans-italic', serif !important;
    background-color: white;
    color: rgba(11, 48, 135, 1) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 0.5em 2em !important;
    border: 1px solid rgba(11, 48, 135, 1);
    border-radius: 10px;
}
/* für wysiwyg block */
.buttons-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
}

form li {
    padding: 1em;
    background-color: rgba(252, 66, 1, 1);
    margin-bottom: 2em;
    color: white;
}

form ul {
    list-style-type: none;
    padding: 0;
}

form .split-row {
    display: flex;
    gap: 1.5rem;
}

form .split-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;

    form .split-row-grid > input {
        grid-column: 1;
    }

    form .split-row-grid > div {
        grid-column: 1;
    }
}

form input,
form select{
    width: 100%;
}

form select {
    height: 51px;
}

form select:first-child {
    color: rgb(118, 118, 118);
}

.data-policy {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.data-policy input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    cursor: pointer;
    accent-color: rgba(11, 48, 135, 1);
}

.form-info-text {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    font-size: var(--font-default) !important;
    hyphens: auto;

    span {
        width: 20px;
    }
}

@media (max-width: 992px) {

    .content-grid {
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

    .content-col {
        width: 100%;
    }

    .content-col-right {
        width: 100%;
        margin-top: 0;
    }

    .form-container {
        padding-top: 4em;
    }

    .description-block {
        align-self: end;
    }

    .murmeltier {
        width: 100%;
        max-height: 50%;
        align-self: auto;
    }

    .hero-mask-top{
        display: none;
    }
}

@media (max-width: 769px) {
    .form-info-text {
        font-size: 1.125rem !important;
    }
    
    form .split-row-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    form .split-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .content-block-container {
        gap: 6rem;
        margin-top: 2rem;
        margin-bottom: 6rem;
    }

    .logo img {
        margin: 1em 1em 0;
    }

    p {
        font-size: x-large;
    }

    .text-white-small {
        font-size: large;
    }

    .arrow {
        display: none;
    }

    .secret-event-button-primary {
        font-size: large;
    }

    .secret-event-button-secondary {
        font-size: large;
    }

    .hero-mask-bottom{
        width: 40vw;
    }

    h2 {
        font-size: 2.5rem !important;
    }

    h3 {
        font-size: 2rem !important;
    }

    p {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 400px) {

    .header-container {
        height: 60vh;
    }

    .hero-mask-bottom {
        height: 60vh;
    }
}
