/* Global Magic*/
* {
    box-sizing: border-box;
    font-family: Open Sans, Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    height: 100%;
}

body {
    position: relative;
    color: var(--primaryFont);
    background-color: var(--primaryBackground);
    margin: 0;
}

/* Buttons */
.primaryButton {
    display: block;
    width: 100%;
    padding: 9px 11px;
    margin: 5px auto;
    background-color: var(--primaryButton);
    border: 5px solid var(--primaryButton);
    color: var(--primaryButtonFont);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: 250ms ease-in-out;
    max-width: 400px;
}

.primaryButton:hover {
    background-color: var(--primaryButtonHover);
    border: 5px solid var(--primaryButton);
    color: var(--primaryButton);
    padding: 9px 11px;
}

.disabled{
    background-color: grey!important;
    color: white!important;
    cursor: not-allowed!important;
}
/* Logo */
.logo {
    max-width: 30%;
    min-width: 250px;
    position: relative;
}

.logo-svg .first-word {
    fill: var(--logo-color-one);
}

.logo-svg .second-word {
    fill: var(--logo-color-two);
}
.secondLogo{
    max-width: 80%;
    position: absolute;
    top: -25px;
}
/* Navbar */
header {
    background-color: var(--accentBackground);
    height: 80px;
}

nav {
    height: 80px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: right;
    align-items: center;
}

nav a {
    color: var(--primaryTextColor);
    text-decoration: none;
    text-align: center;
    padding: 0px 10px;
    font-family: Gotham Rounded, Arial, sans-serif;
    margin: 0px 3px;
}

nav a:hover {
    border-bottom: 3px solid var(--accentColor);
}

.navbarSection {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
        padding: 0px 10px;
    }

/* Elements */
.titleSection {
    background-color: var(--accentBackground);
    color: var(--primaryTextColor);
    padding: 80px 10vw;
    width: 100%;
    min-height: 50vh;
}

.titleSection h1.title {
    font-size: 5em;
    float: left;
    width: 100%;
}

.titleSection h2.subtitle {
    font-size: 2em;
    font-weight: normal;
}

.titleSection .titleImage {
    margin: 0 0 -17vh 0;
    display: flex;
    width: 100%;
    flex-flow: row-reverse;
}

.section {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.section.secondSection {
    margin-top: 85px;
}

.section h1.title {
    color: var(--accentColor);
    font-size: 2.5em;
    text-align: center;
}

.darkSection {
    background-color: var(--accentBackground);
}
.calendarSection, .statutenSection{
    background-color: var(--accentBackground);
    max-width: unset;
    margin: 50px auto;
    padding: 50px 0px;
}
/* Main Page */
.homepageSection {
    background-color: var(--accentBackground);
    color: var(--primaryTextColor);
    padding: 115px 10vw;
    width: 100%;
    max-width: 100%;
    /*background-image: url("img/logo_gross.png");*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.homepageSection img {
    position: relative;
}

.linkRowContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.linkRow {
    width: 100%;
    height: 200px;
    display: flex;
}

.linkRow .info {
    height: 100%;
    width: 60%;
}

.linkRow .image {
    height: 100%;
    width: 20%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.linkRowContainer .linkRow .info .title {
    font-weight: bold;
    font-size: 1.5em;
}

.linkRowContainer .spacer {
    height: 100%;
    width: 20%;
}

.leftRow {
    animation-duration: 3s;
    animation-name: slideinLeft;
}

.leftRow .info{
    text-align: right;
}
.leftRow .primaryButton{
    float: right;
}
.rightRow {
    animation-duration: 3s;
    animation-name: slideinRight;
    flex-direction: row-reverse;
}

.rightRow .info{
    text-align: left;
}
.rightRow .primaryButton{
    float: left;
}
/* Animations */
@keyframes slideinLeft {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 0%;
    }
}

@keyframes slideinRight {
    from {
        margin-left: 100%;
    }

    to {
        margin-right: 0%;
    }
}
/* Verein */
.valuesList {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
    margin-bottom: 50px;
}

.valuesList .value {
    text-align: center;
}

.membersList {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.membersList .member {
    text-align: center;
}

.membersList .member img {
    max-width: 250px;
    max-height: 250px;
}

/* Veranstaltungen */
.eventsList {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.eventsList .event {
    text-align: center;
    min-width: 180px;
}

.eventsList .event h2{
    color: var(--logo-color-one);
    font-size: 14px;
    font-weight: bold;
}
/* Bilder */
.galleryList .slick-prev::before,
.galleryList .slick-next::before {
    color: var(--accentColor);
    font-size: 40px;
}
.galleryList .slick-prev {
    left: -40px;
  }
.galleryList.slick-dotted.slick-slider {
    margin: 75px 20px 70px 20px;
}
.galleryList .slick-dots{
    margin: 20px 0px -20px 0px;
}
.galleryList .gallery {
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    transition: 1s ease;
}
.galleryList .gallery:hover {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    transition: 1s ease;
}
.galleryList .gallery .titleImage{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 20vh;
}

.galleryList .gallery h3 {
    color: var(--primaryTextColor);
    font-weight: bold;
    font-size: 20px;
    word-wrap: break-word;
}

.galleryList .gallery .imageListContainer {
    display: none;
}

.galleryList .gallery .imageListContainer .imageList {
    display: flex;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 50vh 50vw;
    position: fixed;
    top: 0;
    left: 0;
    transition: width .35s ease-in-out;
}

.galleryList .gallery .imageListContainer .imageList img {
    max-width: 100px;
    max-height: 100px;
}

.viewer-footer .viewer-toolbar ul li {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

/* Kontakt */
.contactBox, .dataSecurity {
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    padding: 10px;
    margin: 20px auto 0 auto;
    text-align: center;
}
/* Statuten */
.statuten h2{
    font-size: 17px;
}
.statuten h3{
    font-size: 15px;
    margin-bottom: 0px;
}
.statuten p{
    margin: 0px;
}
.textContainer {
    max-width: 1300px;
    padding: 0px 20px;
    margin: 0 auto;
}
.statutenSection .buttonContainer{
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 11px;
}
.statutenSection .buttonContainer .primaryButton{
    margin: 0;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: left;
    gap: 20px;
    width: 100%;
}

form .group label {
    display: inline-block;
    width: 100%;
    color: var(--accentColor);
    font-weight: bold;
}

form .group input {
    min-width: 400px;
}

form .group textarea {
    width: 100%;
    min-height: 150px;
}

input,
textarea {
    color: var(--inputFont);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.textContainer h1 {
    font-size: 2em;
}

/* Admin Login Page*/
.loginForm .group {
    max-width: 400px;
}

/* Testing and Building */
/* Searching disabled */
.link-icons .search {
    display: none;
}
/* Calendar */
#calendar #calTitle button{
    background-color: var(--accentColor);
}
#calendar #calTbody .a-date.focused, #calendar #calTbody .a-date:active{
    background-color: var(--accentColor);
}
#calTFooter{
    height: 20px;
}
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.popupContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
}

.donateContent{
    padding: 10px;
    border-radius: 10px;
}
.donateInfo p{
    margin: 0;
    padding: 0;
}
#calendar {
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 1050px) {
    .popupContent {
        width: 100%;
    }
}
/* Footer */
footer {
    padding: 0px 10px 15px 10px;
    font-size: 100%;
    background-color: var(--footerBackground);
    color: var(--footerFont);
    position: absolute;
    width: 100%;
    margin-top: 20px;
  }
  footer a{
    color: var(--footerFont);
    text-decoration: none;
  }
  footer .content-wrapper {
    width: 90%;
    max-width: 800px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
  }
  footer .content-wrapper > div {
    width: 33%;
  }
  footer .content-wrapper div div {
    padding: 5px 0px 0px 0px;
  }
  footer .content-wrapper i {
    min-width: 20px;
    text-align: center;
  }
  .pageInfo {
    text-align: right;
  }
  footer .paymentInfo .list{
    display: flex;
    gap: 5px;
  }
  footer .paymentInfo .list img{
    max-width: 70px;
  }
  .hr{
    width: 90%;
    max-width: 800px;
    height: 3px;
    margin: 0px auto;
    background-color: var(--primaryButton);
    border-radius: 50%;
  }
  
/* Mobile */
.responsive-toggle {
    display: none;
}

header i {
    font-size: 2em;
    color: var(--primaryTextColor);
}
/* Popup */
.popupNewsBackground{
    width: 100vw;
    height: 100vh;
    position: absolute;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
}
.popupNewsContainer{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popupNews{
    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 30px);
    margin: 15px;
    background-color: white;
    width: fit-content;
}
.popupNewsContainer .closeBtn {
    font-size: 50px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    position: fixed;
    top: 50px;
    right: 50px;
}
.popupNewsContainer img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    padding: 50px;
}
body.no-scroll{
  overflow: hidden;
}
@media screen and (max-width: 1050px) {
    footer .content-wrapper {
        flex-direction: column-reverse;
        width: 100%;
        padding: 0 10px;
        text-align: center;
    }
    footer .content-wrapper > div{
        width: 100%;
    }
    footer .pageInfo{
        text-align: center;
    }
    footer h3{
        margin-bottom: 0px;
    }
    .responsive-toggle {
        display: block;
    }
    header {
        justify-content: space-between;
    }

    .regularEventsSection{
        margin-top: 0px!important;
    }
    .calendarSection, .statutenSection{
        padding: 50px 0px!important;
    }

    header .mobileMenu nav {
        display: flex;
        width: 100%;
        flex-direction: column;
        height: calc(100vh - 50px);
    }

    header .mobileMenu {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    header .navbarSection.mobileMenu {
        padding: 0px;
        background: linear-gradient(138deg,rgba(217, 131, 131, 1) 28%, rgba(255, 255, 255, 1) 100%);
    }
    /* Mobile Nav Button is on the right, to move it to the left, delete the following two flex-direction: row-reverse;*/
    header .mobileMenu .topBar {
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: space-between;
        padding: 10px;
        flex-direction: row-reverse;
        align-items: center;
    }
    .navbarSection{
        flex-direction: row-reverse;
    }

    header nav {
        display: none;
    }

    header .mobileMenu nav a {
        display: flex;
        border-bottom: 1px solid black;
        width: 100%;
        height: 20%;
        font-size: 5vw;
        align-items: center;
        justify-content: center;
    }

    header .link-icons {
        display: inline-flex;
        width: 100px;
    }

    header .navbarSection {
        padding: 10px;
    }

    .linkRowContainer .spacer {
        display: none;
    }

    .linkRow .image {
        width: 40%;
    }
    .titleSection .titleImage {
        display: block;
        max-width: 500px;
        margin: 0px;
    }

    .titleSection .titleImage img {
        width: 100%;
    }

    .titleSection h2.subtitle {
        margin: 0;
    }

    .titleSection h1.title {
        font-size: 10vw;
    }

    .homepageSection,
    .titleSection,
    .section {
        padding: 80px 10px 0px 10px;
    }

    .membersList,
    .valuesList,
    .eventsList {
        flex-wrap: wrap;
    }

    input,
    textarea,
    .contactForm .group input {
        width: 100%;
        min-width: inherit;
    }

    
    .galleryList.slick-dotted.slick-slider{
        display: flex;
        flex-wrap: nowrap;
        margin: 0;
        align-items: center;
    }
    main .galleryList .slick-arrow{
        width: 15%;
        position: inherit;
        right: inherit;
        left: inherit;
    }
    main .galleryList .slick-list{
        width: 70%;
    }

    .statutenSection .buttonContainer{
        flex-wrap: wrap;
    }
}