/* HERO SECTION */

.doclogline {
    max-width: 44rem;
}

.hero-section video {
    height: auto;
}

.hero-section .textlink {
    font-family: Arial, Helvetica, sans-serif;
    display: block;
}


/* SYNOPSIS SECTION */

.synopsis-section img, .synopsis-section video {
    object-fit: cover;
}

.synopsis-section .first img {
    object-position: 50% 0%;
}

.synopsis-section .second img, .synopsis-section .second video {
    object-position: 50% 80%;
}

.synopsiscont {
    --synopgap: 10vw;
}

.synopsiscont div >:last-child {
    margin-bottom: 0;
}



@media only screen and (min-width: 700px) {
    .synopsiscont {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--synopgap);
    }

    .synopsiscont > div {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .synopsiscont .first {
        grid-column: 2;
        grid-row: 1;
    }

    .synopsiscont .second {
        grid-column: 1;
        grid-row: 1;
    }

    .synopsiscont img, .synopsiscont video {
        height: 100%;
        margin-bottom: 0;
    }

    .synopsiscont video {
        margin-bottom: 1rem;
    }

    /* ------ORDERING------ */

    .synopsiscont .first h3 {
        order: 1;
    }
    .synopsiscont .first p:nth-of-type(1) {
        order: 2;
    }
    .synopsiscont .first p:nth-of-type(2) {
        order: 3;
        margin-bottom: var(--synopgap);
    }

    .synopsiscont .first img, .synopsiscont .first video {
        order: 4;
    }

    /* ---------- */

    .synopsiscont .second img, .synopsiscont .first video {
        order: 1;
    }

    .synopsiscont .second h3 {
        order: 2;
    }
    .synopsiscont .second p:nth-of-type(1) {
        order: 3;
    }
    .synopsiscont .second p:nth-of-type(2) {
        order: 4;
    }
    .synopsiscont .second p:nth-of-type(3) {
        order: 5;
        margin-bottom: var(--synopgap);
    }

    /* ------------ */

}

@media only screen and (max-width: 700px) {

    .synopsis-section img {
        aspect-ratio: 1/1;
    }

    .synopsiscont >:last-child {
        margin-bottom: 0;
    }

    .synopsiscont div > * {
        margin-bottom: 1rem;
    }

    .synopsiscont div >:last-child {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 1100px) {
    .synopsiscont {
        --synopgap: 2rem
    }

}

@media only screen and (min-width: 1101px) {
    .synopsiscont .first h3 {
        margin-top: var(--synopgap);
    }

    .synopsiscont .second h3 {
        margin-top: var(--synopgap);
    }
}

/* TEAM SECTION */

.teamsection {
    padding: 0;
    background-color: initial;
}

.teamsection *:not(.title) {
    margin-bottom: 0;
}


.teamcont {
    min-width: auto;
    max-width: 900px;
    margin-inline: auto;
    margin-top: 0.25rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 3px solid transparent;
}

.open {
    margin-left: auto;
}

.upper {
    display: grid;
    grid-template-columns: 1fr 0.8fr 0.2fr;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    padding: 1rem;
}

.name {
    white-space: nowrap;
    margin-left: 1rem;
}

.teamtitle {
    margin-left: auto;
    white-space: nowrap;
    margin-right: 1rem;
    font-weight: 200;
}

.open {
    stroke: white;
    stroke-width: 4px;
    margin-right: 1rem;
    width: 1.5rem;
    aspect-ratio: 1/1;
    opacity: 0;
}

.content {
    background-color: black;
    width: 100%;
    height: 0;

}

.lower {
    display: grid;
    padding: 2rem;
    margin-inline: auto;
    max-width: 100%;
    column-gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
}

.lower img {
    width: 10rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 5px solid #4b4b4b;
    grid-column: 1;
    grid-row: span 2;
}

.lower .socialsteam {
    grid-column: 2;
    grid-row: 2;
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.lower p {
    grid-column: 2;
    grid-row: 1;
}

.teamcont {
    font-size: 1.5rem;
}

.teamcont h2 {
    font-size: 1em;
}

.teamcont p {
    font-family: helvetica;
    white-space: wrap;
    font-size: 1rem;
}

.teamprofpic {
    object-fit: cover;
}

.fulltitle, .fullname, .teamtitle, .name {
    text-transform: uppercase;
}

.teamcont .info p:last-of-type {
    margin-top: 1rem;
}

.biotitle {
    display: block;
}

.open {
    transition: rotate 0.25s ease-in-out, scale 0.25s ease-in-out, opacity 0.15s ease-in-out;
}

.teamcont {
    --highlitecolor: #2d2d2d;
    transition: border-color 0.15s ease-in-out;
}

.teamcont .upper {
    transition: background-color 0.15s ease-in-out;
}

.teamcont:hover .upper {
    background-color: #1b1b1b;
}

.teamcont:hover .upper, .teamcont:hover {
    background-color: #1b1b1b;
    
}

.teamcont:hover .open {
    opacity: 0.5;
}

.teamcont[data-open] .open {
    opacity: 1;
}

.teamcont[data-open] .open {
    rotate: -135deg;
    scale: 1.25;
}

.teamcont[data-open] {
    border-color: var(--highlitecolor);
}


.teamcont[data-open] .upper {
    background-color: var(--highlitecolor);
}

.teamcont p:last-of-type {
    margin-bottom: initial;
}

.teamcont .fullname {
    font-weight: 800;
    font-size: 1.25rem;
}

.teamcont .fulltitle {
    font-style: italic;
    color: #dfdfdf;
    font-weight: initial;
}

.teamcont .location {
    margin-bottom: 1rem;
}

.teamsection > * {
    margin-inline: var(--inlinemargin);
    padding-inline: initial;
}

.biotitle {
    font-size: 1.25rem;
}

.teamcont .name, .teamcont .teamtitle {
    font-size: 1.25rem;
}

.funders-section img {
    aspect-ratio: initial;
    object-fit: contain;
    display: block;
    height: 6rem;
    margin-inline: auto;
    padding: 0.5rem;
    margin-bottom: 0;
}

.funders-section img:nth-of-type(2) {
    flex-grow: 1;
}

.funders-section .logos {
    margin-block: 4rem;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    gap: 2rem;
}

.funders-section .supportlogos {
    display: flex;
    flex-direction: row;
    width: fit-content;
    gap: 2rem;
    margin-inline: auto;
}

.funders-section .supportlogocont {
    margin-block: 4rem;
}

.funders-section .supportlogos img {
    flex-grow: initial;
    max-height: 100%;
    max-width: 100%;
}

.funders-section .supportlogocont > a:last-child img {
    max-width: min(100%, 450px);
    width: 100%;
}

.funders-section .supportlogostwo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 1100px) {
    .funders-section .logos {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    .funders-section .supportlogos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .funders-section .supportlogostwo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .funders-section .supportlogostwo a:last-child {
        grid-column: span 2;
        height: auto;
        aspect-ratio: initial;
    }
    
    .funders-section .supportlogostwo a {
        height: 100%;
    }

    .funders-section .supportlogos img {
        aspect-ratio: 1/1;
        width: 100%;
        height: auto;
    }

    .funders-section .supportlogocont {
        margin-block: 0rem;
    }

    .funders-section img {
        padding: 0;
    }

    .funders-section img {
        height: 100%;
    }

    .funders-section .logos {
        width: 100%;
        gap: 1rem;
        grid-template-rows: 1fr 1fr;
    }

    .funders-section .logos a {
        height: 100%;
    }

    .funders-section a {
        margin-bottom: 0;
        background-color: rgb(26, 26, 26);
        padding: 2rem;
        border-radius: 1rem;
        padding-block: 2rem;
        aspect-ratio: 1/1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .funders-section .logos a {
        aspect-ratio: initial;
    }

    .funders-section .logos, .funders-section .supportlogos {
        margin-block: 2rem;
    }

    .funders-section .supportlogos {
        margin-bottom: 0rem;
    }

    .supportlogocont > a:last-child {
        aspect-ratio: initial;
        margin-top: 1rem;
    }
}

@media (hover: none) {
    .teamcont {
        margin-top: 1rem;
    }
}


@media only screen and (max-width: 700px) {

    .teamsection {
        margin-inline: initial;
        padding-inline: initial;
        padding-block: var(--inlinemargin);
    }

    .upper {
        grid-template-columns: 1fr auto;
        grid-template-rows: 1fr 1fr;
        padding: 0.5rem 1rem;
    }

    .teamcont {
        border-color: #1b1b1b;
        margin-top: 1rem;
    }

    .teamcont .upper {
        background-color: #1b1b1b;
    }

    .teamcont .open {
        opacity: 0.5;
    }

    .teamcont[data-open] {
        opacity: 1;
    }

    .upper {
        grid-template-rows: auto auto;
        gap: 1rem;
        row-gap: 0rem;
    }

    .name {
        grid-column: 1;
        grid-row: 1;
        margin-left: initial;
        margin-right: initial;
    }

    .teamtitle {
        grid-column: 1;
        grid-row: 2;
        margin-left: initial;
        margin-right: initial;
        font-size: 1.25rem;
    }

    .open {
        grid-column: 2;
        grid-row: span 2;
        width: 2rem;
        margin-right: 1rem;
    }

    .lower {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        align-items: center;
    }

    .teamcont[data-open] .open {
    rotate: -135deg;
    scale: 1.25;
    }



.teamsection h2 {
    text-align: initial;
}

.teamcont h2:first-of-type {
    font-size: 0.9em;
}

.lower {
    display: flex;
}

.lower .socialsteam {
    gap: 1rem;
}

.teamcont .fullname, .teamcont .fulltitle, .teamcont .location {
    text-align: center;
}
}


/* smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
    /* ... */

    .teamcont {
        border-color: #1b1b1b;
        max-width: 100%;
    }

    .teamcont .upper {
        background-color: #1b1b1b;
    }

    .teamcont .open {
        opacity: 0.5;
    }

    .teamcont[data-open] {
        opacity: 1;
    }

    .teamsection {
        margin-inline: initial;
        padding-inline: initial;
    }
}

.content {
    display: none;
}

.swiper {
    width: 100%;
}

.swiper * {
    margin-bottom: 0;
    --swiper-navigation-size: 4rem;
}



.swiper img {
    width: 100%;
    height: 100%;
}

.swiper-button-next, .swiper-button-prev {
    width: var(--swiper-navigation-size);
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.swiper-button-next svg, .swiper-button-prev svg {
    stroke: white;
    stroke-width: 5px;
    scale: 0.5;
}

.swiper-button-next svg {
    transform: scaleX(-1);
    translate: 4%;
}

.swiper-button-prev svg {
    transform: translate(-4%);
}

.swiper-button-next::after, .swiper-button-prev::after {
    content: '';
}

.swiper-pagination-bullet-active {
    background-color: black;
}