html,body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Mono";
}

/* Internal link header fix */
.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* header {
    background: rgba(10, 15, 20, 1);
    height: 100px;
    text-align: right;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
} */

nav a {
    color: #888888;
    text-decoration: none;
    margin-left: 2%;
    margin-right: 2%;
    line-height: 100px;
    transition: 1s;
    font-size: 2.5em;
}

nav a:hover {
    color: #FFFFFF;
    transition: 1s;
}

nav {
    margin-right: 4%;
    height: 100px;
    width: 600px;
    float: right;
    z-index: 1;
    display: block;
}

#logo {
    float: left;
    margin-top: 10px;
    margin-left: 1%;
}

#homeLink {
    border-radius: 30px;
}

#div1 { 
    background-color: rgba(10, 15, 20, 1);
    /* background: url(images/leaves.jpeg) no-repeat center center fixed;  */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: relative;
}

#div1 #frame { 
    background-color: rgba(15, 21, 25, 1);
    margin-top: 100px;
    height: 80%;
    margin-left: 5%;
    width: 90%;
    position: relative;
    border: thin solid #888888;
    border-radius: 10px;
}

#div1 h1{
    padding-top: 49px;
    margin-right: 4%;
    color: #EEEEEE;
    font-size: 4em;
    text-align: left;
    display: block;
    float: left;
    width: 500px;
}

#div1 h1 span{
    padding-top: 49px;
    margin-right: 4%;
    padding-top: 10px;
    color: #EEEEEE;
    font-size: 0.5em;
    text-align: left;
    display: block;
    float: left;
}

#div1 h2{
    padding-top: 0px;
    margin-left: 3%;
    color: #888888;
    font-size: 3em;
    text-align: left;
    /* display: block; */
    clear:both;
    margin-top: 0px;
}

#div1 h2:hover {
    color: #CCCCCC;
    transition: 1s;
    cursor:pointer;
}

#menuText {
    margin-top: 30px;
    float: left;
    clear:both;
}

#textBox1 {
    /* pointer-events: none; */
    background: rgba(0,0,0,0);
    float: right;
    margin-left: 8%;
    z-index: 1;
    display:block;
    position: absolute;
    top: 50px;
    text-align: center;
}

#timeline {
    width: 600px;
    display: block;
    float:right;
    position: absolute;
    top: 300px;
    left: 35%;
}



.work, .work ul, .work li {
    /* direction: rtl; */
    position: relative;
    color:#FFFFFF;
    transition: 0.3s;
}

.work {
    cursor:default;
    background: rgba(0,0,0,0);
    color: #FFFFFF;
    transition: 0.3s;
    width: 100px;
    margin-left: 0%;
    z-index: 1;
    display:block;
    position:relative;
    left: 0px;
    top: 0px;
    float: right;
}

.work li {
    cursor:default;
    width: 300px;
    text-align: left;
    font-size: 1em;
    padding-left: 30px;
}

.work ul {
   list-style: none;
   padding-left: 32px;
}

.work li::before, .work li::after {
   content: "";
   position: absolute;
   left: -24px;
}

.work li::before {
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    transition: 0.3s;
    border-radius: 5px;
    top: -25px;
    width: 40px;
    height: 43px;
}

.work #TA::before {
    height: 60px;
}

.work #TA {
    padding-top: 0px;
}

.work #IT::before {
    height: 80px;
}

.work #IT {
    padding-top: 20px;
}

.work #BIO::before {
    height: 80px;
}

.work #BIO {
    padding-top: 20px;
}

.work #PHSA::before {
    height: 80px;
}

.work #PHSA {
    padding-top: 20px;
}

.work ul > li:last-child::after {
   height: 8px;
}

.school, .school ul, .school li {
    direction: rtl;
    position: relative;
    color:#FFFFFF;
    transition: 0.3s;
}

.school {
    cursor:default;
    background: rgba(0,0,0,0);
    color: #FFFFFF;
    transition: 0.3s;
    width: 360px;
    margin-left: 5%;
    z-index: 1;
    display:block;
    position: relative;
    left: 20%;
    top: 0px;
    float: left;
}

.school li {
    cursor:default;
    width: 400px;
    text-align: right;
    font-size: 1em;
    padding-right: 30px;
}

.school ul {
   text-align: right;
   list-style: none;
   padding-right: 32px;
}

.school li::before, .school li::after {
   content: "";
   position: absolute;
   left: 419px;
}

.school li::before {
   border-bottom: 1px solid #FFFFFF;
   border-right: 1px solid #FFFFFF;
   transition: 0.3s;
   border-radius: 5px;
   top: -25px;
   width: 40px;
   height: 60px;
}

.school #Langara::before {
    height: 90px;
 }

 .school #Langara {
    padding-top: 30px;
 }

 .school #SFU::before {
    height: 210px;
 }
 .school #SFU {
    padding-top: 150px;
 }

.school ul > li:last-child::after {
   height: 8px;
}

#projects {
    width: 65%;
    display: block;
    position: absolute;
    top: 300px;
    font-size: 1.5em;
    right: 5%;
    background: rgba(0,0,0,0);
}

#projects #projFrame {
    position: relative;
    float: left;
    background-color: rgb(21, 30, 36);
    margin-top: 10px;
    height: 400px;
    margin-right: 1%;
    width: 65%;
    border: thin solid #888888;
    border-radius: 10px;
    transition: 0s;
}

#projDesc {
    width: 90%;
    color: white;
    font-size: 0.7em;
    margin: auto;
    text-align: left;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 10px;
    margin-bottom: 10px;
}

#projStack {
    width: 90%;
    color: white;
    font-size: 0.7em;
    margin: auto;
    text-align: left;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 10px;
    margin-bottom: 10px;
}

#vidLink {
    width: 90%;
    color: white;
    font-size: 0.7em;
    margin: auto;
    text-align: left;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 10px;
    margin-bottom: 10px;
    z-index: 10000;
    position:relative;
}

#projImg {
    position: absolute;
    bottom: 30px;
    background-image: url("images/SC1.png");
    background-size: cover;
    background-position: center;
    width: 50%;
    height: 240px;
    margin-left: 25%;
}

#projects ul {
    float: right;
    width: 30%;
    padding: 0;
}

#projects li {
    color: #888888;
    margin-top: 24px;
    transition: 0.3s;
    list-style-type: none;
    cursor: pointer;
    font-family: inherit;
}

#projects li:hover {
    color: white;
    transition: 0.5s;
}

#contact {
    width: 55%;
    display: block;
    position: absolute;
    top: 300px;
    right: 5%;
    background: rgba(0,0,0,0);
    transition: 0s;
}

#contact label {
    color: #DDDDDD;
    line-height: 1.3em;
    font-size: 1.3em;
    padding-top: 20px;
    padding-bottom: 10px;
    font-family: "IBM Plex Mono";
    padding-right: 75%;
    float: left;
}

input {
    background-color: rgb(21, 30, 36);
    border: thin solid #888888;
    border-radius: 10px;
    color:#DDDDDD;
    line-height: 1.3em;
    font-size: 1.3em;
    font-family: "IBM Plex Mono";
    float: left;
}

textarea {
    background-color: rgb(21, 30, 36);
    border: thin solid #888888;
    border-radius: 10px;
    color: #DDDDDD;
    line-height: 1.3em;
    font-size: 1.3em;
    font-family: "IBM Plex Mono";
    float: left;
}

#submit {
    float: left;
    margin-right: 80%;
    margin-top: 20px;
    cursor: pointer;
}

#submit:hover {
    background-color: rgb(50, 64, 74);
}

/* 
#div2 { 
    background: url(images/stone.jpeg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 800px;
}

#block2 {
    background: #BBBBBB;
    height: 100%;
    width: 60%;
    float: right;
}

#textBox2 {
    margin-right: 20%;
}

#text2{
    margin-left: 10%;
}

#textBox2 h1 {
    color: #555555;
    font-size: 3em;
    text-align: right;
}

#textBox2 h2{
    color: #444444;
    font-size: 1.3em;
    text-align: right;
    transition: 0.5s;
    line-height: 2em;
    margin-top: 100px;
}

#div3 { 
    background: url(images/trees.jpeg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 800px;
}

#block3 {
    background: #555555;
    height: 100%;
    width: 45%;
    float: left;
}



#textBox3 h1 {
    color: #DDDDDD;
    font-size: 3em;
    text-align: left;
    margin-left: 5%;
}

#text3 {
    margin-left: 5%;
    margin-right: 5%;
}

#text3 a{
    color: #CCCCCC;
    text-decoration: none;
    font-size: 1.5em;
    transition: 0.3s;
    padding: 0;
    display: block;
    margin-bottom: 20px;
}

#text3 a:hover {
    color: #EEEEEE;
    transition: 0.3s;
}

#div4 { 
    background: url(images/road.jpeg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 800px;
}

#block4a {
    width: 100%;
    height: 20%;
}

#block4 {
    background: rgba(68, 68, 68, 0.7);
    height: 50%;
    width: 100%;
}

#textBox4 {
    margin-right: 10%;
}

form {
    margin-left: 2em;
}

#textBox4 h1 {
    color: #DDDDDD;
    font-size: 3em;
    text-align: right;
    margin-bottom: 0;
    padding-top: 0.5em;
}

#div4 label {
    color: #DDDDDD;
    font-size: 1.2em;
    text-align: left;
    margin: 1em;
}

#div4 textarea {
    resize: none;
    width: 100%;
    margin: 1.5em;
    margin-top: 0.5em;
}

textarea::selection, input::selection {
    background: #BBBBBB;
}

#submit {
    border: 1px solid #DDDDDD;
    background: rgba(0, 0, 0, 0.3);
    width: 150px;
    height: 50px;
    color: #EEEEEE;
    font-family: Montserrat;
    font-size: 1.2em;
    margin-left: 1.2em;
    transition: 0.3s;
}

#submit:hover {
    background: rgba(150, 150, 150, 0.3);
    transition: 0.3s;
    cursor: pointer;
}

footer {
    background: #444444;
    height: 150px;
    width: 100%;
    color: #AAAAAA;
    text-align: center;
}

footer a{
    color: #CCCCCC;
    text-decoration: none;
    font-size: 1.5em;
    transition: 0.3s;
    margin: 5%;
}

footer a:hover {
    color: #EEEEEE;
    transition: 0.3s;
}

#space1 {
    width: 100%;
    height: 30px;
}

#space2 {
    width: 100%;
    height: 20px;
}

.show h1, .show h2{
    transition: 0.3s;
} */

.active {
    color:#FFFFFF !important;
}

.hide, .hide canvas, .hide h1, .hide h2, .hide a, .hide li, .hide li::before{
    border-bottom-color: rgba(0,0,0,0);
    border-left-color: rgba(0,0,0,0);
    border-right-color: rgba(0,0,0,0);
    color: rgba(0,0,0,0) !important;
    border-color: rgba(0,0,0,0) !important;
    background-color: rgba(0,0,0,0) !important;
    transition: 0s;
}

.disappear {
    top: -2000px !important;
    transition-delay: 1s;
}

::selection {
    background: rgba(0, 0, 0, 0);
}

h1:hover, h2:hover {
    cursor: default;
}

@media only screen and (max-width: 1000px){
    nav {
        display: none;
    }

    header {
        background: rgba(0, 0, 0, 0);
    }

    #div1 {
        margin-top: 0;
        width: 100%;
        height: 95%;
    }

    #div1 #frame {
        display:none;
    }

    #block2, #block3 {
        width: 100%;
        height: 500px;
    }

    #textBox2 h2{
        margin-top: 0;
        font-size: 1em;
    }

    form {
        margin-left: 0;
    }

}