html {
    height: 100%;
    width: 100%;
}

body {
    font-size: 62.5%;
}

/* Hide all content below this size*/
@media screen and (max-width: 300px) {
    .mainContainerHome,
    .mainContainerProjects,
    .projects-xs, 
    .row {
    display: none;
    }
}

@media screen and (max-height: 300px) {
    .mainContainerHome,
    .mainContainerProjects,
    .projects-xs,
    .row {
        display: none;
    }
}

.row.no-pad {
    margin-right: 0;
    margin-left: 0;
}

.row.no-pad>[class*='col-'] {
    padding: 10px;
}

.mailto-wrapper {
    position: relative;
}

.mailto-message {
    left: 30%;
    position: relative;
    display: none;
    width: auto;
    white-space: nowrap;
    font-family: 'Muli', sans-serif;
    font-size: 12px;
    background-color: #ffffff;
    color: #000000;
    padding: 4px;
    border-radius: 4px;
    width: 110px;
    text-align: center;
    margin-top: 8px;
    transition: all .5s ease;

    &:after {
        content: '';
    }
}

.mailto-wrapper:hover .mailto-message {
    display: block;
    position: relative;
    transition: all .5s ease;
}

.message,
.message2 {
    font-family: 'Muli', sans-serif;
    font-size: 12pt;
    font-weight: 400;
    color: #444444;
    display: none;
    vertical-align: middle;
    padding-left: 10px;
    text-align: center;
    margin-top: 50vh;
}

.mainContainerHome {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 100%;
}

.mainContainerProjects {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
}

#nav-icon3 {
    width: 26px;
    height: 9px;
    padding: 10px;
    position: fixed;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    margin-left: 9px;
    margin-top: 35px;
    cursor: pointer;
    z-index: 2;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    background: #333333;
    opacity: 1;
}

#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
    top: 8px;
}

#nav-icon3 span:nth-child(4) {
    top: 16px;
}

#nav-icon3.open span:nth-child(1) {
    top: 30px;
    width: 0%;
    left: 50%;
}

#nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.sidenav {
    height: 100%;
    width: 0;
    /* change in JS */
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
    padding-top: 70px;
    transition: 0.5s;
    box-shadow: 4px 2px 8px rgba(0, 0, 0, 0.2);
}

.sidenav a {
    text-decoration: none;
    display: block;
    transition: 0.3s;
    font-family: 'Muli', sans-serif;
    font-size: calc(8pt + 1vw);
    font-weight: 300;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
}

.email {
    text-decoration: none;
    color: #333333;
}

.sidenav a:hover {
    color: #cbcbe6;
}

.sidenav .menuheader {
    font-family: 'Ovo', serif;
    font-size: 20pt;
    font-weight: 300;
    text-align: left;
    padding-left: 36px;
    padding-top: 24px;
    color: #3b3b3b;
    -webkit-font-smoothing: antialiased;
}

.sidenav .listheader {
    font-family: 'Ovo', serif;
    font-size: 20pt;
    font-weight: 300;
    text-align: left;
    padding-left: 36px;
    margin-top: 20px;
    padding-top: 8px;
    color: #3b3b3b;
    -webkit-font-smoothing: antialiased;
}

.sidenav .list {
    font-family: 'Muli', sans-serif;
    font-size: 13pt;
    font-weight: 300;
    text-align: left;
    margin-left: 54px;
    line-height: 30px;
    color: #3b3b3b;
}

.sidenav .closebtn {
    position: absolute;
    top: 10px;
    font-size: 34px;
    padding: 10px;
    padding-left: 14px;
    color: #3b3b3b;
    cursor: pointer;
}

.menubutton {
    width: 46px;
    height: 46px;
    fill: #cbcbe6;
    cursor: pointer;
}

img {
    border: none;
}

p {
    font-family: 'Muli', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #282828;
}

ol #plist {
    font-family: 'Muli', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333333;
    text-align: left;
    line-height: 22px;
}

ul #plist {
    font-family: 'Muli', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333333;
    text-align: left;
    line-height: 20px;
}

h1 {
    display: inline;
    font-family: 'Ovo', serif;
    font-weight: 500;
    font-size: 3rem;
    color: #282828;
    letter-spacing: .1rem;
    z-index: 5;
    margin-top: 50px;
    margin-bottom: 2vh;
    width: 100%;
    position: absolute;
    -webkit-font-smoothing: antialiased;
}

h2 {
    text-anchor: left;
    font-family: 'Ovo', serif;
    font-size: 42px;
    color: #ffffff;
    padding-top: 5.5%;
    padding-right: 10px;
    padding-left: 20px;
    line-height: 40px;
    -webkit-font-smoothing: antialiased;
}

h3 {
    text-anchor: left;
    font-family: 'Muli', sans-serif;
    font-weight: 300;
    font-size: 21px;
    color: #ffffff;
    letter-spacing: .5px;
    margin-top: -2px;
    padding-bottom: 5.5%;
    padding-left: 20px;
    padding-right: 10px;
    opacity: .7;
}

.xs-h2 {
    font-family: 'Ovo', serif;
    font-size: 22px;
    color: black;
    -webkit-font-smoothing: antialiased;
    z-index: 3;
    text-align: center;
    padding-top: 10px;
    margin-bottom: -2px;
}

.xs-h3 {
    font-family: 'Muli', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: black;
    letter-spacing: .5px;
    opacity: .7;
    z-index: 3;
    text-align: center;
    margin-top: -6px;
}

h4 {
    font-family: 'Ovo', serif;
    font-size: 32px;
    color: #282828;
    letter-spacing: .1px;
    padding-bottom: 10px;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

.megaglyph {
    font-family: 'Ovo', serif;
    font-size: calc(130pt + 5vw);
    color: #C4F764;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    margin: auto;
    float: left;
    position: relative;
    z-index: 0;
}

.blockquote {
    font-family: 'Muli', sans-serif;
    font-size: calc(12px + 2vw);
    font-weight: 300;
    color: #444444;
    -webkit-font-smoothing: antialiased;
    display: inline;
    position: relative;
    z-index: 1;
}

.quote {
    font-family: 'Times', serif;
    font-size: calc(132pt + 10vw);
    -webkit-font-smoothing: antialiased;
    position: absolute;
    z-index: 0;
    width: 100%;
    line-height: 40px;
    margin-top: 30px;
}

span.reference {
    position: relative;
    display: block;
    text-align: right;
    margin-top: 5px;
    color: #999;
}

span.reference:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-right: 20%;
    background: #ccc;
    z-index: 1;
}

i {
    font-family: 'Muli', sans-serif;
    font-size: calc(5pt + 1vw);
    font-weight: 400;
    color: #282828;
    position: relative;
    background: #ffffff;
    padding-left: 8px;
    font-style: italic;
    z-index: 5
}

.subglyph {
    visibility: visible;
    font-family: 'Muli', sans-serif;
    font-weight: 600;
    font-size: calc(12pt + 1vw);
    color: #282828;
    -webkit-font-smoothing: antialiased;
    text-align: left;
    float: top;
    padding-top: 30px;
    padding-left: 40px;
    position: absolute;
    z-index: 1;
}

#pstep {
    font-family: 'Muli', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333333;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    position: relative;
    margin-left: 60px;
    margin-top: 4vw;
    line-height: 26px;
}

.pabout {
    font-family: 'Muli', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333333;
    text-align: left;
    line-height: 26px;
    padding: 46px;
    margin-top: 120px;
}

.pproject {
    float: left;
    font-family: 'Muli', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333333;
    text-align: left;
    line-height: 26px;
    padding-right: 20px;
}

#caption {
    font-family: 'Muli', sans-serif;
    font-size: 10pt;
    font-weight: 700;
    color: #333333;
    text-align: left;
    margin-left: 0;
    margin: auto;
    margin-top: -10px;
}

#caption_1col {
    font-family: 'Muli', sans-serif;
    font-size: 10pt;
    font-weight: 700;
    color: #333333;
    text-align: left;
    padding-top: 6px;
    margin: auto;
}

#fullwidthtext {
    font-family: 'Ovo';
    font-size: calc(16px + 2vw);
    font-weight: 200;
    color: #444444;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    z-index: 2;
}

#headeroverlay {
    margin-left: -24px;
    margin-top: 80px;
    width: auto;
    max-width: 460px;
    height: auto;
    min-height: 120px;
    box-shadow: 5px 3px 10px rgba(0, 0, 0, 0.2);
}

.header-apps {
    background: url('images/apps/header.jpg');
    background-position: 73% 100%;
}

.header-big-brook {
    background: url('images/big_brook/header.png');
    background-position: 73% 100%;
}

.header-illustration {
    background: url('images/illustration/header2.jpg');
    background-position: 73% 100%;
}

.header-colocated {
    background: url('images/colocated/header.png');
    background-position: 10% 100%;
}

.header-orbit {
    background: url('images/orbit/header.jpg');
    background-position: 27% 100%;
}

.header-user-research {
    background: url('images/home/home_research_2.jpg');
    background-position: 73% 100%;
}

.project-header {
    height: 590px;
    min-height: 300px;
    max-height: 85vh;
    vertical-align: middle;
    margin-left: 18%;
    right: 0px;
    background-repeat: no-repeat;
    background-attachment: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.projectimage {
    max-height: 900px;
    max-width: 100%;
    display: block;
    margin: auto;
}

.bottomimage {
    width: 86%;
    height: auto;
    max-height: 900px;
    padding-top: 30px;
    z-index: 0;
    position: relative;
    text-align: center;
}

.overlapimage {
    width: 50%;
    height: auto;
    position: absolute;
    right: 0px;
    top: -20px;
    z-index: 1;
}

#prevnext:hover {
    color: rgb(226, 69, 43);
    transition: all .2s ease;
}

#prevnext {
    font-family: 'Muli', sans-serif;
    font-weight: 700;
    font-size: calc(8pt + .15vw);
    color: #444444;
    letter-spacing: .5px;
    padding: 10px;
}

#footer {
    width: 100vw;
    z-index: 10;
    bottom: 0px;
    position: fixed;
    display: none;
}

@media screen and (min-width: 500px) {
    #footer {
        display: block
    }
}


/*spacing between list items */
li:not(:last-child) {
    margin-bottom: 20px;
}

/* unique hover background color and text color for list items*/
li{
  text-decoration: none;
}

span li > a:before {
  margin-right: 34px;
  content: '\00a0';
  position: relative;
  display: inline-block;
  height: 26px;
  width: 20px;
  margin-left: -56px;
  opacity: .8;

}

li > a:hover {
  transition: all .3s ease-in;
}

span li > a:first-child:hover:before {
  background: #AEA6C9;
}

span li:first-child + li > a:hover:before  {
  background: #E2694D;
}

span li:first-child + li + li > a:hover:before  {
  background: #E5C953;
}

span li:first-child + li + li + li > a:hover:before  {
  background: #EA8642;
}

span li:first-child + li + li + li + li > a:hover:before {
  background: #BCB58F;
}

span li:first-child + li + li + li + li + li > a:hover:before {
  background: #7D9DB5;
}

#pagebackground {
    width: 58%;
    height: 100%;
    z-index: 1;
    position: fixed;
    top: 68px;
    right: 0;
}

/* default project image, should match p1*/
#pic+#pagebackground {
    background: #E6E1EF;
    transition: ease-in 0.3s;
}

/* hover list #1 page background*/
#pic.p1+#pagebackground {
    background-color: #E6E1EF;
    transition: ease-in 0.3s;
}

/* hover list #2 page background*/
#pic.p2+#pagebackground {
    background-color: #EFAA9E;
    transition: ease-in 0.3s;
}

/* hover list #3 page background*/
#pic.p3+#pagebackground {
    background: #E8E3CD;
    transition: ease-in 0.3s;
}

/* hover list #4 page background*/
#pic.p4+#pagebackground {
    background: #EDD3B9;
    transition: ease-in 0.3s;
}

/* hover list #5 page background*/
#pic.p5+#pagebackground {
    background: #DBDBDB;
    transition: ease-in 0.3s;
}

/* hover list #6 page background*/
#pic.p6+#pagebackground {
    background: #BFCEDB;
    transition: ease-in 0.3s;
}

#projectlist {
    list-style-type: none;
    font-family: 'Muli', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    z-index: 2;
    line-height: 130%;
}

#projectlist a {
    text-decoration: none;
    color: inherit;
}

#aboutBTN,
#projectsBTN {
    -webkit-appearance: none;
    border: none;
    outline: none;
    font-family: 'Ovo', serif;
    font-size: 2rem;
    font-weight: 700;
    display: block;
    z-index: 2;
    background-color: Transparent;
    letter-spacing: .12rem;
    top: 480px;
}

#picAbout {
    height: 100%;
    max-height: 70vh;
    z-index: 2;
    top: 120px;
    background-image: url('images/home/2.jpg');
    background-size: cover;
    transition: ease-in 0.3s;
    background-position: 25% 100%;
    position: absolute;
}

#pic {
    height: 100%;
    max-height: 70vh;
    width: 100%;
    z-index: 2;
    top: 120px;
    background-image: url('images/home/home_orbit.png');
    background-repeat: no-repeat;
    background-size: cover;
    transition: ease-in 0.3s;
    position: absolute;
    right: 0;
}

#pic.p1 {
    background-image: url('images/home/home_orbit.png');
}

#pic.p2 {
    background-image: url('images/home/home_apps.png');
}

#pic.p3 {
    background-image: url('images/home/big_brook.jpg');
    background-position: 50% 0%;
}

#pic.p4 {
    background-image: url('images/home/home_co-located.png');
    background-position: 0% 0%;
}

#pic.p5 {
    background-image: url('images/home/home_research_2.jpg');
}

#pic.p6 {
    background-image: url('images/home/home_illustration2.jpg');
    background-position: 36% 0%;
}

#aboutSection {
    display: none;
    top: 80px;
    padding-bottom: 50px;
    height: 100%;
}

#projectsBTN:hover,
#aboutBTN:hover {
    color: #f00;
    transition: all .3s ease;
}

#description {
    font-size: 15px;
    font-weight: 600;
    color: #282828;
    z-index: 2;
    position: absolute;
    bottom: -40px;
}

.grid {
    width: 400px;
    height: auto;
    margin-top: -24px;
    float: right;
    z-index: 1;
}

.home-thumbnail {
    width: 80vw; 
    height: auto; 
    margin-left: auto;
    margin-right: auto;
    display: block;
    z-index: 1;
}

.home-rect {
    width: 80vw; 
    z-index:2; 
    margin: auto; 
    display: block; 
    margin-bottom: 46px;
    padding-bottom: 6px;
    text-decoration: none;
}

/*/*  ---------------------------------------  RESPONSIVE LAYOUTS  -----------------------------------------------------
Extra small devices */
@media (max-width: 575px) {
    .projects-xs {
        width: 100vw;
        height: 100vh;
        margin-top: 160px;
    }

    .picAbout-xs {
        height: 250px;
        width: 250px;
        z-index: 2;
        top: 120px;
        background-image: url('images/home/2.jpg');
        background-size: cover;
        transition: ease-in 0.3s;
        border-radius: 50%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .pabout {
        padding: 50px;
        margin-top: 100px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    #aboutBTN,
    #projectsBTN {
        text-align: center;
        width: 100%;
        padding: 50px;
        z-index: 22;
        position: relative;
        top: 0;
    }

    h1,
    .pabout {
        text-align: center;
    }

    #pic,
    #projectlist,
    #pagebackground,
    #subglyph,
    #description,
    .container,
    .homeprojectcont,
    span li > a:before {
        display: none;
    }

    .mainContainerHome {
        overflow: visible;
    }

    #picAbout {
        visibility: hidden;
    }
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767px) {
    #projectlist {
        text-align: left;
        margin-top: 160px;
        margin-left: 50px;
        line-height: 130%;
        padding-left: 0px;
    }

    #aboutBTN,
    #projectsBTN {
        text-align: left;
        margin-left: 50px;
        padding-left: 0px;
        position: fixed;
    }

    h1 {
        text-align: left;
        margin-left: 45px;
    }

    .projects-xs,
    .picAbout-xs {
        visibility: hidden;
    }

    .mainContainerHome {
        overflow: hidden;
    }

    .homeprojectcont {
        height: 100vh;  
        z-index: -1;
        right: 0;
        position: fixed;
        width: 50vw;
    }

    #pagebackground {
        width: 40vw;
    }

    .pabout {
        width: 40vw;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991px) {
    #projectlist {
        text-align: left;
        margin-top: 160px;
        margin-left: 50px;
        padding-left: 0px;
    }

    #aboutBTN,
    #projectsBTN {
        text-align: left;
        margin-left: 50px;
        padding-left: 0px;
        position: fixed;
    }

    h1 {
        text-align: left;
        margin-left: 45px;
    }

    .projects-xs,
    .picAbout-xs {
        visibility: hidden;
    }

    .mainContainerHome {
        overflow: hidden;
    }
   
    .homeprojectcont {
        height: 100vh;  
        z-index: -1;
        right: 0;
        position: fixed;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199px) {
    #projectlist {
        text-align: left;
        margin-top: 160px;
        margin-left: 50px;
        padding-left: 0px;
    }

    #aboutBTN,
    #projectsBTN {
        text-align: left;
        margin-left: 50px;
        padding-left: 0px;
        position: fixed;
    }

    h1 {
        text-align: left;
        margin-left: 45px;
    }

    .projects-xs,
    .picAbout-xs {
        visibility: hidden;
    }

    .mainContainerHome {
        overflow: hidden;
    }

    .homeprojectcont {
        height: 100vh;  
        z-index: -1;
        right: 0;
        position: fixed;
    }
}

/* Extra Large devices (desktops, 992px and up)*/
@media (min-width: 1200px) {
    #projectlist {
        text-align: left;
        margin-top: 160px;
        margin-left: 50px;
        padding-left: 0px;
    }

    #aboutBTN,
    #projectsBTN {
        text-align: left;
        margin-left: 50px;
        padding-left: 0px;
        position: fixed;
    }

    h1 {
        text-align: left;
        margin-left: 45px;
    }

    .projects-xs,
    .picAbout-xs {
        visibility: hidden;
    }

    .mainContainerHome {
        overflow: hidden;
    }
    
    .homeprojectcont {
        height: 100vh;  
        z-index: -1;
        right: 0;
        position: fixed;
    }
}

.container {
    width: 100%;
    padding: 0;  
    overflow: hidden;  
}

.construction {
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
}

.construction-text {
    font-family: 'Muli', sans-serif; 
    font-weight: 200; 
    font-size: 18px; 
    color: black; 
    margin-top: 30vh; 
    margin-left margin-right: auto; 
    letter-spacing: .5px; 
    text-align: center;
}