* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #353535;
}

#tooSmall {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    background-color: #BD295E;
    font-family: 'Nunito Sans',sans-serif;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
}

.panel {
    position: fixed;
    display: flex;
    /* align-items: center;
    justify-content: center; */
    width: calc(100vh * 1.4);
    height: 100vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.panel.green {
    background-image: url('../images/sections/G1_DTP_Green_BG.jpg');
    background-position: top left;
    background-size: 100% auto;
    background-repeat: repeat-y;
}

.panel.pink {
    background-color: #BD295E;
}

.panel.white {
    background-color: #ffffff;
}

.panel.dark {
    background-image: url('../images/sections/G1_DTP_Green2_BG.jpg');
    background-position: top left;
    background-size: 100% auto;
    background-repeat: repeat-y;
}

.panel.tall {
    height: 200vh;
}

.panel img.baseImage {
    position: absolute;
    top: 0;
    height: 100vh;
    width: auto;
}

section.first {
    opacity: 1;
    visibility: visible;
}

section:not(.first) {
    opacity: 0;
    visibility: hidden;
}


.swoosh {
    position: absolute;
    bottom: -450px;
    right: -539px;
    width: 89%;
    height: auto;
    z-index: 75;
}

.swoosh.animated {
    transform-origin: center center;
    transform: rotate(120deg);
    transition: transform 0.7s ease-in-out;
}

.swoosh.animated.show {
    transform: rotate(0deg);
}

.tall .swoosh {
    bottom: calc(100vh - 450px);
}

#logo {
    position: absolute;
    width: 24%;
    height: auto;
    left: 9%;
    bottom: 8%;
    z-index: 75;
}

.patient {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 53%;
    height: auto;
    z-index: 100;
}

.patient.animate {
    opacity: 0;
    transition: opacity 1.2s ease-in-out 0.2s;
}

.patient.animate.show {
    opacity: 1;
}

.tall .patient {
    bottom: 100vh;
}

#cells {
    position: absolute;
    width: 100.5%;
    height: auto;
    top: 100vh;
    z-index: 110;
}
.text-1,
.text-2,
.text-3 {
    position: absolute;
    top:15%;
    left:9%;
    width: 38%;
    height: auto;
    z-index: 50;
}

.text-2 {
    width: 45%;
}

.text-3 {
    width: 31%;
}

#text {
    position: absolute;
    width: 61.8%;
    height: auto;
    opacity: 0;
    top: 25%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    z-index: 20;
}

.active #text {
    opacity: 1;
    transition: opacity 2s ease-in-out 0.2s;
}

section .canvas {
    position: absolute;
    top: 0;
    z-index: 1;
    /* left: 0; */
}
/* 
section .canvas.is-loaded {
    width: auto;
    height: 100%;
} */

section .canvas.is-loaded {
    width: 100%;
    height: auto;
    min-height: 100vh;
}

.disclaimer {
    position: absolute;
    z-index: 100;
    bottom: 14px;
    left: 40px;
    color: #ffffff;
    font-family: arial;
    font-size: 12px;
    width: 750px;
}

@media screen and (max-width: 1200px) {
    .panel {
        width: 100vw;
        height: 100vh;
    }

    .panel img.baseImage {
        height: auto;
        width: 100%;
    }

    section .canvas.is-loaded {
        width: 100%;
        /* top: 25%; */
        height: auto;
    }

    .patient {
        width: 73%;
        height: auto;
        right: -30px;
        z-index: 100;
    }
    #swoosh {
        bottom: 438px;
        right: 49px;
    }
}

@media (min-aspect-ratio: 1280 / 911) {
    #tooSmall {
        display: none;
    }
}