html,
body {
    width: 100%;
    height: auto;
}

body {
    margin: 0 0;
    font-family: 'Century Gothic';
    /* background-image: url("pics/textures/360_F_279748883_QhOUutDq46NZePtfwRFMa9OXMDaHL8Pc.jpg");
    background-size: 10%; */
}

h3 {
    text-align: center;
}

/* ------ MENU-BAR START ------------ */
.menu-bar {
    background-color: black;
    height: 85px;
    width: 100%;
    display: inline-block;
    position: fixed;
    box-shadow: 0px 4px 20px RGBA(0, 0, 0, 0.1);
    z-index: 10;
    top: 0;
}

.menu-bar .club-name {
    display: inline-block;
    color: white;
    width: max-content;
    margin: 0;
    padding: 50px 0px 5px 40px;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
}

.menu-bar .icons img {
    width: 30px;
    height: 30px;
    margin-top: 25px;
    margin-right: 10px;
    float: right;
}

.vibrate {
    animation: wiggle 2s infinite;
}

.logo {
    width: 133.21px;
    height: 300px;
    position: absolute;
    margin-top: 10px;
    margin-left: 3px;
}

.rotate-out {
    animation-name: rotation;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.rotate-in {
    animation-name: rotation;
    animation-duration: 2s;
    animation-direction: reverse;
    animation-fill-mode: forwards;
}

.move-title {
    animation-name: move-text;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.move-down {
    animation-name: move-text;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-direction: reverse;
}

.color-change {
    animation-name: change-menu-bar;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.color-change-back {
    animation-name: change-menu-bar;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-direction: reverse;
}

@keyframes wiggle {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }

    /* 80% {
        transform: rotate(0deg);
        width: 30px;
        height: 30px;
    }

    85% {
        transform: rotate(5deg);
        width: 40px;
        height: 40px;
    }

    95% {
        transform: rotate(-5deg);
        width: 20px;
        height: 20px;
    }

    100% {
        transform: rotate(0deg);
        width: 30px;
        height: 30px;
    } */
}

@keyframes change-menu-bar {
    from {
        background-color: black;
    }

    to {
        background-color: white;
    }
}

@keyframes move-text {
    from {
        padding-top: 50px;
        padding-left: 40px;
        color: white;
    }

    to {
        padding-top: 30px;
        padding-left: 20px;
        color: black;
    }
}

@keyframes rotation {
    from {
        opacity: 1;
        /* transform: rotate(0); */
        margin-top: 10px;
        margin-left: 3px;
    }

    to {
        opacity: 0;
        /* transform: rotate(-90deg); */
        margin-top: -15px;
        margin-left: -15px;
        /* margin-left: 100px; */
    }
}

/* ------ MENU-BAR END ------------ */
/* ------ HEADER Start ------------ */

.header {
    padding-top: 450px;
    background-image: linear-gradient(
            to bottom,
            rgba(0, 99, 160, 0) 0%,
            rgb(0, 0, 0) 75%,
            white 100%
        ),
        url(pics/header31.jpeg);
    /* url(pics/header.jpeg); */
    /* url(pics/gettyimages-1278798082-2048x2048.jpg); */
    background-size: cover;
    background-position: bottom;
    height: 300px;
}

.header p {
    color: white;
    margin: 0% 5% 5% 20%;
    font-size: 4em;
    font-family: 'Edo';
}

/* ------ HEADER END ------------ */

/* ------ INFORMATION TILES START------------ */

.close-information span {
    color: #443f3f;
    font-size: xx-large;
    cursor: pointer;
}

.information-tiles-section {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 300px);
    grid-gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 3em;
    margin-bottom: 1em;
}

.information-tile {
    width: 300px;
    height: auto;
    /* border: 1px solid black; */
    /* border-radius */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    /* background-color: #f9f9f9; */
    box-shadow: 0px 4px 20px RGBA(0, 0, 0, 0.1);
    /* box-shadow */
    /* -webkit-box-shadow: rgba(0, 0, 0, 0.8) 0px 0 10px;
        -moz-box-shadow: rgba(0, 0, 0, 0.8) 0 0 10px;
        box-shadow: rgba(0, 0, 0, 0.8) 0 0 10px; */
}

.information-tile .tile-img {
    background-size: 160%;
    background-position: center;
    height: 350px;
    border-radius: 10px 10px 0px 0px;
}

.about-us .tile-img {
    background-image: url('pics/ueber_uns.jpg');
}

.opening-hours .tile-img {
    /* background-image: url('pics/istockphoto-1303468741-1024x1024.jpg'); */
    background-image: url('pics/Zeiten.jpeg');
    background-size: 100%;
}

.contact .tile-img {
    /* background-image: url('pics/gettyimages-1131027635-2048x2048.jpg'); */
    background-image: url('pics/kontakt.jpeg');
}

.donation .tile-img {
    background-image: url('pics/spende.jpeg');
}

.tile-content {
    padding: 5% 4% 0% 4%;
    display: none;
}

.information-tile h3 {
    text-align: center;
    margin: 0% 0;
    padding: 3% 0;
}

.tiles-closed .tile-img {
    border-radius: 0px 0px 10px 10px;
}

.opened {
    display: none;
    height: 850px;
}

/* .open {
    display: block;
} */
.close {
    animation: shrink-tile 1.5s forwards;
    /* animation: expand-tile 1.5s forwards reverse; */
    display: none;
}

.close .tile-img {
    animation: expand-img 1s forwards;
}

.open {
    /* display: block; */
    animation: expand-tile 1.5s forwards;
}

.open .tile-img {
    animation: shrink-img 1s forwards;
}

@keyframes expand-img {
    0% {
        height: 250px;
    }

    100% {
        height: 350px;
    }
}

@keyframes shrink-tile {
    from {
        width: 500px;
    }

    to {
        width: 300px;
    }
}

@keyframes expand-tile {
    0% {
        width: 300px;
    }

    100% {
        width: 500px;
    }
}

@keyframes shrink-img {
    0% {
        height: 350px;
        background-size: 160%;
    }

    100% {
        height: 250px;
        background-size: 100%;
    }
}

.closed {
    display: grid;
}

.tile-opened {
    width: 500px;
}

.tile-opened.done .information-tile {
    width: 500px;
}

.tile-opened.done .tile-img {
    height: 250px;
    background-size: 100%;
}

/* .tile-opened.done .opening-hours .tile-img {
    background-size: 100%;
} */

.tiles-closed {
    display: grid;
    /* grid-template-rows: repeat(auto-fill, 150px); */
    grid-auto-rows: 180px;
}

.tiles-closed .information-tile {
    width: 300px;
    height: inherit;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 20px RGBA(0, 0, 0, 0.1);
}

.messenger-icon {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.messenger-icon img {
    width: 45px;
}

.messenger-icon img:hover {
    animation: increase 0.1s both;
    transform: scale(1.2);
}

@keyframes increase {
    0% {
        transform: scale(1);
    }
}

@keyframes increase {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.2);
    }
}

#map {
    /* width: 90%; */
    margin: 0 auto;
    text-align: center;
    height: 400px;
}

.street {
    text-align: center;
    margin-top: 5%;
}

/* ----------------- VIDEO SECTION ------------------- */
.video-section {
    display: flex;
    justify-content: center;
    margin-top: 150px;
    width: 100%;
    background-color: #f2f2f2;
}

.video-section video {
    width: 800px;
}

/* ----------------- FORM DOWNLOAD BUTTON ------------------- */

.download-section {
    width: 100%;
    text-align: center;
    margin: 75px 0 150px 0;
}

.download-form {
    background-color: black;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0);
    }

    70% {
        -moz-box-shadow: 0 0 0 5px rgba(0, 0, 0);
        box-shadow: 0 0 0 2.5px rgba(0, 0, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0);
    }
}

/* ----------------- INSTAGRAM SECTION ------------------- */

.dots-content {
    display: flex;
    align-items: flex-end;
    height: 100%;
    margin-bottom: 30px;
}

.gallery-dot {
    margin: 0 auto;
}

.gallery-dot {
    height: 8px;
    width: 8px;
    background-color: #9f9f9fc2;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    /* border: 0.5px solid #ffffff91; */
}

.current-dot {
    background-color: white;
}

.hashtag {
    color: #3898ec;
    font-weight: 600;
}

.instagram-popup {
    z-index: 100;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background-color: #000000db;
}

.instagram-popup > div.instagram-post {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: block;
    text-align: center;
}

.arrows-cramped {
    display: none;
}

.instagram-popup .outer-arrow {
    color: white;
    margin: auto 80px;
    font-size: xx-large;
    cursor: pointer;
    border-radius: 30px;
    background-color: #ffffff5c;
}

.instagram-popup .arrows {
    display: flex;
}

.instagram-popup .arrows:hover .outer-arrow {
    background-color: #ffffffa1;
}

.instagram-popup .outer-arrow.arrow-left {
    padding: 3px 20px 6px 15px;
}

.instagram-popup .outer-arrow.arrow-right {
    padding: 3px 16px 6px 19px;
}

.instagram-popup .inner-arrow.arrow-left {
    padding: 0px 14px 4px 11px;
}

.instagram-popup .inner-arrow.arrow-right {
    padding: 0px 12px 4px;
}

.instagram-popup .inner-arrow:hover {
    background-color: #ffffffd7;
    color: black;
}

.instagram-popup .inner-arrow {
    color: #0000008c;
    margin: auto 20px;
    cursor: pointer;
    background-color: #ffffff6e;
    border-radius: 30px;
    font-size: x-large;
}

.instagram-popup .post {
    display: inline-flex;
    background-color: transparent;
}

.instagram-popup .content {
    background-color: white;
    overflow-y: auto;
    width: 80%;
    height: 700px;
    display: inline-flex;
    justify-content: center;
    border-radius: 15px;
    margin: 0 auto;
}

.instagram-popup .sub-content {
    width: 100%;
    height: 100%;
    background-color: black;
    /* margin: 0 auto; */
}

.instagram-popup .series-content-image {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: space-between;
    align-items: center;
    background-image: url();
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: 50%;
}

.instagram-popup .series-content-video {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
}

.instagram-popup .series-content-video video {
    width: 100%;
}

.instagram-popup img {
    width: 100%;
}

.instagram-popup .caption {
    width: 60%;
    font-size: large;
    margin: auto 0;
    padding: 0 30px;
}

.instagram-section {
    width: 1050px;
    margin: 0 auto;
}

.instagram-section h3 {
    text-align: center;
    margin: 0% 0;
    padding: 0px 10px 5px 10px;
}

.sidebyside {
    height: 100%;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.instagram-preview {
    background-color: white;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-around;
    white-space: nowrap;
    height: 700px;
    overflow: auto;
    margin-top: 20px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f6f6f6;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.post-preview {
    width: 320px;
    height: 320px;
    margin-bottom: 30px;
}

.insta-series-icon {
    background-image: url('icons/squares-couple-overlapped-shapes.svg');
    background-repeat: no-repeat;
    background-size: 30px;
    height: 320px;
    width: 320px;
    /* position: absolute; */
    background-position-x: 95%;
    background-position-y: 2%;
}

.post-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-preview .caption {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------- SPONSORS ------------------- */
.sponsors-section {
    margin-top: 150px;
}

.sponsors {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 750px;
    margin: 0 auto;
}

.sponsor {
    width: 100px;
}

.sponsor img {
    width: 100%;
}

/* ----------------- FOOTER ------------------- */
.footer-section {
    margin-top: 5%;
    width: 100%;
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-around;
}

@media only screen and (max-width: 1600px) {
    .information-tiles-section {
        grid-template-columns: repeat(auto-fill, 300px);
        /* grid-auto-rows: 150px; */
    }
}

@media only screen and (max-width: 1300px) {
    .instagram-popup .caption {
        width: 50%;
    }

    .instagram-popup .content {
        height: 600px;
    }
}

@media only screen and (max-width: 1150px) {
    .instagram-popup .caption {
        width: 50%;
        font-size: small;
    }

    .instagram-popup .content {
        height: 600px;
    }
}

@media only screen and (max-width: 1050px) {
    /* INSTAGRAM POPUP */
    .instagram-popup .content {
        height: 400px;
        width: 650px;
    }

    .instagram-popup .outer-arrow {
        margin: auto 20px;
    }

    /* INSTAGRAM PREVIEW */
    .instagram-section {
        width: 800px;
    }

    .instagram-preview {
        justify-content: center;
        height: 515px;
    }

    .post-preview {
        width: 250px;
        height: 250px;
        margin-bottom: 0px;
    }

    .insta-series-icon {
        width: 250px;
        height: 250px;
    }
}

@media only screen and (max-width: 850px) {
    .video-section video {
        width: 70%;
    }

    .instagram-popup .content {
        height: 600px;
        width: 450px;
    }

    .instagram-popup .caption {
        padding: 20px 0px;
        width: 90%;
    }

    .instagram-popup .content {
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 800px) {
    /* ----------------- HEADER SECTION ------------------- */
    .header p {
        margin: 5% 7% 5% 22%;
        font-size: 3em;
    }

    /* ----------------- TILE INFORMATION SECTION ------------------- */

    .tiles-closed .information-tile {
        width: 300px;
        height: auto;
        margin: 0;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        background-color: #fff;
        box-shadow: 0px 4px 20px RGBA(0, 0, 0, 0.1);
    }

    /* ----------------- SPONSORS ------------------- */
    .sponsors {
        width: 600px;
    }

    /* INSTAGRAM PREVIEW */
    .instagram-section {
        width: 600px;
    }

    .instagram-preview {
        height: 410px;
    }

    .post-preview {
        width: 200px;
        height: 200px;
        margin-bottom: 0px;
    }

    .insta-series-icon {
        width: 200px;
        height: 200px;
    }
}

@media only screen and (max-width: 650px) {
    .video-section video {
        width: 100%;
    }

    .instagram-popup .content {
        height: 600px;
        width: 350px;
    }

    .instagram-popup .outer-arrow {
        margin: auto 5px;
    }

    /* ----------------- HEADER SECTION ------------------- */
    .header p {
        margin: 5% 6% 5% 26%;
        font-size: 3em;
    }

    /* ----------------- SPONSORS ------------------- */
    .sponsors {
        width: 100%;
    }

    /* INSTAGRAM PREVIEW */
    .instagram-section {
        width: 400px;
    }

    .instagram-preview {
        height: 410px;
        grid-template-columns: auto auto;
    }

    .post-preview {
        width: 200px;
        height: 200px;
        margin-bottom: 0px;
    }

    .insta-series-icon {
        width: 200px;
        height: 200px;
    }

    .sponsors-section {
        margin-top: 75px;
    }
}

@media only screen and (max-width: 510px) {
    /* ------ MENU-BAR START ------------ */
    .menu-bar {
        height: 70px;
    }

    .logo {
        width: 104px;
        height: 235px;
    }

    .menu-bar .club-name {
        font-size: 17px;
        padding: 41px 0px 5px 35px;
    }

    @keyframes move-text {
        from {
            padding-top: 41px;
            padding-left: 35px;
            color: white;
        }

        to {
            padding-top: 30px;
            padding-left: 20px;
            color: black;
        }
    }

    /* ----------------- HEADER SECTION ------------------- */
    .header {
        padding-top: 280px;
        height: 350px;
    }

    .header p {
        font-size: 2.3em;
        margin: 30% 10% 5% 15%;
    }

    /* ----------------- DOWNDLOAD FORM SECTION ------------------- */

    .download-section {
        margin: 70px 0;
    }

    .download-form {
        background-color: black;
        color: white;
        padding: 10px;
        border-radius: 5px;
    }

    /* ----------------- INSTAGRAM SECTION ------------------- */

    .instagram-section h3 {
        text-align: center;
        margin: 0% 0;
        padding: 0px 10px 5px 10px;
    }
}

@media only screen and (max-width: 450px) {
    /* INSTAGRAM POPUP */
    .instagram-popup .post {
        flex-direction: column;
    }

    .arrows-cramped {
        display: flex;
        justify-content: space-around;
        margin-top: 20px;
    }

    .outer-arrow {
        display: none;
    }

    .arrows-cramped .outer-arrow {
        display: block;
    }

    /* INSTAGRAM PREVIEW */
    .instagram-section {
        width: 100%;
    }

    /* TILE CONTACT MAP */
    #map {
        height: 300px;
    }
}

@media only screen and (max-width: 440px) {
    .icons:not(:last-of-type) {
        display: none;
    }
}

@media only screen and (max-width: 440px) {
    .logo {
        width: 93.6px;
        height: 211.5px;
        margin-top: 14px;
    }
    .menu-bar .club-name {
        padding: 41px 0px 5px 28px;
    }
}
@media only screen and (max-width: 375px) {
    .menu-bar .icons {
        display: none;
    }

    /* INSTAGRAM-PREVIEW */
    .post-preview {
        width: 175px;
        height: 175px;
        margin-bottom: 0px;
    }

    .insta-series-icon {
        width: 175px;
        height: 175px;
    }
}

@font-face {
    font-family: 'Edo';
    src: url('fonts/Edo/edo.ttf');
}

@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/century-gothic/Century\ Gothic.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'Century Gothic bold';
    src: url('fonts/century-gothic/Century\ Gothic\ Bold.otf')
        format('opentype');
    /* font-weight: bold; */
}

@font-face {
    font-family: 'Century Gothic bold-italic';
    src: url('fonts/century-gothic/Century\ Gothic\ Bold\ Italic.otf')
        format('opentype');
    /* font-weight: bold italic; */
}

@font-face {
    font-family: 'Century Gothic italic';
    src: url('fonts/century-gothic/Century\ Gothic\ Italic.otf')
        format('opentype');
    /* font-weight: normal; */
}
