/* Hide scrollbar */

:root {
    --header-height: 88px;
}

 ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 0px;
}

/*/ Hide scrollbar for IE, Edge and Firefox  /*/

.extrema-content::-webkit-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
} 

html, body {
    overflow: hidden;
    scroll-behavior: smooth !important;
    margin:0px;
}

video {
    width: 100%;
}

#esh-video {
    width: 60%;
    height: auto;
}

#navigation-video {
    width: 100%;
    height: 100%;

  object-fit: cover;
}

#guidance-video {
    width: 100%;
    height: 100%;
  object-fit: cover;
}

#ballistic-video {
    width: 100%;
    height: 100%;
  object-fit: cover;
}



@media only screen and (max-width: 1024px) {
#extrema-video {
    width: 180vw;
    margin-left: -40vw;
    margin-right: -40vw;
}

#asteroid-video {
    width: auto;
    height: 100%;
    position: absolute;
    right: -40%;
    bottom: 0px;
}



.asteroid-row {
    background-color: rgba(0,0,0,0.25) !important;
}

.goal-text {
    text-shadow: 0px 0px 2px black;
}

}


.extrema-logo-wrapper {
    height: calc(100vh - 88px);
    height: calc(100vh - var(--header-height));
    width: 100vw;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 10%;
}

.extrema-logo-wrapper svg:first-of-type {
    margin: auto;
    margin-bottom: 0px;
    display: block;
}

.extrema-logo-wrapper svg:nth-of-type(2) {
    margin-bottom: auto;
    width: 60%;
    display: block;
}

.orbitpath {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 0.66s ease-out 2s forwards 1;
    /*animation-play-state: paused;*/
    width: 100vh;
}

@keyframes dash {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.cls-2, .cls-1 {
    fill-opacity: 0%;
}

.cls-2-animated, .cls-1-animated{
fill-opacity: 100%;
transition: 2.5s}

#main {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
    overflow-y: hidden;
    overflow-x: hidden;
    scroll-behavior: smooth !important;
}

.sub-menu {
    z-index: 99999999999999 !important;
}

.extrema-content {
    /*display: grid;
	  grid-template-rows: calc(95vh - 88px) calc(95vh - 88px) calc(95vh - 88px) calc(95vh - 88px) 309px;*/
    gap: 0px;
    /* background-color: black; */
    /* THIS BREAKS CHROME!! */
    width: 100vw;
    margin: 0px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(var(--vh, 1vh) * 100 - 88px);
    padding-bottom: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 88px;
    padding-bottom: 0px;
    /*Set to 32px to fix for the user bar */
    scroll-behavior: smooth !important;
}

@media only screen and (max-width: 800px) {
    .extrema-content {
        margin-top: 0px;
    }
}

.extrema-page-row {
    height: calc(100vh - 88px);
    border: 2px solid black;

    background-color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    scroll-snap-align: start;
    z-index:1;
    position: relative;
}

.extrema-page-row, .extrema-page-row>h1 {
    color: white !important;
    text-align: left;
}

.extrema-page-text {
    margin: auto;
    margin-left: 3%;
    margin-right: 3%;
}

.extrema-page-animation {
    background-color: black;
    height: 100%;
    position: relative;
}

canvas {
    height: 100%;
    width: 100%;
}

.logo-row, .asteroid-row {
    position: relative;
}

.goal-content {
    background-color: none;
    z-index: 2;
    width: 25%;
    margin: auto;
    text-align: center
}

.goal-text {
    text-align: center;
}

h1 {
    font-size: 32pt;
    color: white;
}

h1.goal-title, h1.consortium-title{
    text-align: center;
    display: inline-block;
    width: auto;
    position: relative;
    margin-left: auto;
    margin-right: auto;

}

.goal-title, .consortium-title, .extrema-team-title {
    padding-bottom:2px;
    border-bottom: 2px solid #2FB3A5;
    padding-left: 15px;
    padding-right: 15px;
}

.visibility-hidden {
    visibility: hidden;
}

#aniCanvas {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#aniCanvas2 {
    width: 100vw;
}

#svg-logo-overlay-godlight {
    width: 43.5%;
    position: absolute;
    left: 28.25%;
    top: calc(40vh - 35px - 16.8vw);
    z-index: 2;
}

#extrema-godlight-logo-text-svg {
    position: absolute;
    left: 22.5%;
    top: 50%;
    z-index: 2;
    width: 55%;
}

p {
    line-height: 1.2em;
}

.pillar-number {
    font-size: 32pt;
    color:white;
    opacity: 75%;
    margin-bottom: 10px;
}

.pillar-text {
    position: relative;
    z-index: 1;
    background: none;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10%;
}

.pillar-grid-title {
    display: inline-block;
    font-weight: normal;
    font-size: 20pt;
    white-space: nowrap;
    z-index: 3;
    position: relative;
    order: 1;
    color: white;
}

.pillar-grid-inner-text {
    order: 2;
    visibility: hidden;
    max-height: 0px;
}

/*/Pillar Grid/*/

.pillars-row {
    display: flex;
    flex-direction: column;
}

.pillars-intro {
    display: block;
    width: 60%;
    margin: auto;
    flex-basis: 15%;
}

.pillars-intro>h1 {
    display: inline-block;
    margin: auto;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.pillars-grid-block-wrapper {
    display: block;
    flex-grow: 1;
    position: relative;
    flex-basis: 85%;
    max-height: 85%;
}

.pillars-grid-wrapper {
    width: 100%;
    height: 100%;
    margin-top: 0%;
    margin-bottom: 0%;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

.pillars-text {
    display: block;
    text-align: center;
}


.pillars-grid-elem {
    text-align: center;
    height: 100%;
    width: 33.33%;
    min-width: 4%;
    padding-top: 20px;
    background-color: black;
    border-left: 0.5px solid #666666;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: flex-basis 1000ms ease-in-out 0ms;
}

.pillars-grid-elem:hover {
    transition: background-color 0.5s;
    background-color: #111111;
}

.pillar-canvas {
    z-index: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.pillar-is-clicked:hover {
    background-color: black;
}

/* Animations Pillar Grid*/

/* Set pillar flex-basis to 100%*/
.pillar-starting.animatable {
    transition: width 0.5s ease-in-out 0.5s;
    width: 33.33%;
}

.pillar-is-clicked.animatable {
    transition: width 0.5s ease-in-out 0.5s;
    width: calc(100% - 2*4%);
}

/* Set pillar flex-basis to 0% */
.pillar-not-clicked.animatable {
    width: 4%;
    transition: width 0.5s ease-in-out 0.5s;
}


/* Set pillar flex-basis to 100%*/
.pillar-is-clicked.animatable h3 {
    font-size: 20pt;
    display: inline-block;
    padding-bottom: 0px;
    width: auto;
    opacity: 0.5;
    margin-bottom: 0px;
    margin-left: auto;
    transition:  0.5s ease-in-out 0.5s, transform 0.5s ease-in-out 0.5s;

}

.pillar-is-clicked.animatable h1::after {
    border-top: 2px solid #2FB3A5;
    width: 100%;
    content: '';
    display: block;
    position: absolute;
    right: 0px;
    bottom: -3px;

}

/* Set pillar flex-basis to 0% */
.pillar-not-clicked.animatable h3 {
    font-size: 16pt;
    width: auto;
    opacity: 1;
    display: inline-block;
    margin-left: auto;
    transition:  0.5s ease-in-out 0.5s, transform 0.5s ease-in-out 0.5s;
    margin-bottom: 0px;
    line-height: 1;
}

.pillar-starting.animatable h3 {
       width: auto;
    font-size: 20pt;
    opacity: 1;
    display: inline-block;
    margin-left: auto;
    transition:  0.5s ease-in-out 0.5s, transform 0.5s ease-in-out 0.5s;
    transform: translateX(50%)
    
}

.pillar-is-clicked.animatable .pillar-text {
    margin-right: 60%;
    margin-left: 5%;
    transition:  0.5s ease-in-out 0.5s;
    transform: rotate(0deg);
}

.pillar-not-clicked.animatable .pillar-text {
    margin-right: 0%;
    margin-left: calc(50% - 8pt);
    transition:  0.5s ease-in-out 0.5s;
    transform: rotate(-90deg);
    padding-bottom: 0px;
}

.pillar-starting.animatable .pillar-text {
    margin-right: 50%;
    margin-left: 15%;
    transition: 0.5s ease-in-out 0.5s;
    transition:  0.5s ease-in-out 0.5s, transform 0.5s ease-in-out 0.5s;
    transform: rotate(0deg);

}


.pillars-grid-elem.loading-pillar {
    background-image: url('/wp-content/resources/extrema/scripts/res/sprites/Eclipse-1s-200px-4.gif');
    background-repeat: no-repeat;
    background-size: 5%;
    background-position-x: 75%;
    background-position-y: 50%;

}

/* Set pillar child animation (opacity and visibility)*/
.pillar-is-clicked.animatable>.extrema-page-animation {
    animation: pillar-animation-visible 0.5s ease-in-out 1.5s forwards;
    visibility: hidden;
}

@keyframes pillar-animation-visible {
    0% {
        visibility: hidden;
        opacity: 0;
    }
    1% {
        visibility: visible;
        opacity: 0.01;
    }
    100% {
        visibility: visible;
        opacity: 1;
    }
}

.pillar-not-clicked.animatable>.extrema-page-animation {
    animation: pillar-animation-not-visible 0.5s linear 0s forwards;
}

.pillar-starting.animatable>.extrema-page-animation {
    animation: pillar-animation-not-visible 0.5s linear 0s forwards;
}

@keyframes pillar-animation-not-visible {
    0% {
        visibility: visible;
        opacity: 1;
    }
    99% {
        visibility: visible;
        opacity: 0.01;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}

/* Animation for the pillar visible text */
.pillar-is-clicked.animatable>.pillar-text>.pillar-grid-inner-text {
    animation: pillar-text-animation-visible 1s ease-in-out 1s forwards;
}

@keyframes pillar-text-animation-visible {
    0% {
        max-height: 0px;
        opacity: 0%;
        visibility: visible;
    }

    50% {
        max-height: 50vh;
        opacity: 0%;
        visibility: visible;
    }

    100% {
        max-height: 50vh;
        opacity: 100%;
        visibility: visible;
    }
    
}

.pillar-not-clicked.animatable>.pillar-text>.pillar-grid-inner-text {
    animation: pillar-text-animation-not-visible 1s ease-in-out 0s forwards;
}
.pillar-starting.animatable>.pillar-text>.pillar-grid-inner-text {
    animation: pillar-text-animation-not-visible 1s ease-in-out 0s forwards;
}

@keyframes pillar-text-animation-not-visible {
    0% {
        max-height: 50vh;
        opacity: 100%;
        visibility: visible;
    }

    50% {
        max-height: 50vh;
        opacity: 0%;
        visibility: visible;
    }

    100% {
        max-height: 0px;
        opacity: 0%;
        visibility: visible;
    }
    
}


.pillar-grid-name {
    font-size: 28pt;
    text-align: right;
    display: inline-block;
    width: auto;
    position:relative;
    padding-bottom: 3px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.ballistic-pillar-canvas {
    display: none;
}
.ballistic-fallback {
    height: 100%;
    width: 100%;
    background-image: url('/wp-content/resources/extrema/scripts/res/support/BallisticBackground.png');
    background-size: cover;
}


/* OSH */

.osh-row {
    background-image: rgba(0,0,0,0.5), url('/wp-content/resources/extrema/scripts/res/support/OSH_BACKGROUND.png'    );
    background-size: contain, contain;
    background-position: left, left;
    background-repeat: no-repeat, no-repeat;
}

.osh-text {
    width: 30%;
    margin-left: auto;
    margin-right: 10%;
    text-align: left;
}

.osh-name {
    border-bottom: 2px solid #2FB3A5;
    display: inline-block;
    margin-bottom: 2px;
    font-size: 34px;
    color: white;
}





/* CONSORTIUM */

.consortium-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.consortium-title {
    text-align: center !important;
    font-size: 26pt;
}

.consortium-text {
    text-align: center !important;
    margin-top: 20px;
    margin-bottom: 0px;
    order: 1;
    width: 50%;
    margin-left: auto;
    margin-right: auto;

}

.consortium-images-canvas {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    flex-direction: row;
    align-content: center;
    order: 2;
    overflow: hidden;
    margin-bottom: auto;
}

.consortium-logo-wrapper {
    display: table;
    width: 25vw;
    margin: auto;
}

.consortium-logo {
    display: table-cell;
    width: 80%;
    height: auto;
    margin: auto;
    vertical-align:middle;
    transition: width 0.5s, opacity 0.5s;
    opacity: 0.7;

}

.consortium-logo:hover {
    width: 100%;
    transition: width 0.5s;
    opacity: 1;
}


/* TEAM */
.extrema-team-row {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

h1.extrema-team-title{
    font-size: 26pt;
    text-align: center;
    display: inline-block;
    width: auto;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.extrema-team-images-wrapper {
    position: relative;
    display: block;
    width: 95%;
    margin: auto;
    height: 22vw;
    border-bottom: 1px solid #2FB3A5;
    margin-bottom: 1px;
}

.extrema-member-wrapper {
    width: 12%;
    height: 12vw;
    margin-top: 10vw;
    background-color: none;
    position: relative;
    display: inline-block;
    margin-right: -4.67%; /* Trial and error */
    margin-bottom: 2px;
    border-bottom: 2px solid #2FB3A5;
}

.extrema-member-wrapper:last-of-type {
    margin-right: 0px;
}


.extrema-member-photo {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 1;
}

.extrema-member-photo-svg {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 2;
    opacity: 1;
}

.extrema-member-photo-svg path {
    fill: #000000;
    fill-opacity: 0.5;
}
.extrema-member-photo-svg path:hover {
    fill-opacity: 0;
    transition: 0.3s;
    stroke: #ffffff;
    stroke-width: 5px;
}
.extrema-member-wrapper.path-is-hovered {
    z-index: 12 !important;
}
/*.extrema-member-wrapper.path-is-hovered > img {
    filter:brightness(100%);
    transition: 0.5s;
}

.extrema-member-wrapper.path-is-hovered::before {
    position: absolute;
    width: 2px;
    height: 20vh;
    transition: 0.3s;
    bottom: 50%;
    left: 50%;
    content: attr(data-before);
}*/

.extrema-member-tooltip {
    height: calc(100% + 3em);
    position: absolute;
    bottom: 0px;
    width: 200%;
    visibility: hidden;
    opacity: 0;
}

.extrema-member-wrapper.path-is-hovered > .extrema-member-tooltip {
    visibility: visible;
    opacity: 1;
    transition: 0.3s;
}

.extrema-member-tooltip.right {
right: 50%;
border-right: 2px solid #2FB3A5;
text-align: right;
padding-right: 3px;

}

.extrema-member-tooltip.left {
    left: 50%;
    border-left: 2px solid #2FB3A5;
    text-align: left;
    padding-left: 3px;

}

.extrema-member-name {
    font-size: 16pt !important;
    color: white;
    margin-bottom: 2px;
    line-height: 1.2;
}

.extrema-member-task {
    font-size: 12pt;
    color: #aaaaaa;
    margin-top: 2px;
    line-height: 1;
}


.transparent-background {
    background: none;
}

/* DISCOVER MORE */
.discover-more-row {
    scroll-snap-align: start;
    height: calc(100vh - 64px);
    flex-direction: column;
    justify-content: center;
}

.discover-more-row > * {
    display: block;
    text-align: center !important;
}

.discover-more-row:last-child {
    margin-bottom: 0;
}

.discover-more-bullets li {
    display: inline-block;
    padding-left: 50px;
    text-align: left;
    text-transform: uppercase;
}

.discover-more-bullets li:first-of-type {
    padding-left: 0px;
}

.discover-more-bullets li a {
    color: white !important;
    transition: 0.5s;
}


.discover-more-bullets li a:hover {
    color: #2FB3A5 !important;
    transition: 0.5s;
}

.discover-more-bullets li:before {
    content: '• '
}

/*#pillar-grid-1 {
    background-color: red;
}

#pillar-grid-2 {
    background-color: orange;
}

#pillar-grid-3 {
    background-color: green;
}

#pillar-grid-4 {
    background-color: blue;
}*/

/*/ Navigation /*/

.pillar-text {
    width: 35%;
}

.navigation-animation {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 60%;
    height: 100%;
    z-index: 0;
}

.planet-marker {
    position: absolute;
    height: 12px;
    width: 12px;
    top: 0px;
    left: 0px;
    display: block;
    opacity: 0;
    border-radius: 100%;
    border: 1px solid white;
}

#line-of-sight-annotation {
    opacity: 0;
    position: absolute;
    top: 30px;
    right: 10px;
    color: white;
    border-bottom: 2px dashed white;
    line-height: 1.2em;
}

#ephemeris-annotation {
    opacity: 0;
    position: absolute;
    top: calc(1.8em + 40px);
    right: 10px;
    color: white;
    border-bottom: 2px solid white;
    line-height: 1.2em;
}

#sc-position-annotation {
    opacity: 0;
    position: absolute;
    top: calc(3.6em + 50px);
    right: 10px;
    color: white;
    border-bottom: 2px solid aqua;
    line-height: 1.2em;
}

.camera-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

#navigation-camera-overlay {
    width: 90%;
    height: 100%;
    margin: auto;
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
}

.restart-animation {
    padding: 5px 10px;
    background-color: black;
    border: 2px solid white;
    color: white;
    display: inline-block;

}

.restart-animation:hover {
    background-color: #2FB3A5;
    color: white;
    transition: 0.5s;
}

/*/ Guidance /*/


.guidance-animation {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 60%;
    height: 100%;
    z-index: 0;

}

/*/ Ballistic /*/


.ballistic-animation {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/*/ OSH /*/
.osh-animation {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.project-row-inner {
    background-color: black;
}

.project-row-inner {
    scroll-snap-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    height: calc(var(--vh, 1vh) * 100 - 88px);
    position: relative;
    scroll-behavior: smooth !important;
    scroll-snap-stop: always;
}

.fusion-header-wrapper, .fusion-header-sticky-height .fusion-body .fusion-is-sticky.fusion-header-wrapper .fusion-header, .fusion-body .fusion-is-sticky.fusion-header-wrapper .fusion-secondary-main-menu {
    background-color: black !important;
}

.fusion-body .fusion-is-sticky.fusion-header-wrapper .fusion-header, .fusion-body .fusion-is-sticky.fusion-header-wrapper .fusion-secondary-main-menu {
    background-color: black !important;
}

.menu-item span {
    color: white !important;
}

.current_page_item .menu-text {
    color: #2FB3A5 !important;
}

.menu-item:hover .menu-text {
    color: #2FB3A5 !important;
    transition: 0.5s;
}

.fusion-dropdown-submenu span {
    color: #333333 !important;
}



.consortium-row {
    height: calc(40vh - 44px);
}

.extrema-team-row {
    height: calc(60vh - 64px); 
    padding-top: 20px; 
    scroll-snap-align: none;
    padding-bottom: 2px;
}

.extrema-team-row > *:not(p) {
    margin: auto;
}

.extrema-team-row:last-child {
    margin-bottom: 0;
}

@media only screen and (max-height:800px) {
    .consortium-row {
        height: calc(100vh - 88px);
    }

    .consortium-images-canvas {
        margin-bottom: 20%;
    }

    .extrema-team-row {
        height: calc(100vh - 88px);
        scroll-snap-align: start;
        padding-top:0;

    }
}

@media only screen and (max-height:400px) {
    .extrema-page-row {
        height: auto !important;
        overflow-y: scroll !important;
    }

    .goal-content, .goal-content * {
        visibility: visible !important;
        opacity: 1;
    }
}

@media only screen and (max-width: 1024px) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .extrema-content {
        scroll-snap-type: y proximity !important;
    }

    .pillars-row {
        height:auto;
    }

    .pillars-grid-wrapper {
        flex-direction: column;
    }

    .pillar-text {
        height: 100% !important;
        max-height: none !important;
        padding-bottom: 0 !important;
    }

    .animatable {
        width:100% !important;
    }
    
    .pillar-grid-inner-text {
        animation: none !important;
        max-height: none;
        opacity: 1;
        visibility: visible;
    }

    .pillar-not-clicked.animatable .pillar-text {
        transform: none !important;
    }

    .navigation-text, .ballistic-text {
        margin-left: 2% !important;
        margin-right: auto !important;
        width: 40%;
    }

    .guidance-text {
        margin-left: auto !important;
        margin-right: 2% !important;
        width: 40%;
        text-align: left;
    }

    .guidance-text:before {
        content: "PILLAR II";
        font-size: 20px;
        color: #808080;
        
        
    }

    .navigation-text:before {
        content: "PILLAR I";
        font-size: 20px;
        color: #808080;
        
        
    }

    .ballistic-text:before {
        content: "PILLAR III";
        font-size: 20px;
        color: #808080;
        
        
    }

    .pillar-grid-title{
        display: none !important;
    }

    .extrema-page-animation {
        background-image: url('https://www.fasi.it/wp-content/uploads/2017/10/press-play-button.png');
        background-size: 50px 50px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .extrema-content {
        margin-top: 0px;
    }

    .consortium-row {
        scroll-snap-align: start;
    }

    .pillar-grid-name {
        font-size: 16pt;
        text-transform: uppercase;
        border-bottom: 2px solid #2FB3A5;
        padding-left: 15px;
        padding-bottom: 0;
        line-height: 1.2em !important;
    }

    .guidance-text .pillar-grid-name {
        font-size: 16pt;
        text-transform: uppercase;
        border-bottom: 2px solid #2FB3A5;
        padding-left: 0;
        padding-right: 15px;
        padding-bottom: 0;
        line-height: 1.2em !important;
    }

}


@media only screen and (max-width: 800px) {
    :root {
        --header-height: 76px;
    }

    .extrema-logo-wrapper {
        height: calc(100vh - 76px);
        height: calc(100vh - var(--header-height));
    }
    .extrema-content {
        height: 97vh;
        height: calc(var(--vh, 1vh) * 100 - 76px);
        scroll-snap-type: y mandatory !important;
    }

    .extrema-page-row {
        height: 97vh;
        height: calc(100vh - 76px);
        height: calc(var(--vh, 1vh) * 100 - 76px);


    }

    .goal-content {
        width: 90%;
    }

    .pillars-grid-elem {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        height: 100%;
        min-height: 100%;    
        scroll-snap-align: start;

    }

    .pillars-grid-elem > * {
        scroll-snap-align: start;
    }
    .pillars-grid-block-wrapper {
        overflow-y: hidden;
    }
    .pillars-grid-wrapper {
        overflow-y: scroll;
        scroll-snap-type: y mandatory;
    }

    .pillars-row {
        height: calc(100vh - 76px);
        height: calc(var(--vh, 1vh) * 100 - 76px);

    }

    .pillar-text {
        text-align: left;
        width: 100%;
    }

    .extrema-page-animation {
        position: absolute;
        width: 100%;
        left: 100%;
        margin-left: 5%;
    }

    .pillars-intro {
        width: 90%;
    }

    .osh-row {
        display: block;
        width: 100%;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .osh-text {
        width: 90%;
        margin-right: 105%;
        scroll-snap-align: start;
        text-align: center;
        padding-left: 5%
    }

    .pillars-text {
        max-height: 15%;
        font-size: 10pt;
    }

    .consortium-text {
        width: 90%;
    }

    .consortium-images-canvas {
        flex-direction: column;
    }

    .consortium-logo-wrapper {
        width: 75vw;
        padding-top: 6pt;
        padding-bottom: 6pt;
    }

    .extrema-team-images-wrapper {
        height: 70vh;
        overflow-x: scroll;
        overflow-y: visible;
        white-space: nowrap;
    }

    .extrema-member-wrapper {
        height: 48vw;
        width: 48vw;
        margin-top: 22vw;
    }
}