* {
    font-family: Lora, Georgia, serif;
    color: #333447;
    line-height: 1.6;
  }

html,body {
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-image: url(../assets/paper-bg-03.jpg);
    background-color: #FFFFFF;
    height: 100%;
    width: 100%;
}


h1 {
    font-size: 2.8rem;
    font-weight: 600;
    font-family: 'Playfair Display', 'times new roman', serif;
    margin: 0.15rem;
    padding-bottom: 1rem;
  }
  
p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.8;
  }

.italic {
    font-style: italic;
}

.sans-serif {
    font-family: roboto, 'Helvetica Neue', sans-serif;
    font-weight: 400;
}

article p {
    margin: 0 auto;
    max-width: 600px;
    width: 90%;
    line-height: 1.8;
    padding-bottom: 1.5rem;
}


/* progress bar */

/* Style the header: fixed position (always stay at the top) */
.bar-header {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    background-color: #f1f1f1;
  }
  
  /* The progress container (grey background) */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgb(230, 229, 229);
  }
  
  /* The progress bar (scroll indicator) */
.progress-bar {
    height: 4px;
    background: black;
    width: 0%;
  }


/* share buttons */

.share-button img {
    width: 1.2rem;
    padding: 0.5rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
}




/* header */

header {
    text-align: center;
    padding-bottom: 2rem;
}

header p:last-of-type {
    font-size: 1rem;
    padding-bottom: 0.3rem;
}

header img {
    margin: 0 auto;
    max-width: 600px;
    width: 90%;
    padding-top: 4rem;
}

/* drop cap */

p.has-drop-cap::first-letter {
    font-size: 4rem;
    float: left;
    line-height: 0.5;
    margin-top: 1rem;
    margin-right: 0.6rem;
    margin-bottom: 0.5rem;
    margin-left: 0;
    font-weight: 700;
}

/* all images */

.imageRight, .imageLeft, #full-width, .hospital {
    margin: 0;
    padding-bottom: 1.5rem;
}

.imageRight img, .imageLeft img, #full-width img, #hospital-mobile {
    width: 100%;
    margin: 0 auto;
    display: block;
}


#hospital-desktop {
    display: none;
}

/* video */


figure.video-container-v {
    margin: 0;
    position: sticky;
    top: 0;
    z-index: -1;
    height: 100%;
    width: auto;

}

#airport-v {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    margin: 0 auto;
}

figure.video-container-h {
    margin: 0;
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: -1;
}

#airport-h {
    display: none;
}


/* text over video */

.white-font p {
    color: white;
    background-color: rgb(0, 0, 0, 0.5);
    padding: 2rem;
    margin-bottom: 90vh;
}

.white-font a {
    color: white;
}

#empty {
    background-color: rgb(0, 0, 0, 0);
    padding-top: 80vh;
    margin-bottom: 1rem;
}

figcaption {
    text-align: left;
    font-size: 0.8rem;
    padding-left: 0.1rem;
    color: #414141;
}

/* footer */

article {
    padding-bottom: 2rem;
}

footer {
    border-top: darkgrey 1px solid;
    width: 90%;
    margin: 0 auto;
}

footer p {
    font-family: roboto, 'Helvetica Neue', sans-serif;
    text-align: center;
    margin: 0.2rem 0;
    font-size: 1rem;
}

footer p:first-of-type {
    padding-top: 1rem;
}

.bold {
    font-weight: 700;
    margin: 0;
}



/* media queries */

@media only screen and (min-width: 33.75em) /* 540px */ {

    h1 {
        font-size: 3.5rem;
    }


}

@media only screen and (min-width: 45em) {  /* 720px */
    .imageRight {
        float: right;
        width: 35%;
        margin-right: 12%;
        padding-left: 2%;
    }

    .imageLeft {
        width: 80%;
        margin: 0 auto;
    }

}

@media only screen and (min-width: 60em) { /* 960px */

    .imageRight {
        width: 20%;
        margin-right: 23rem;
    }
    
    #airport-v {
        display: none;
    }

    figure.video-container-h {
        margin: 0;
        position: sticky;
        top: 0;
        z-index: -1;
        height: 100%;
        width: auto;
    }

    #airport-h {
        width: auto;
        height: 100vh;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }

    #hospital-mobile {
        display: none;
    }

    #hospital-desktop {
        width: 103%;
        display: block;
        margin: 0 auto;
        z-index: -1;
        position: absolute;
        left: 0;
        right: 0;
        top: -15rem;
        bottom: 0;
    }

    .behindText {
        position: relative;
    }

    .hospital {
        padding-bottom: 0;
    }

    .imageLeft {
        width: 50%;
    }

}

@media (min-aspect-ratio:16/9){
    #airport-h {
        width: 100vw;
        height: auto;
    }
}



