* {
    box-sizing: border-box;
}

body {
    position: relative;
    overflow-x: hidden;
    background-color: #f1f1f1;
  /*background-image: url("images/bgpic.jpg");*/
    background-size: cover;
    /*overflow: scroll;
    position: fixed;*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background-image: url("images/main1.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
    margin: 0;
    color: #000066;
}

.container {
    width: 100%;
    margin-right: 0;
    margin-left: auto;
}
.col-lg-8.col-lg-offset-2 {
    margin-left: 5%;
    margin-right: 5%;
}
.col-lg-8 {
    width: 90%;
}
/*.container {
    margin-left: 0%;
    margin-right: 0%;
    padding: 0%;
}*/
body,
html { height: 100%;}
.nav .open > a, 
.nav .open > a:hover, 
.nav .open > a:focus {background-color: transparent;}

/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 220px;
}

#sidebar-wrapper {
    z-index: 1000;
    left: 220px;
    width: 0;
    height: 100%;
    margin-left: -220px;
    position: fixed;
    overflow-y: auto;
    overflow-x: hidden;
    /*background: #1a1a1a;*/
    background: #000066;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}

#wrapper.toggled #sidebar-wrapper {
    width: 220px;
}

#page-content-wrapper {
    width: 100%;
    padding-top: 0px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -220px;
}



/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 220px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}


.sidebar-nav li {
    position: relative; 
    line-height: 20px;
    display: inline-block;
    width: 100%;
    font-family: Menlo, monospace;
}

.sidebar-nav li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 3px;
    background-color: #1a1a1a;
    -webkit-transition: width .2s ease-in;
      -moz-transition:  width .2s ease-in;
       -ms-transition:  width .2s ease-in;
            transition: width .2s ease-in;

}

.sidebar-nav li.dropdown-element:first-child:before {
    background-color: #ec1b5a; 
}
.sidebar-nav li.dropdown-element:nth-child(2):before {
    background-color: #79aefe; 
}
.sidebar-nav li.dropdown-element:nth-child(3):before {
    background-color: #ead24c; 
}
.sidebar-nav li.dropdown-element:nth-child(4):before {
    background-color: #279636; 
}
.sidebar-nav li.dropdown-element:nth-child(5):before {
    background-color: #7d5d81; 
}

/*.sidebar-nav li:first-child a {
    color: #fff;
    background-color: #1a1a1a;
}*/
.sidebar-nav li:nth-child(1):before {
    background-color: #1a1a1a;   
}
.sidebar-nav li:nth-child(2):before {
    background-color: #ec1b5a;   
}
.sidebar-nav li:nth-child(3):before {
    background-color: #79aefe;   
}
.sidebar-nav li:nth-child(4):before {
    background-color: #ead24c;   
}
.sidebar-nav li:nth-child(5):before {
    background-color: #279636;   
}
.sidebar-nav li:nth-child(6):before {
    background-color: #7d5d81;   
}
.sidebar-nav li:nth-child(7):before {
    background-color: #314190;   
}
.sidebar-nav li:nth-child(8):before {
    background-color: #7d5d81;   
}
.sidebar-nav li:nth-child(9):before {
    background-color: #279636;   
}
.sidebar-nav li:nth-child(10):before {
    background-color: #ead24c;   
}
.sidebar-nav li:nth-child(11):before {
    background-color: #79aefe;   
}
.sidebar-nav li:nth-child(12):before {
    background-color: #ec1b5a;   
}

.sidebar-nav li:hover:before,
.sidebar-nav li.open:hover:before {
    width: 100%;
    -webkit-transition: width .2s ease-in;
      -moz-transition:  width .2s ease-in;
       -ms-transition:  width .2s ease-in;
            transition: width .2s ease-in;

}

.sidebar-nav li a {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 10px 15px 10px 30px;    
}

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus{
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 20px;
    line-height: 44px;
    display: block;
    color: #ddd;
    background-color: 000066;
    text-decoration: none;
    padding: 10px 15px 10px 30px;   
}
.sidebar-nav .dropdown-menu {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: #000000;
    box-shadow: none;
}

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
  position: fixed;
  top: 20px;  
  z-index: 999;
  display: block;
  width: 32px;
  height: 32px;
  margin-left: 15px;
  /*background: transparent;*/
  background: black;
  border: none;
}
.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  outline: none;
}
.hamburger.is-closed:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  /*color: #fff;*/
  /*color: white;*/
  color: #fca432;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom,
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
}
.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom {
  /*background-color: #000066;*/
  /*background-color: white;*/
  background-color: #fca432;
}
.hamburger.is-closed .hamb-top { 
  top: 5px; 
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed .hamb-middle {
  top: 50%;
  margin-top: -2px;
}
.hamburger.is-closed .hamb-bottom {
  bottom: 5px;  
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-top {
  top: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover .hamb-bottom {
  bottom: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  /*background-color: #000066;*/
  /*background-color: white;*/
  background-color: #fca432;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-bottom {
  top: 50%;
  margin-top: -2px;  
}
.hamburger.is-open .hamb-top { 
  -webkit-transform: rotate(45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open .hamb-middle { display: none; }
.hamburger.is-open .hamb-bottom {
  -webkit-transform: rotate(-45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  /*color: #fff;*/
  color: #fca432;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}

/*-------------------------------*/
/*            Overlay            */
/*-------------------------------*/

section {
    width: 100%;
    padding: 0%;
    display: table;
    margin: 0;
    max-width: none;
    /*background-color: #afffea;*/
    height: 100vh;
    font-weight: 500;
    overflow-x: hidden;
}

#mainpage {
    width: 100%;
    padding: 0 7%;
    padding-left: 30px;
    display: table;
    margin: 0;
    max-width: none;
    background-color: white;
    /*background-color: #f1f1f1;*/
    height: 100vh;
    font-weight: 500;

    /*&:nth-of-type(2n) {
        background-color: #e7fff9;
    }*/
}

section:nth-of-type(odd) {
    background-color: #01abaa;
    color: white;
}

section:nth-of-type(even) {
    background-color: #fedc3d;
    color: black;
}

section:nth-of-type(1){
    background-image: url("images/image_01.jpg");
    background-repeat: no-repeat;
    background-size: 45% 100%;
}

section header {
    padding: 3%;
    margin: 0px;
    background-color: black;
    color: #F6D3C6;
    /*font-family: "Times New Roman", Georgia, Serif;*/
    font-weight: bold;
    font-size: 3.2em;
    text-align: center;
    /*color: black;*/
    /*text-shadow: 2px 0 0 #cb6a38, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;*/
}

div.title {
    font-family: Palatino, Georgia, Serif;
    text-transform: uppercase;
}

#name {
    color: black;
    font-family: Palatino, Georgia, Serif;
    font-weight: bold;
    font-size: 4.3em;
    text-align: right;
    padding: 7%;
    /*margin-right: 10%*/
    padding-bottom: 0;
    padding-top: 0;
    font-weight: 300;
    text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

section main {
    padding-left: 7%;
    font-family: Consolas, monospace;
    font-size: 1.2em;
    padding-right: 7%;
    padding-top: 3%;
    padding-bottom: 3%;
    /*overflow-y: scroll;*/
    /*overflow: scroll;*/
}

.info {
  overflow: scroll;
}

/*#coursework {
    overflow-y: scroll;
    position: relative;
}*/

section .heading {
    font-family: Menlo, monospace;
    font-size: 1.3em;
    font-weight: bold;
    padding-top: 2%;
}

#home_main {
    display: table-cell;
    vertical-align: middle;
    color: black;
}

/*#home_main > header {
    text-align: center;
    font-size: 3.7em;
    display: block;
    color: white;
    font-weight: 300;
    font-family: Harrington, fantasy;
    text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}*/

#home_main main {
  padding-left: 60%;
  padding-top: 0;
  padding-bottom: 0%
}

#home_main main p {
  font-family: Consolas, monospace;
  font-size: 1em;
  text-align: right; 
  /*text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;*/
}

#home_main .logos2 {
  margin-left: 68%;
  /*margin-top: 10%*/
  padding-bottom: 10%;
}

#home_main .logos2 img {
  padding-top: 10px;
  width: 12%;
  height: auto;
  padding-right: 15px;
}

/*#home_main .resumedownload {
  margin-left: 84%;
  margin-top: 2%;
  padding-bottom: 10%;
}*/

#achievements > .info {
  padding-top: 10%;
}

ul.logos {
    margin: 0;
    padding: 0;
    list-style: none;
    /*align-items: center;*/
    text-align: center;
    /*padding-left: 35%;*/

}

li.logo {
    padding-top: 10%;
    padding-left: 4%;
    display: inline-block;
}

img.logo {
    display: block;
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}


.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250,250,250,.8);
    z-index: 1;
}

@media (max-width: 720px) {

    section:nth-of-type(1){
        background-image: url("images/image_01.jpg");
        /*background-repeat: no-repeat;*/
        background-size: 100% 80%;
    }

    .container {
        /*height: auto;*/
        width: auto;
        margin-right: auto;
        margin-left: auto;
        padding-right: auto;
        padding-left: auto;
        /*padding-right: 10%;
        padding-left: 10%;*/
    }
    /*.col-lg-8.col-lg-offset-2 {
        margin-left: auto;
        margin-right: auto;
    }
    .col-lg-8 {
        width: 80%;
    }*/
    section header {
        font-family: Monaco, monospace;
        font-size: 1.5em;
        text-align: center;
        padding-top: 4%;
    }

    section main {
        padding-left: 3%;
        font-family: Consolas, monospace;
        font-size: 1.0em;
    }

    #home_main {
        /*display: block;*/
        vertical-align: bottom;
        color: black;
        /*padding-top: 80%;*/
        padding-bottom: 0;
    }

    #name {
      /*position: absolute;*/
      color: black;
      font-family: Palatino, Georgia, Serif;
      font-weight: normal;
      font-size: 2em;
      text-align: center;
      /*padding: 7%;*/
      padding-top: 100%;
      padding-bottom: 0%;
      margin-bottom: 0;
      /*top: 200px;
      left: 55px;*/
      /*margin-top: 70%;*/
      font-weight: 150;
      text-shadow: none;
  }

  #home_main main {
      font-size: 0.8em;
      padding-left: 2%;
  }
  #home_main main p {
      font-family: Consolas, monospace;
      /*font-size: 1em;*/
      text-align: center; 
  /*text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;*/
  }

  #home_main .logos2 {
    margin-left: 0%;
    /*margin-top: 10%*/
    padding-bottom: 17%;
  }

  #home_main .logos2 img {
    padding-top: 2px;
    width: 14%;
    height: auto;
    padding-left: 10px;
    padding-right: 0;
  }

  ul.logos {
    margin: 0;
    padding: 0;
    list-style: none;
    /*align-items: center;*/
    /*padding-left: 35%;*/
    /*text-align: center;*/
    /*display: flex;
    align-items: center;*/
  }

  li.logo {
      padding-top: 10%;
      padding-left: 40%;
      /*list-style-type: none;*/
/*      height: 70px;
      line-height: 70px;*/
      /*vertical-align: middle;*/
      display: block;
      /*vertical-align: middle;*/
  }

  img.logo {
      max-width: 70px;
      max-height: 70px;
      width: auto;
      height: auto;
  }
}