html, body{
    position: relative;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #5C5B5D;
}

p {
    margin: 1em 0;
}

p.text {
    font-size: 1.2em;
}


@-webkit-keyframes fontfix {
    from { opacity: 1; }
    to   { opacity: 1; }
}

div.logo-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.8em;
    font-weight: 400;
    text-align: justify;
    color: rgba(92,91,93,0.8);
}

@media (max-width: 1024px) {
    div.logo-subtitle {
        padding-top: 10px;
        font-size: 1.8em;
        position: absolute;
        width: 100%;
        // top: 57%;
    }
}

@media (max-width: 640px) {
    div.logo-subtitle {
        font-size: 1.2em;
        // top: 55%;
    }
}


@media (min-width: 768px) {
    div.visible-xs {
        display: none;
    }
}

@media (max-width: 767px) {
    div.visible-sm {
        display: none;
    }
}

div.logo-subtitle:after {
  content: "";
  display: inline-block;
  width: 100%;
}

.subhead {
    font-weight: 400;
}

img.disease {
    margin-bottom: 50px;
    width: 210px;
}

a.link {
    color: white;
    text-decoration: none;
    /* font-size: 1.3em; */
    cursor: pointer;
}

a.link:hover {
    color: rgb(170, 170, 170);
}

a.link.selected {
    color: #5C5B5D;
    cursor: default;
}

.navbar {
    position: fixed;
    z-index: 1000;
    height: 5.8em;
    width: 100%;
    margin: 0 auto;
    text-transform: uppercase;
    font-size: 11px;
    background-color: rgba(0, 0, 0, 0.5);
}

.canvasText {
    position: absolute;
    top: 35%;
    left: 40%;
}

img.bioage {
    height: 120px;
    padding-bottom: 15px;
}

img.about {
    height: 260px;
}

img.media {
    width: 70%;
}

img.contactUs {
    width: 170px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: 400;
    padding: 0 20px;
}

@media (max-width: 475px) {
    .navbar a {
        padding: 0 6px;
        font-size: 1em;
    }
}

.navbar a:hover {
    color: rgb(170, 170, 170);
}

.screen {
    min-height: 100vh;
}

.header-2 {
    font-size: 1.5em;
    font-weight: 500;
}

.header-3 {
    font-size: 1.5em;
    font-weight: 500;
    padding: 4em 0 1em 0;
}

ul {
    margin: 0;
    padding: 0;
}

.navbar li {
    display: inline;
    margin: 0;
}

.row.row-3 {
    display: none;
}

.row.row-2 {
    display: none;
}

.team-name, .team-title {
    padding-top: 3px;
    font-size: 2vh;
}

.team-name {
    padding-top: 10px;
    font-weight: 500;
}

img.investor_logo {
    max-width: 220px;
    padding-bottom: 50px;
}

@media (max-width: 767px) {
    img.investor_logo {
        padding-bottom: 100px;
    }
}

.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: 4em;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1024px) {
    .row.row-4 {
        display: none;
    }

    .row.row-3 {
        // display: block;
        // display: -webkit-box;
        // display: -ms-flexbox;
    }
}

@media (max-width: 1024px) {
    canvas {
        display: none;
    }

    .canvasText {
        display: none;
    }

    img.bioage-mobile {
        position: relative;
        height: 100vh;
    }

    .bioage-mobile-logo{
         position: absolute;
         width: 80%;
         top: 40%;
    }

    .bioage-mobile-logo img{
         width: 100%;
    }

    html, body{
        margin: 0;
        font-family: 'Roboto', sans-serif;
        font-weight: 300;
        font-size: 16px;
        color: #5C5B5D;
    }

    .navbar {
        height: 3.5em;
    }

    .header {
        font-family: 'Lato', sans-serif;
        font-weight: 100;
        font-size: 2em;
        color: #989898;
        text-transform: uppercase;
        padding: 2em 0 1.2em 0;
    }

    p, a {
        line-height: 1.4em;
        font-size: 1.2em;
    }

    .mt20 {
        margin-top: 3em;
    }

    .mt17, .mt15 {
        margin-top: 2em;
    }

    .mt13, .mt10 {
        margin-top: 1.5em;
    }

    .mt7, .mt5, .mt3 {
        margin-top: 1em;
    }

    .mb20 {
        margin-bottom: 3em;
    }

    .mb17, .mb15 {
        margin-bottom: 2em;
    }

    .mb13, .mb10 {
        margin-bottom: 1.5em;
    }

    .mb7, .mb5, .mb3 {
        margin-bottom: 0.5em;
    }

    .mt10-mobile {
        margin-top: 70px;
    }

    a.link {
        font-size: 1.1em;
    }
}

@media (max-width: 475px) {
    .mt10-mobile {
        margin-top: 30px;
    }

    .mobile-max-width {
        max-width: 100vw;
    }

    .header {
        padding: 2em 0 0.4em 0;
        max-width: 100vw;
    }

    .team-photo-img {
        height: 10em;
    }

    .bioage-logo-bg-image > * {
        margin: 0 5%;
    }
}


@media (max-width: 1024px) {
    .team-header {
        margin: 2em 0 3em 0;
        max-width: 100vw;
    }
}



/* new navbar */
/*Strip the ul of padding and list styling*/
ul.navbar {
    list-style-type:none;
    margin:0;
    padding:0;
    position: fixed;
    top: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.home-page-logo-wrapper-full, .home-page-logo-wrapper {
    width: 100px;
    padding: 10px 20px;
}

.home-page-logo-wrapper-full {
    align-self: flex-start;
}

.home-page-logo {
    width: 30%;
    height: auto;
    float: left;
}

/*Create a horizontal list with spacing*/
.navbar li {
    float: left;
    margin-right: 1px;
    padding-bottom: 20px;
}
/*Style for menu links*/
.navbar li a {
    display: block;
    min-width: 140px;
    height: 50px;
    text-align: center;
    line-height: 65px;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: rgb(220, 220, 220);
    /* color: rgb(84, 94, 214); */
    /* font-weight: bold; */
    font-size: 13pt;
}
/*Style for dropdown links*/
.navbar li:hover ul a {
    height: 40px;
    line-height: 40px;
}
/*Hide dropdown links until they are needed*/
.navbar li ul {
    display: none;
}
/*Make dropdown links vertical*/
.navbar li ul li {
    display: block;
    float: none;
}
/*Prevent text wrapping*/
.navbar li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
}
/*Display the dropdown on hover*/
ul.navbar li a:hover + .hidden, .hidden:hover {
    display: block;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
    font-size: 24px;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    text-decoration: none;
    text-align: right;
    padding: 10px 2px;
    display: none;
}

/*Hide checkbox*/
input[type=checkbox]#show-menu {
    display: none;
}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu {
    display: block;
    z-index: 12;
}
input[type=checkbox]:checked ~ #menu > #menu-logo {
    display: none;
}

/*Responsive Styles*/
@media screen and (max-width : 760px){
    /*Make dropdown links appear inline*/
    ul.navbar {
        display: none;
        position: fixed;
        top: 44px;
    }
    /*Create vertical spacing*/
    .navbar li {
        // margin-bottom: 1px;
    }
    /*Make all menu links full width*/
    ul.navbar li, .navbar li a {
        width: 100%;
        background-color: rgb(34, 52, 66);
        position: static;
    }
    /*Display 'show menu' link*/
    .show-menu {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 96vw;
        position: fixed;
        top: 0;
        z-index: 9999;
    }
}

.hamburger-icon {
}

.bioage-logo-bg-image {
    background-image: url('./pics/main_mobile.png');
    height: 100vh;
    background-repeat: repeat;
    background-size: contain;
    background-position: center;
}

.email {
    color: #29C1BC;
    text-decoration: none;
    cursor: pointer;
}

a.email.blyat {
    font-size: 1em;
}
