html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

a {
    transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

figure {
    border: 0;
    text-align: center;
    margin: 0;
}

figure img {
    /* width: 100%; */
}

@font-face {
    font-family: PT Sans Narrow; 
    src: url('../fonts/PTSansNarrow-Regular.ttf');
} 

@font-face{
    font-family: PT Sans;
    src: url('../fonts/PTSans-Regular.ttf');  
}


figcaption {
    font-size: 0.9em;
    color: gray;
    font-family: 'PT Sans Narrow', sans-serif;
}

h1 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 2rem;
    margin: 0.0rem;
    color: #0C696E;
}

h2 {
    font-weight: normal;
    font-family: 'PT Sans Narrow', sans-serif;
    text-transform: lowercase;
    margin: 0.0rem;
    font-size: 1.5rem;
    color: #0C696E;
}

h3 {
    font-family: 'PT Sans Narrow', sans-serif;
    margin: 0.0rem;
}

h4 {
    font-family: 'PT Sans Narrow', sans-serif;
    margin: 0.0rem;
}

h5 {
    font-family: 'PT Sans Narrow', sans-serif;
    margin: 0.0rem;
}

body {
    margin:0;
    padding:0;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'PT Sans', sans-serif;
    background-color: #F4F5F4;
    text-align: center;
}


@media screen and (min-width: 640px) {
    body {
        font-size: 15px;
    }
}

.page {
    width: 100%;
    /*margin: auto;*/
    text-align: left;
    min-height: 100vh;
    /*background-color: white;*/
    /*display: flex;
    flex-direction: column;*/
}

.page_banners {
    width: 100%;
    margin: auto;
    text-align: left;
    min-height: 100vh;
    
    display: flex;
    flex-direction: column;
}


@media screen and (min-width: 640px) {
    .page {
        max-width: 150rem;
    }
}

.page__content {
    flex-grow: 1;
}

.page__content--spread {
    display: flex;
    flex-direction: column;
    margin-bottom: -1.5rem;
}

.note__text {
    font-size: 1.0rem;
}

.page__navigation {
    /*display: flex;
    align-items: center;
    flex-direction:row;
    background-color: #f9fafb;
    font-family: 'PT Sans Narrow', sans-serif;
    align-items: center;
    justify-content: flex-start ;*/
    /*border-bottom: 1px solid #FFFFFF;*/
    max-width: 90%;
    marin: auto;

}

@media screen and (min-width: 640px) {
    .page__navigation {
        padding: 2rem 4rem;
    }
}

.page__header__main {
    flex-grow: 1;
    font-size: 1.6rem;
}

@media screen and (min-width: 640px) {
    .page__header__main {
        font-size: 1.4rem;
    }
}

.page__navigation__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

@media screen and (min-width: 500px) {
    .page__navigation__list {
        display: inline;
        text-align: right;
    }
}

.page__navigation__list li {
    display: inline;
    padding-left: 1.2em;
}

.page__navigation__list li:last-child {
    padding-right: 0;
}

.page__header__main__a_active{
    color: #539094;
    font-weight: 1000;
}
.page__header__main__a{
    text-transform: uppercase;
    margin-right: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #CDE3E5;

}
/*.page__header__main__a:hover,
.page__header__main__a:focus,
.page__header__main__a:target,
.page__header__main__a:active {
    color: #539094;
}
*/

/*.page__header__main__a:any-link,
.page__header__main__a:visited {
    color: #CDE3E5;
}*/


.page__content--stretch {
    display: flex;
    flex-direction: column;
}


.subnavigation {
    list-style: none;
    margin: 0;
    /*padding: 0.5rem 1rem;*/
    /*background-color: #CDE3E5;*/
    text-transform: uppercase;
    display: block;
    text-align: right;
}

@media screen and (min-width: 640px) {
    .subnavigation {
        padding: 0.5rem 4rem;
    }
}

.banner-link{
    display: block;
    width: 90%;
    /*height: 1rem;*/
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-grow: 1;
}

.banner-link + .banner-link{
    margin-top: 2.5rem;
}

.banner-link__title,
.banner-link__dimmer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 85%;
}

.banner-link__title {
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1.5rem;
    display: flex;
    padding: 0 1rem;
    align-items: center;
    box-sizing: border-box;
    color: #0C696E;
}

@media screen and (min-width: 640px) {
    .banner-link__title,
    .banner-link__dimmer {
        width: 55%;
    }

    .banner-link__title {
        padding: 0 4rem;
        font-size: 2rem;
    }
}


.banner-link--cover{
    background-size: cover;

}
.banner-link__dimmer {
    background-color: #0C696E;
    background-color: white;
    opacity: 0.75;
}

.banner-link: hover{
    opacity: 1.0;
}


.top-link {
    opacity: 0.8;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: center;
    color: white;
}

@media screen and (min-width: 640px) {
    .top-link {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1000px) {
    .top-link {
        font-size: 1.2rem;
    }
}

.top-link-active {
    opacity: 1;
}

.top-link:hover {
    opacity: 1;
}

.top-link:visited{
 color: white;
}


.note {
    padding: 2rem 1rem 0 1rem;
    display: block;
    margin-bottom: 1rem;
}


@media screen and (min-width: 640px) {
    .note {
        padding: 2rem 4rem 0 4rem;
    }
}


.note__horizontal {
    padding: 4rem;
    width: 100%;
    background-size: contain;
    background-image: url("half_genome_4.png");
    background-position: right;
    background-repeat: no-repeat;
    font-size: 1.2em;

}

u {
  text-decoration: underline;

}

.div__button{
    height: 10vh;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.blog-link {
    margin-top: 1rem;
    opacity: 0.8;
    padding: 1rem 1rem;
    transition: background-color 0.2s ease-in-out;
    position: relative;
}

.blog-link:after {
    content: ' ';
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    transition: all 0.2s ease-in-out;
}

@media screen and (min-width: 640px) {
    .blog-link {
        padding: 1rem 4rem;
    }
}

.blog-link:hover{
    background-color: #CDE3E5;
}

.blog-link:hover:after {
    opacity: 0;
}


.blog-link--content{
    color: black;
}

.div__button:hover{
    opacity: 0.8;
}

.hello-page {
    width: 100%;
    height: 100%;
    position: relative;
    background-position: 200%;
    margin-bottom: -2rem;
    flex-grow: 1;
}

@media screen and (min-width: 1000px) {
    .hello-page {
        background-position: right;
        background-size: cover;
    }
}

.hello-page h2:first-child {
    font-weight: 700;
}

.hello-page__dimmer {
    position: absolute;
    opacity: 0.95;
    background-color: white;
}

.hello-page__dimmer,
.hello-page__content {
    font-size: 1.2rem;
    top: 0;
    bottom: 0;
    width: 90%;
}

.hello-page__content {
    position: relative;
    padding: 1rem;
}

@media screen and (min-width: 640px) {
    .hello-page__dimmer,
    .hello-page__content {
        width: 75%;
    }

    .hello-page__content {
        padding: 4rem;
    }
}

@media screen and (min-width: 940px) {
    .hello-page__dimmer,
    .hello-page__content {
        width: 55%;
    }
}


.hello-page__signature {
    text-align: right;
}


.note__content__paper{
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.note__content__entry {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;

}

.note__content__journal{
    font-size: 0.9em;
    color: gray;
    font-family: 'PT Sans Narrow', sans-serif;
}

.note__content__date{
    font-size: 0.9em;
    color: gray;
    font-family: 'PT Sans Narrow', sans-serif;
}

.note__content__title{
    font-size: 1.5em;
    color: #0C696E;
    font-family: 'PT Sans Narrow', sans-serif;
}

.note__content__subtitle{
    padding-top: 0.5rem;
    font-size: 1em;
    color: #0C696E;
    text-transform: uppercase;
    font-family: 'PT Sans Narrow', sans-serif;
}


a {
    text-decoration: none;

}

.page__content a {
    text-decoration: none;
    opacity: 0.75;
    color: #0C696E;
}

a:hover{
    opacity: 1.0;
}


.contact {
    display: inline-block;
    float: right;
    padding-right: 1rem;
    align-items: center;
}

@media screen and (min-width: 640px) {
    .contact {
        padding-right: 4rem;
    }
}

.contact a{
    color: #20898F;
    padding-right: 0.5rem;
    opacity: 0.7;
}

.contact a:last-child {
    padding-right: 0;
}

.go-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: #CDE3E5;
    color: #20898F;
    border: 0;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    opacity: 0;
}

#go-to-top:hover {
    background-color: #20898F;
    color: white;
}

.go-to-top--visible {
    opacity: 1;
}