#bodyindex .top-gradient {
    height: 150px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(227, 31, 43, 0.8)), to(rgba(227, 31, 43, 0)));
    background: linear-gradient(to bottom, rgba(227, 31, 43, 0.8) 0%, rgba(227, 31, 43, 0) 100%);
    z-index: 19;
}
#bodyindex .footer,
#bodyindex .bottom-gradient {
    position: fixed;
    bottom: 0;
}
#bodyindex .bottom-gradient {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(227, 31, 43, 0.65)), color-stop(75%, rgba(227, 31, 43, 0)));
    background: linear-gradient(to top, rgba(227, 31, 43, 0.65) 0%, rgba(227, 31, 43, 0) 75%);
    z-index: 19;
}
#bodyindex .nav li a {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
#bodyindex .teaser-in {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    width: 850px;
    max-width: 96%;
}
#bodyindex .teaser-in h1 {
    font-size: 5rem;
    font-weight: normal;
    color: white;
    margin: -0.45rem 0 0.5rem 0;
}
#bodyindex .teaser-in p {
    font-size: 1.3rem;
    color: white;
    margin: 0;
}
#bodyindex .teaser-in .nad {
    font-size: 2rem;
}
#bodyindex .teaser-in .pod {
    opacity: 0.7;
}
@media (max-height: 850px) {
    #bodyindex .teaser-in h1 {
        font-size: 3.5rem;
    }
    #bodyindex .teaser-in p {
        font-size: 1rem;
    }
    #bodyindex .teaser-in .nad {
        font-size: 1.4rem;
    }
}
@media (max-width: 600px) {
    #bodyindex .teaser-in h1 {
        font-size: 3rem;
    }
    #bodyindex .teaser-in p {
        font-size: 1rem;
    }
    #bodyindex .teaser-in .nad {
        font-size: 1.4rem;
    }
}
#bodyindex .zastor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../img/bg-pattern.png");
    background-color: rgba(0, 0, 0, 0.35);
}
@-webkit-keyframes disapear {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
@keyframes disapear {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
@-webkit-keyframes zoomout {
    0% {
        top: -10vh;
        left: -10vw;
        width: 122vw;
        height: 122vh;
    }
    100% {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
    }
}
@keyframes zoomout {
    0% {
        top: -10vh;
        left: -10vw;
        width: 122vw;
        height: 122vh;
    }
    100% {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
    }
}
#reveal {
    background-size: cover;
    background-position: center;
    background-color: #e31f2b;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -99;
    -webkit-animation-name: disapear;
    animation-name: disapear;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@media (max-width: 814px) {
    #reveal {
        top: -10vh;
        left: -10vw;
        width: 122vw;
        height: 122vh;
        -webkit-animation-name: zoomout;
        animation-name: zoomout;
        -webkit-animation-duration: 9s;
        animation-duration: 9s;
        -webkit-animation-delay: 0.5s;
        animation-delay: 0.5s;
    }
}
@supports (-webkit-overflow-scrolling: touch) {
    #reveal {
        top: -10vh;
        left: -10vw;
        width: 122vw;
        height: 122vh;
        -webkit-animation-name: zoomout;
        animation-name: zoomout;
        -webkit-animation-duration: 9s;
        animation-duration: 9s;
        -webkit-animation-delay: 0.5s;
        animation-delay: 0.5s;
    }
}
.video-background {
    background-size: cover;
    background-position: center;
    background-color: #e31f2b;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -99;
}
.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
@media (min-aspect-ratio: 16 / 9) {
    .video-foreground {
        height: 300%;
        top: -100%;
    }
}
@media (max-aspect-ratio: 16 / 9) {
    .video-foreground {
        width: 300%;
        left: -100%;
    }
}
@media all and (max-width: 600px) {
    .vid-info {
        width: 50%;
        padding: 0.5rem;
    }
    .vid-info h1 {
        margin-bottom: 0.2rem;
    }
}
@media all and (max-width: 500px) {
    .vid-info .acronym {
        display: none;
    }
}
.group-page .group-title {
    color: white;
    font-size: 3rem;
    font-weight: normal;
    text-align: center;
    width: 760px;
    max-width: 96%;
    margin: auto;
    margin-bottom: 70px;
}
.group-page .group-description {
    color: #f5b1b5;
    font-size: 1.6rem;
    text-align: center;
    width: 800px;
    max-width: 98%;
    margin: auto;
    margin-bottom: 80px;
}
.group-page .group-page-inner {
    position: relative;
    display: -ms-grid;
    display: grid;
    margin: auto;
    margin-bottom: 7rem;
    width: 1200px;
    max-width: 96%;
    -ms-grid-columns: (1fr) [3];
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    grid-auto-rows: minmax(100px, auto);
}
@media (max-width: 1010px) {
    .group-page .group-page-inner {
        -ms-grid-columns: (1fr) [2];
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 550px) {
    .group-page .group-page-inner {
        -ms-grid-columns: (1fr) [1];
        grid-template-columns: repeat(1, 1fr);
    }
}
.group-page .group-page-inner .group-page-item {
    width: 100%;
}
.group-page .group-page-inner .group-page-item .image {
    max-width: 100%;
    overflow: hidden;
    -webkit-filter: opacity(100%);
    filter: opacity(100%);
    -webkit-transition: -webkit-filter 0.4s linear;
    transition: -webkit-filter 0.4s linear;
    transition: filter 0.4s linear;
    transition: filter 0.4s linear, -webkit-filter 0.4s linear;
}
.group-page .group-page-inner .group-page-item .image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.group-page .group-page-inner .group-page-item .text {
    text-align: left;
    margin: 0 0.2rem;
}
.group-page .group-page-inner .group-page-item .text h2 {
    font-size: 2rem;
    font-weight: normal;
    color: white;
    margin-bottom: 0;
    margin-top: 1rem;
}
.group-page .group-page-inner .group-page-item .text p {
    font-size: 1.1rem;
    margin-top: 0.2rem;
}
.group-page .group-page-inner .group-page-item:last-child {
    margin-right: 0;
}
.group-page .group-page-inner .group-page-item:hover .image {
    -webkit-filter: opacity(55%);
    filter: opacity(55%);
}
.content {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}
.gallery-group .gallery-group-inner {
    margin: 0 auto;
    position: relative;
    max-width: 1055px;
    width: 100%;
}
.gallery-group .gallery-group-inner:before,
.gallery-group .gallery-group-inner:after {
    content: " ";
    display: table;
}
.gallery-group .gallery-group-inner:after {
    clear: both;
}
.page-wrap {
    max-height: 100%;
    min-height: 100%;
    max-width: 100%;
}
.page-wrap .gallery-group {
    margin-top: 0;
}
.page-wrap .gallery-group:before,
.page-wrap .gallery-group:after {
    content: " ";
    display: table;
}
.page-wrap .gallery-group:after {
    clear: both;
}
.gallery-group-title {
    color: white;
    font-size: 3rem;
    font-weight: normal;
    text-align: center;
    width: 760px;
    max-width: 96%;
    margin: auto;
    margin-bottom: 70px;
}
.gallery {
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.gallery:before,
.gallery:after {
    content: " ";
    display: table;
}
.gallery:after {
    clear: both;
}
.grid {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.grid:before,
.grid:after {
    content: " ";
    display: table;
}
.grid:after {
    clear: both;
}
.grid .grid-item {
    float: left;
    width: 33.3333%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    margin: 0 0 20px 0;
}
@media (max-width: 740px) {
    .grid .grid-item {
        width: 50%;
    }
}
.grid .grid-item a {
    display: block;
}
.grid .grid-item img {
    display: block;
    max-width: 100%;
}
@media all and (max-width: 420px) {
    .grid .grid-item {
        width: 100%;
    }
    .grid .grid-item img {
        width: 100%;
    }
}
.hidden-caption {
    display: none;
}
.pswp__scroll-wrap,
.pswp__container {
    max-height: 100%;
    max-width: 100%;
}
