html {
    overflow-x: hidden;
}
body {
    margin: 0;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    overflow-x: hidden;
}
.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
}
.banner {
    width: 100%;
    box-sizing: border-box;
    padding-top: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    background-color: #d2e0a8;
    transition: padding-top 0.3s ease;
}
.banner h2 {
    font-family: Segoe UI,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-bottom: .8em;
    font-size: 2.6em;
    color: #1d6a2f;
}
.banner.compact {
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 10;
}
.banner.compact br {
    display: none;
}
.banner.compact #logo {
    height: 35px;
}

iframe {
    width: 100%;
    max-width: 817px;
    border: none;
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right:auto;
    overflow: hidden;
    flex: 1;
    scrollbar-width: none;
}
iframe::-webkit-scrollbar {
    display: none;
}

.iframe-wrapper {
    overflow-x: clip;
    overflow-y: hidden;
    width: 100%;
    max-width: 817px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.iframe-wrapper iframe {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-top: -160px;
    max-width: none;
}

#evt_description {
    width: 100%;
    box-sizing: border-box;
    background-color: white;
    display: none;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: .9em;
    padding: 10px 40px;
    position: relative;
    z-index: 2;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.banner-back {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    line-height: 1;
}
.banner-back svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.banner.compact .banner-back {
    display: block;
}

.cta-bar {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    background-color: #d2e0a8;
    color: #1d6a2f;
    font-size: 1.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    user-select: none;
    margin-left: auto;
    margin-right: auto;
}
.cta-bar:active {
    opacity: 0.85;
}
.cta-bar .arrow svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

#evt_description.error {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 300px;
    font-size: 1.5em;
    padding: 30px 40px;
}

.error-header {
    font-size:2.5em;
}

#container{
    width: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

#logo {
    height: 70px;
    transition: height 0.3s ease;
}


@media only screen and (max-width: 768px) {
    #container {
        position: relative;
        min-height: 100dvh;
    }
    .banner {
        position: sticky;
        top: 0;
        z-index: 10;
        padding-left: 10px;
        padding-right: 10px;
    }
    .banner h2 {
        font-size: 1.6em;
    }
    #evt_description {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 15px;
        margin-left: 0;
        overflow-y: auto;
    }
    .iframe-wrapper iframe {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }
    #evt_description.error {
        width: 100%;
        min-height: 300px;
        font-size: 1em;
        align-items: center;
        display: flex;
    }
    .error-header {
        font-size: 2em;
    }

} 

@media only screen and (min-width: 769px) {
    #evt_description:before {
        box-shadow: -8px 0 8px -8px #3a1d001a inset;
        content: " ";
        height: 100%;
        left: -8px;
        position: absolute;
        top: 0;
        width: 8px;
    }
    #evt_description:after {
        box-shadow: 8px 0 8px -8px #3a1d001a inset;
        content: " ";
        height: 100%;
        position: absolute;
        top: 0;
        right: -8px;
        width: 8px;
    }
    #evt_description {
        width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-bar {
        width: 800px;
    }
    iframe {
        max-width: 817px;
        width: 817px;
        margin-top: 0;
    }
    .banner {
        min-width: 817px;
    }
    .banner h2 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    body, iframe {
        background-color: #f5f5f5;
    }
}

@media (prefers-color-scheme: light) {
    body, iframe {
        background-color: #f5f5f5;
    }
}
