:root {
    --logoeffect: 1.5px 1.5px #b6ebfb, -1.5px -1.5px #ffb3b3;
    --transparentwhite: #ffffffaa;
    --default-font: Manrope;
    --title-picture: url('../pics/ebenso/ebenso_quer.jpg');
    --pauscha-picture: url('../pics/pauscha/skizze2.jpg');
    /* Farbcodes aus der CI */
    --ci-01: #9b96e8;
    --ci-02: #1e324d;
    --ci-03: #929491;
    --ci-04: #6a8bce;
    --ci-05: #76a0b8;
    --ci-06: #62615f;
    --ci-sek-01: #cc98e6;
    --ci-sek-02: #cd6b98;
    --ci-sek-03: #cd6bbc;
    --ci-sek-04: #cda96b;
    --ci-sek-05: #e69c98;
    --ci-sek-06: #cd6b6b;
    --ci-sek-07: #ffb683;
    --ci-sek-08: #4b1f47;
    --size-1: 7.6vw;
    --size-2: 5.1vw;
    --size-3: 4.0vw;
    --size-4: 3.1vw;
    --size-4_5: 2.5vw;
    --size-5: 2.0vw;
    --size-5_5: 1.5vw;
    --size-6: 1.0vw;
}

/* Media query for small screens (adjust the max-width and sizes as needed) */
@media (max-width: 992px) {
  :root {
    --size-1: 14vw;
    --size-2: 10vw;
    --size-3: 7.5vw;
    --size-4: 5.6vw;
    --size-4_5: 5.1vw;
    --size-5: 4.2vw;
    --size-5_5: 3.2vw;
    --size-6: 2.5vw;
  }
}
  


@media screen and (orientation:portrait) {

}

@media screen and (orientation:landscape) {

}

* {
    box-sizing: border-box;
}

body {  
  margin: 0;
  padding: 0;
  font-family: var(--default-font), sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--default-font), sans-serif;
}
  .mySlides {display: none}

.row {
    padding: 20px;
}

    .row::after {
        content: "";
        clear: both;
        display: table;
    }


/*  @media only screen and (min-width: 1080px) {
    p {
        font-size: 20px;
        font-family: var(--default-font), sans-serif;
    }
    h1 {
        font-size: 40px;
        font-family: var(--default-font), sans-serif;
    }
  }
*/
#title-pic {
    background-image: var(--title-picture);
    background-attachment: fixed;
    background-size: cover;
    background-position: left 45% top 64%;
    background-repeat: no-repeat;
    background-color: var(--ci-05);
    filter: hue-rotate(30deg);
    height: 100vh;
}

#title {
    color: white;
    margin-top: 20px;
    font-size: var(--size-1);
    text-align: center;
    /*text-shadow: var(--logoeffect);*/
}

/*  @media only screen and (min-width: 1080px) {
    
      #title {
        color: white;
        margin-top: 20px;
        font-size: var(--size-2);
        text-align: center;
        text-shadow: 2px 1px #000000;;
        }
  }*/

#wirvideo {
    position: fixed;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -5;
}



#bilder {
    background-color: #ffffff;
}

[class*="-section"] {
    min-height: 100vh;
}

[class*="-section"] h1{
    font-size: var(--size-3);
    padding: 0px 200px;
}


[class*="-section"] h2{
    font-size: var(--size-4_5);
    padding: 0px 200px;
}

    [class*="-section"] p {
        font-size: var(--size-5);
        line-height: var(--size-5);
        padding: 0px 200px;
    }

    [class*="-section"] ul {
        font-size: var(--size-5);
        padding: 0px 200px;
    }

    [class*="-section"] ul li{
        font-size: var(--size-5);
        list-style: inside;
    }

.das-sind-wir-section {
    background-color: var(--ci-01);
    display: flex;
    justify-content: center;
    align-items: center;
}



    .das-sind-wir-section .text {
        color: var(--ci-02);
        font-size: var(--size-4_5);
        line-height: var(--size-4);
    }

/* --------------------------------------------- DER KERN -----------------------------------*/
.der-kern-section {
    background-color: var(--ci-02);
    display: flex;
    justify-content: center;
    flex-direction: column;
}



    .der-kern-section h1 {
        color: var(--ci-sek-07);
    }

    .der-kern-section h1 span {
        font-size: var(--size-4);
    }

    .der-kern-section p {
        color: var(--ci-sek-07);
        text-align: left;
    }



    @media (max-width: 992px) {
        .der-kern-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Align items (text) to the left */
            justify-content: center; /* Vertically center the items (text) */
          }
    
          .der-kern-section h1 {
            padding: 0px 100px;
    
        }
    
        .der-kern-section p {
            padding: 0px 100px;
        }
    }




  .bilder-section {
    text-align: center;
  }





  
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      background-color: #ffffff;
    }

    .gallery-item {
        position: relative;
        width: 100%;
        height: 400px;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        transition: background-color 0.3s ease, filter 0.3s ease;
    }
    
.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, z-index 0s ease 0.3s, position 0s ease 0.3s;
    transition: background-color 0.3s ease, filter 0.3s ease; 
    filter: grayscale(30%); 
}

.gallery-item:hover h2,
.gallery-item:hover p {
    opacity: 1;
    transform: translateY(0);
    bottom: 4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item h2,
.gallery-item p {
    opacity: 0;
    transform: translateY(-10px);
    width: 100%;
    color: #ffffff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    z-index: 0;
    position: absolute;
    transition: filter 0.3s ease, z-index 0s ease 0s, position 0s ease 0s;
}

.gallery-item .overlay {
    position: absolute;
    z-index: 1;
    padding: 40px;
    padding-top: 250px;
    text-shadow: 1px 1px 2px black;
}










.entstehung-section {
    background-color: var(--ci-sek-08);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .entstehung-section h1 {
        color: var(--ci-01);
    }

    .entstehung-section p {
        color: var(--ci-01);
        text-align: left;
    }


    @media (max-width: 992px) {
        .entstehung-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Align items (text) to the left */
            justify-content: center; /* Vertically center the items (text) */
          }
    
          .entstehung-section h1 {
            padding: 0px 100px;
    
        }
    
        .entstehung-section p {
            padding: 0px 100px;
        }
    }


    .canvas-container {
        position: relative;
        width: 100vw;
        height: 25vw;
        display: block;
    }

    #canvas{
        position: absolute;
        width: 100vw;
        height: 25vw;
    }
    
    .canvas-text-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 25vw;
        justify-content: center;
        align-items: center;
        text-align: center;
        z-index: 1; /* Ensure the div is displayed on top of the canvas */
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* Four columns */
        gap: 20px; /* Adjust the gap as needed */
        font-size: var(--size-5);
        color: var(--ci-02);
        text-shadow: 4px 1px 2px rgba(255, 255, 255, 0.5); 
        padding: 40px;
        font-family: 'Cardo'!important;
    }




@media (max-width: 992px) {

    .canvas-container {
        width: 100vw;
        height: 100vw;
    }

    #canvas{
        width: 100vw;
        height: 100vw;
    }


    .canvas-text-overlay {
        width: 100vw;
        height: 100vw;
        font-size: var(--size-5);
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 592px) {


    .canvas-container {
        width: 100vw;
        height: 300vw;
    }

    #canvas{
        width: 100vw;
        height: 300vw;
    }


    .canvas-text-overlay {
        width: 100vw;
        height: 300vw;
        font-size: var(--size-4);
        grid-template-columns: 1fr;
    }
}



.projekte-smallsection {
    background-color: var(--ci-05);
    text-align: center;
    padding: 50px 0px 50px 0px;
}

    .projekte-smallsection h1 {
        color: var(--ci-02);
        font-size: var(--size-3);
    }

  .divider {
    background-color:var(--ci-02);
    padding: 50px;
    text-align: center;
  }





  #pauscha-pic {
    background-image: var(--pauscha-picture);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #FFFDEF;
    height: 140vh;
    min-height: auto;
    display: block;
}

@media (max-width: 592px) {



#pauscha-pic {
    background-image: var(--pauscha-picture);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #FFFDEF;
    height: 50vh;
    min-height: auto;
    display: block;
}
}



.pauscha-section {
    background-color: var(--ci-02);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .pauscha-section h1 {
        color: var(--ci-sek-07);
        padding: 0px 200px;

    }

    .pauscha-section p {
        padding: 0px 200px;
        color: var(--ci-sek-07);
    }

    @media (max-width: 992px) {
        .pauscha-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Align items (text) to the left */
            justify-content: center; /* Vertically center the items (text) */
            min-height: 140vh;
          }
    
          .pauscha-section h1 {
            padding: 0px 100px;
    
        }
    
        .pauscha-section p {
            padding: 0px 100px;
        }
    }


  .keimzelle-section {
    background-color:rgba(199, 73, 196, 0.32);
    padding: 50px;
    text-align: center;
  }

  .keimzelle-section .title {
    color: white;
    margin-top: 20px;
    font-size: var(--size-2);
    text-align: center;
    display: inline-block;
    text-shadow: rgba(10, 189, 240, 0.298039) 3px 3px 0px, rgba(254, 1, 1, 0.298039) -3px -3px 0px;
  }
  @media (max-width: 992px) {



    .keimzelle-section h1 {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align items (text) to the left */
        justify-content: center; /* Vertically center the items (text) */
        padding: 0px 100px;

    }
}

  @media only screen and (min-width: 1080px) {
  .keimzelle-section .title {
    color: white;
    margin-top: 20px;
    font-size: var(--size-5);
    text-align: center;
    display: inline-block;
    text-shadow: rgba(10, 189, 240, 0.298039) 3px 3px 0px, rgba(254, 1, 1, 0.298039) -3px -3px 0px;
  }
  }
  .keimzelle-section .item {
    color: white;
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
    display: inline-block;
    text-shadow: rgba(10, 189, 240, 0.298039) 3px 3px 0px, rgba(254, 1, 1, 0.298039) -3px -3px 0px;
  }


  .hover-text {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  .hover-text:hover::after {
    content: attr(data-hover-text);
    position: absolute;
    bottom: 100%;
    left: 50%;
    min-width: 400px;
    transform: translateX(-50%);
    padding: 18px;
    background-color: #0f0f0f;
    color: #ffffff;
    border-radius: 20px;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
  }
  
  .hover-text:hover::after {
    opacity: 1;
  }

.keimzelle-section {
    background-color: var(--ci-sek-08);
}

    .keimzelle-section h1 {
        color: var(--ci-01);
    }

    .spenden-section {
        background-color: var(--ci-02);
        color: var(--ci-sek-07);
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    
        .spenden-section h1 {
            margin: 0;
        }
        .spenden-section h2 b {
            font-size: var(--size-7);

        }


        @media (max-width: 992px) {
            .spenden-section {
                display: flex;
                flex-direction: column;
                align-items: flex-start; /* Align items (text) to the left */
                justify-content: center; /* Vertically center the items (text) */
                min-height: 140vh;
              }
        
              .spenden-section h1 {
                padding: 0px 100px;
        
            }
        
            .spenden-section p {
                padding: 0px 100px;
            }
        }


.zuwachs-section {
    background-color: var(--ci-01);
    color: var(--ci-02);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .zuwachs-section h1 {
        margin: 0;
    }

    @media (max-width: 992px) {
        .zuwachs-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Align items (text) to the left */
            justify-content: center; /* Vertically center the items (text) */
            min-height: 140vh;
          }
    
          .zuwachs-section h1 {
            padding: 0px 100px;
    
        }
        .zuwachs-section p {
            padding: 0px 100px;
        }
    }
    

.kulturraeume-section {
    background-color: var(--ci-01);
    color: var(--ci-02);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .kulturraeume-section h1 {
        margin: 0;
    }

    @media (max-width: 992px) {
        .kulturraeume-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Align items (text) to the left */
            justify-content: center; /* Vertically center the items (text) */
            min-height: 140vh;
          }
    
          .kulturraeume-section h1 {
            padding: 0px 100px;
    
        }
        .kulturraeume-section p {
            padding: 0px 100px;
        }
    }

#bubblearea {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;
    margin-top: 50px;
}

.bubble {
    font-weight: bold;
    margin: 10px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    transition: all ease-in-out 0.5s;
    color: #1e324d;

}

    .bubble > p {
        font-size: 15px;
        line-height:15px;
    }

.bubble-detail {
    display: none;
}

.bubble:hover {
    background-color: #ffffff!important;
    cursor: pointer;
}

.bubble:hover .bubble-detail {
    display: block;
}

.bubble:hover .bubble-name {
    display: none;
}

.bubble-modal{
    display: none;
}

.bubble.ci1 {
    background-color: var(--ci-01);
}

.bubble.ci2{
    background-color: var(--ci-02);
}

.bubble.ci3 {
    background-color: var(--ci-03);
}

.bubble.ci4 {
    background-color: var(--ci-04);
}

.bubble.ci5 {
    background-color: var(--ci-05);
}

.bubble.ci6 {
    background-color: var(--ci-06);
}


.bubble.cisek1 {
    background-color: var(--ci-sek-01);
}

.bubble.cisek2{
    background-color: var(--ci-sek-02);
}

.bubble.cisek3 {
    background-color: var(--ci-sek-03);
}

.bubble.cisek4 {
    background-color: var(--ci-sek-04);
}

.bubble.cisek5 {
    background-color: var(--ci-sek-05);
}

.bubble.cisek6 {
    background-color: var(--ci-sek-06);
}

.bubble.cisek7 {
    background-color: var(--ci-sek-07);
}

.bubble.cisek8 {
    background-color: var(--ci-sek-08);
}


.bubble.c100 {
    clip-path: circle(50px at center);
    width: 100px;
    height: 100px;
}

.bubble.c150 {
    clip-path: circle(75px at center);
    width: 150px;
    height: 150px;
}

.bubble.c180 {
    clip-path: circle(90px at center);
    width: 180px;
    height: 180px;
}

.bubble.c190 {
    clip-path: circle(95px at center);
    width: 190px;
    height: 190px;
}

.bubble.c200 {
    clip-path: circle(100px at center);
    width: 200px;
    height: 200px;
}

.bubble.c220 {
    clip-path: circle(110px at center);
    width: 220px;
    height: 220px;
}

#modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    max-width: 90vw;
    max-height: 90vh;
    padding: 30px;
    background-color: var(--ci-02);
    color: var(--ci-sek-07);
    margin: auto;
    text-align: left;
    overflow-y: auto;
    border-radius: 15px;
}

    #modal p {
        margin-bottom: 10px;
        font-size: var(--size-6);
        padding: 0;
    }

    #modal .modal-button {
        height: 50px;
        text-align: right;
        margin-bottom: 20px;
    }

        #modal .modal-button button {
            width: 50px;
            height: 50px;
            line-height: 50px;
            background: none;
            border: none;
            border-radius: 5px;
            color: #ffffff;
            font-size: 30px;
            transition: all ease-in-out 0.5s;
        }

            #modal .modal-button button:hover {
                background-color: #ffffff88;
            }

            #modal-header {
                float: left;
            }