body {
        margin: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        color: #1200a5;
        background: #ff8661;
        font-family: 'GeneralSans-Variable';
        font-weight: 600;
          height: 100vh;
        height: 100dvh;

    }

body:not([template='home']) header {
        background: #ff8661;
        z-index: 1;
            }

    video, .mask, .slideshow-container {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        object-fit: cover;
        z-index: -1;
        transition: opacity 0.5s;
        position: absolute;
        top: 0;
    }

    .mask {
      left: 0;
      opacity: 0.3;
    }

    img.matri {
        width: 96vw;
        z-index: 5;
        object-fit: contain;
        object-position: top;
        height: unset;
        max-height: 68vh;
        z-index: 5;
        padding: 2vw;
        padding-bottom: 0vh;
        max-width: 1500;
        display: flex;
        margin: auto;
    }

    .aboutpage .bas {
        position: fixed;
        bottom: 2vw;
        right: 2vw;
    }

    body[name='contact'] .bas {
        display: none;  
    }

    body[name='contact'] div.aboutpage {
        padding: 0vw 2vw;
        
    }




    body:not([template='home']) img.matri:hover {
        filter: saturate(0%) brightness(100.0);
    }

    header .menu {
        width: calc(100vw - 4vw);
        display: flex;
        justify-content: space-between;
        padding: 10px 2vw;
        padding-bottom: 25px;
    }

    header a, footer button, footer a {
        text-decoration: none;
        cursor: pointer;
        color: #1200a5;
        font-size: clamp(22px, 2vw, 32px);
        font-family: 'GeneralSans-Variable';
        background: transparent;
        border: none;
        font-weight: 600;

    }

    a:hover {
        color: white;
    }


    div.des {
        position: absolute;
        right: 2.1vw;
        width: 30vw;
        padding: 0;
        top: 18vw;
        font-size: clamp(18.2px, 1.8vw, 100px);
        z-index: 200;
        max-height: 55vh;
        overflow-y: auto;
    }

::-webkit-scrollbar {
  display: none;
}

.collaboratorpage div {
-ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none; 
}

div.aboutpage {
     -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none; 
  flex: 1;
  overflow-y: auto; 
  padding: 0vw 8vw;
      font-size: clamp(18.2px, 1.8vw, 100px);
      position: relative;
}

div.aboutpage.double {
      padding: 0vw 4vw;
    column-count: 2;
    font-size: clamp(15.2px, 1.2vw, 100px);
}

.descri {
      width: calc(100vw - 6vw);
    padding: 3vw;
    text-align: center;
    font-size: clamp(18.2px, 1.8vw, 100px);
    margin: auto;
    margin-bottom: 0;
    background: linear-gradient(0deg, #ff8661 50%, transparent);
}

.descri strong a {
    color: #ff8661 !important;
    font-weight: 600;
    display: block;
    text-decoration: none;
}

.descri strong a:hover {
    color: white !important;
}

body[name='about'] [page='about'], body[template='contributors'] [page='contributors'], body[name='projects'] [page='projects'], body[name='reflections'] [page='reflections'], body[contact='contact'] [page='contact'], body[parent='projects'] [page='projects'], body[parent='reflections'] [page='reflections']  {
    color: white;
}



.mySlides {display: none;}
.mySlides img {
    vertical-align: middle;
width: 100vw;
        height: 100vh;
        height: 100dvh;
object-fit: cover;
opacity: 1;
}

.mySlides figure {
    margin: 0;
    background: white;
}

.content {
    height: calc(100vh - var(--menu) );
    height: calc(100dvh - var(--menu) );
}
[template='home'] .content {
        display: flex;
            }

[template='about'] .content, [template='contributors'] .content  {
    display: flex;
    flex-direction: column;
}

.content a {
    color: #1200a5;
}

.content a:hover {
    color: white;
}

.mobile {
    display: none;
}

.collaboratorpage {
    display: inline-flex;
    padding: 0px 2vw;
    column-gap: 1.5vw;
    width: calc(100vw - 4vw);
    height: 100%;
    flex: 1;
    overflow-y: hidden;
    font-size: 16px;
    position: relative;
}

.fiche a {
    color: #1200a5 !important;
}

.collaboratorpage .noms {
    overflow-y: auto;
    height: 100%;
}

.collaboratorpage .noms button {
    display: block;
}


.collaboratorpage .noms button:hover, .collaboratorpage .noms button.open {
    color: white;
}

.collaboratorpage .images button:hover figure, .collaboratorpage .images button.open figure {
    background: #1200a5;
}

.collaboratorpage .images button {
    flex-basis: 20%
}

.collaboratorpage .bios {
    width: 350px;
}

.collaboratorpage .images button:hover img, .collaboratorpage .images button.open img {
    opacity: 0.6;
    mix-blend-mode: plus-lighter;
}

.collaboratorpage .images {
    flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
    align-content: start;
    align-items: start;
    flex-wrap: wrap;
}

.collaboratorpage .images img {
    width: 100%;
}

.collaboratorpage figure {
    margin: 0;
}

.collaboratorpage button {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    color: #1200a5;
        font-family: 'GeneralSans-Variable';
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
}

.collaboratorpage .fiche {
    height: 100%;
    overflow-y: auto;
    display: none;
}

.collaboratorpage .fiche.open {
    display: block;
}

.collaboratorpage .mobile {
    display: none;
}

.collaboratorpage .bios img {
    width: 50%;
}

.collaboratorpage .bios .close {
    position: absolute;
    z-index: 2;
    right: 3vw;
    font-size: 40px;
    top: 2px;
}

.collaboratorpage .bios:not(.open) .close {
    display: none;
}

footer {
    display: none;
}


    @media screen and (max-width: 1300px) {
        div.des {
            width: calc(100vw - 10vw);
            padding: 0 5vw;
            font-size: 32px;
            position: unset;
            max-height: 49vh;

        }

       .collaboratorpage .images button {
    flex-basis: 33.3333%
}

        @media screen and (max-width: 1130px) {

            header .menu {
                    flex-direction: row;
                width: calc(100vw - 10vw);
                padding: 3vw 5vw;
                padding-top: 2vw;
                text-align: right;
                flex-wrap: wrap;
    column-gap: 40px;
            }

            .collaboratorpage .images button {
    flex-basis: 50%
}


            .collaboratorpage .images button {
    
    max-width: 500px;
   
}

            @media screen and (max-width: 925px) {

              .aboutpage .bas {
                bottom: calc(2vw + var(--footer));
              }

              div.aboutpage.double {
    column-count: 1;
    font-size: clamp(18.2px, 1.2vw, 100px);
}

.collaboratorpage .bios .close {
    top: -5px;
}

.collaboratorpage .images {
    display: none;
}



.collaboratorpage .mobile {
    display: block;
}

.collaboratorpage .bios figure {
    display: flex;
    justify-content: center;
}

.collaboratorpage .bios {
    display: none;
}

.collaboratorpage .bios.open {
    display: block;
}

.collaboratorpage .bios h3 {
    text-align: center;
}

.collaboratorpage .bios {
    position: absolute;
    width: calc(100vw - 6vw);
    padding: 3vw;
    top: 0;
    left: 0;
    background: #ff8661;
    height: 100%;
    overflow: hidden;
}

.content {
    height: calc(100vh - var(--footer) - var(--menu) );
    height: calc(100dvh - var(--footer) - var(--menu) );
}

footer {
    display: block;
        position: absolute;
    bottom: 0;
    right: 0px;
    width: 100vw;
    background: #ff8661;
}
           
                footer .menu, header .menu {
                    flex-direction: column;
                    padding-bottom: 0;
                    display: none;
                    padding: 2vh;
                    align-items: flex-end;

                }

                footer .menu.open {
                    display: flex;
                }

.mobile {
    display: block;
}

h1.mobile {
    padding: 0vw 2vw;
    font-size: 21px;
    font-weight: 600;
    text-align: right;
    text-transform: lowercase;
}

footer .menu.open + button span:first-child, footer .menu:not(.open) + button span:last-child {
display: none;
}

.descri  {
        padding-top: 7vw;
    background: linear-gradient(0deg, #ff8661 75%, transparent);
}


                div.des,
                header a, footer .menu a, footer button {
                    font-size: clamp(22px, 3.3vh, 50px);
                }

                footer .menu a.contakt {
                    font-size: 15px;
                }

                

                footer button {
                    float: right;
                    padding: clamp(5px, 2vw, 20px);
                    padding-top: clamp(2px, 1.2vw, 15px);
                }
            }

        }
    }