h1 {
    font-size: 2.333rem;
    font-weight: 600;
}
h2 {
    font-size: 12vw;
    margin-top: 2.5rem;
    margin-bottom: 3.5rem;
    width: 100%;
    font-weight: 700;
}
.section-inner {
    width: 100%;
}
.overlay h2 {
    font-size: 1.778rem;
    margin-top: 0;
    margin-bottom: 1rem;
    width: calc(100% - 50px);
}
#newsletter-overlay h2 {
    width: 100%;
}
.overlay.open {
    left: 0;
}
.type-11 .circles {
    height: 500vh;
}
.type-11.without-subscription .circles {
    height: 400vh;
}
.without-subscription #end-section,
.without-subscription #location-section .go-down {
    display: none;
}
#top-section {
    padding-left: 0;
    padding-right: 0;
}
.top-header {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 24px;
    padding-right: 26px;
    z-index: 7;
}
.main-navi-checkbox:checked ~ #top-section #mainnavigation-overlay,
.main-navi-checkbox:checked ~ #top-section #mainnavigation-overlay .overlay-header,
.main-navi-checkbox:checked ~ #top-section #mainnavigation-overlay .overlay-footer{
    left: 0;
}
#mainnavigation-overlay {
    display: flex;
    align-items: center;
}
#mainnavigation-overlay .overlay-inner {
    height: auto;
}
.header-image-holder {
    position: relative;
    width: 100%;
    height: 50%;
    background: no-repeat center center transparent;
    background-size: cover;
    z-index: 6;
}
.profil-image-holder {
    position: absolute;
    bottom: -105px;
    left: calc(50% - 105px);
    height: 210px;
    width: 210px;
    background: no-repeat center center transparent;
    background-size: cover;
    z-index: 7;
    border-radius: 50%;
    filter: drop-shadow(0px 0px 24px rgba(0, 0, 0, 0.4));
}
.without-header-image .profil-image-holder {
    bottom: -140px;
    left: calc(50% - 140px);
    height: 280px;
    width: 280px;
}
.without-profile-image .header-image-holder {
    height: 75%;
}
.without-header-image.without-profile-image .header-image-holder {
    display: none;
}
.main-header {
    height: 50%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.without-header-image .main-header h1 {
    margin-top: 25%;
}
.without-profile-image .main-header {
    height: 25%;
}
#top-section h1 {
    margin-top: 6rem;
    margin-bottom: 6px;
    width: 95%;
}
#top-section.without-header-image h1 {
    margin-top: 8rem;
}
#top-section.without-profile-image h1 {
    margin-top: 0;
}
#top-section.without-header-image.without-profile-image h1 {
    margin-top: 2rem;
}
.userpage #top-section .go-down {
    bottom: 38px;
    text-align: center;
    color: var(--white);
    background-color: transparent;
}
section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 32px 100px 32px;
}
#main-section p {
    align-self: flex-start;
}
.eventtype-icon {
    height: 76px;
}
.startdate,
.starttime,
.overlay .upgrade-title {
    font-size: 2.22rem;
}
.overlay .upgrade-title {
    font-weight: 600;
}
.year {
    vertical-align: top;
    font-size: 1.5rem;
}
.locationname {
    font-size: 1.78rem;
}
#googlemap {
    height: 180px;
    width: 100%;
    border-radius: 5px;
}
.own-event {
    font-size: 0.9rem;
    line-height: 1.56;
    position: absolute;
    bottom: 75px;
    left: 23px;
    width: calc(100% - 46px);
    text-align: center;
    z-index: 4;
}
@media (max-width: 400px) {
    .own-event {
        position: static;
        width: 100%;
        margin-top: 3rem;
    }
    #end-section {
        padding-bottom: 50px;
    }
}
.dark-button.yes-button {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    background-color: #2C2C2C;
    line-height: 1.5;
    padding: 14px 14px 20px;
}
.dark-button.no-button {
    font-size: 0.9rem;
    color: black;
    background: white;
    margin-bottom: 0.8rem;
}
.signform {
    overflow: auto;
}
.overlay-inner .content-col {
    width: 100%;
}
.overlay-logo .logo-invitu {
    margin-top: 0.3rem;
    margin-bottom: 1.5rem;
}
.overlay-inner .content-col textarea {
    border: 1px solid var(--black);
    margin-bottom: 32px;
    color: var(--black);
    height: 120px;
}
.btn.btn-primary {
    padding: 0.5rem;
    width: 100%;
}
.btn.btn-primary::after {
    content: none;
}
.btn-dark,
.btn-dark.focus,
.btn-dark:focus {
    color: #fff;
    background-color: #1B1B1B;
    border-color: #1B1B1B;
    box-shadow: none;
    font-size: 12px;
    padding: 4px 4px 5px 4px;
    margin-left: 10px;
}
.edit-buttons {
    align-self: end;
}
.edit-navigation-bar {
    position: fixed;
    background-color: var(--black);
    padding-bottom: 20px;
    width: 100vw;
}
.edit-navigation-bar .main-navi-label {
    width: auto;
    background: var(--pink);
    border-radius: 5px;
    font-size: 12px;
    padding: 3px 10px 7px;
    margin-top: 22px;
    margin-bottom: 0;
}
.edit-navigation-bar .dark-button {
    margin: 0.8rem 0;
    width: 100%;
}
.edit-navigation-bar #mainnavigation-overlay {
    justify-content: center;
}
.edit-navigation-bar #mainnavigation-overlay .overlay-inner {
    width: 406px;
    align-items: center;
}

@media screen and (min-width: 767px) {
    h2 {
        font-size: 4.44rem;
    }
    .main-navi-checkbox:checked ~ #top-section #mainnavigation-overlay .overlay-header {
        left: 3.5%;
    }
    #mainnavigation-overlay .main-navigation > ul {
        flex-direction: column;
        width: 406px;
        margin: 0 auto;
    }
    .edit-navigation-bar #mainnavigation-overlay .overlay-inner {
        width: 406px;
    }
    .main-header {
        height: calc(50% - 50px);
    }
    .header-image-holder {
        height: calc(50% + 50px);
    }
    #main-section h2 {
        text-align: left;
        margin-top: 2vh !important;
        margin-bottom: 2rem;
        line-height: 1;
    }
    .overlay h2 {
        font-size: 1.6rem;
        width: 100%;
    }
    section {
        justify-content: stretch;
        padding: 0 32px 100px 32px;
    }
    .section-inner {
        width: 406px;
        height: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .without-header-image .profil-image-holder {
        bottom: -200px;
        left: calc(50% - 227px);
        height: 454px;
        width: 454px;
    }
    #top-section h1 {
        margin-top: 4rem;
        width: 100%;
    }
    .without-header-image.without-profile-image .main-header {
        height: 90%;
    }
    #top-section.without-profile-image h1 {
        margin-top: 0;
    }
    .without-header-image.without-profile-image h1 {
        font-size: 5.33rem;
    }
    #googlemap {
        height: 280px;
    }
}
@media (min-width: 992px) {
    h1 {
        font-size: 2.667rem;
    }
    .type-11.userpage .top-header {
        left: 0;
        padding-left: 24px;
        width: 100%;
    }
    .main-navi-checkbox:checked ~ #top-section #mainnavigation-overlay {
        left: 66vw;
    }
    #mainnavigation-overlay {
        padding: 120px 0;
        position: fixed;
    }
    #mainnavigation-overlay .main-navigation > ul {
        width: 100%;
    }
    .overlay-logo .logo-invitu {
        margin-top: 0.3rem;
        margin-bottom: 1rem;
    }
    section {
        text-align: left;
    }
    .section-inner {
        width: 600px;
    }
    #googlemap {
        height: 350px;
    }
    .dark-button {
        width: 406px;
        margin: 0.8rem auto;
    }
}
@media (max-height: 600px) {
    .userpage #top-section {
        height: 100vh;
    }
}

