html, body {
  overflow-x: hidden;
}
body { 
  position: relative
  min-height: 1000px;
  padding: 0;
  margin: 0;
  border: none;
  font-family: helvetica, arial;
  width:auto; overflow:hidden; max-width:auto;padding:0 .5em;
  background: #a3a19b;
}
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  /*background-color: #a3a19b;*/
  background-color: #333;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
  border-right: 1px #666 dotted;
}
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  /*color: #333;*/
  color: #a3a19b;
  display: block;
  transition: 0.2s;
}
.sidenav a:hover, .offcanvas a:focus{
  color: #f74f2a;
}
.sidenav a.home {
  margin-top: 30px;
}
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #f74f2a;
}
#main {
  transition: margin-left .5s;
  padding: 20px;
  overflow:hidden;
  width:100%;
}
img.me {
    text-align: left;
    filter:sepia(1) hue-rotate(714deg);
    margin-top: -15px;
    margin-bottom: 10px;
    width: 30%; 
}
.topnav {
  overflow: hidden;
  position: fixed;
  top: 20px;
  right: 10px;
}
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 7px 8px 1px 8px;
  text-decoration: none;
  font-size: 17px;
  /*border: 1px dotted #c0c0c0;*/
}
 
.topnav a:hover {
  color: black;
}
.topnav a.active {
  background-color: #4CAF50;
  color: white;
}
 

a svg {
  transition:all .5s ease;
  &:hover{
    #transform:rotate(180deg);
  }
}
 
#ico {
  display: none;
}
 
.menu {
  background: #000;
  display: none;
  padding: 5px;
  width: 320px;
  @include border-radius(5px);
 
  #transition: all 0.5s ease;
 
  a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 10px 2px;
    margin: 3px 0;
    text-decoration: none;
    background: #444;
 
    &:nth-child(1){
      margin-top: 0;
      @include border-radius(3px 3px 0 0 );
    }
    &:nth-child(5){
      margin-bottom: 0;
      @include border-radius(0 0 3px 3px);
    }
 
    &:hover{
      background: #555;
    }
  }
}
h2, #emailLink {
  text-align: center;
  color: #f74f2a;
  font-weight: 200;
}
#emailLinksvg {
    transform: scale(0.35);
    fill:  #f74f2a;;
    margin-left: 8%;
}

.pr ul li {
  list-style-type: none;
  /*text-align: center;*/
  color: #333;
  line-height: 22px;
  font-size:16px;
}
.pr ul li a {
  text-decoration: none;
  color: #333;
}
.pr ul li a:hover {
  cursor: pointer;
  text-decoration: underline;
  /*color: #f74f2a;*/
}
.pr ul li.code:hover {
  text-decoration: underline;
  /*color: #f74f2a;*/
}
.pr ul li.code:hover span {
    text-decoration: none !important;
    text-decoration-color: white !important;
}
.about { 
    width: 100%;
}
.about p {
  /*text-align: center;*/
  display: block;
  width: 52%;
  margin: 0 auto;
  padding: 5px 0;
  line-height: 22px;
  color: #333;
}
.about p:first-child {
    color: red;
}
.about h2 {
  padding: 22px 0 0 0;
}
button {
  display: none;
  width: 30px;
  height: 15px;
  background: url('../images/a-up2.png') no-repeat;
  background-size: cover;
  position: fixed;
  bottom: 20px;
  right: 30px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: opacity .2s ease-out;
}
.code button {
    color: #fff;
    right: -100000px;
    position: absolute;
}

button[class^="{showMonthlyChart"] {
    color: #fff;
    right: -100000px;
    position: absolute;
}
button:hover {
  opacity: .8;
  transition: opacity .2s ease-out;
}
/* Parallax */
.parallax-window {
  min-height: 600px;
  background: transparent;
  margin-top: 30px;
}
.parallax-window h1 {
  color: #f74f2a;
  text-align: center;
  font-size: 42px;
  line-height: 550px;
  text-shadow: 2px 2px #333;
}

/* Contact */
form {
  width:459px;
  margin:0 auto;
}
label {
  display:block;
  /*margin-top:15px;*/
  letter-spacing:1px;
  font-size: 17px;
  opacity: 0;
}
input, textarea {
  width:439px;
  /*height:12px;*/
  border-radius:2px;
  border:1px solid #888;
  padding:10px;
  margin-top:3px;
  font-size:0.9em;
  color:#3a3a3a;
}
input:focus, textarea:focus {
  /*border: 1px solid #f74f2a !important;*/
  outline: 2px solid #f74f2a;
  border-radius:2px;
}
textarea {
  height:70px;
  font-family:Arial, Helvetica, sans-serif;
}
#submit {
  width:105px;
  height:30px;
  margin-top:15px;
  cursor:pointer;
  color: #f74f2a;
  line-height: 8px;
  font-weight: bold;
  transition: background 0.1s ease-in;
}
#submit:hover {
  transition: background 0.1s ease-in;
  background: #f74f2a;
  border-color: #f74f2a;
  color: #fff;
}
footer {
  margin: 60px -5px 20px 0;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  color: #f74f2a;
}

.code-box {
    background-color: black;
    color: white;
    padding: 20px;
    display: none;
    position: relative;
}
.close-code, .copy-code {
    cursor: pointer;
    color: orange;
    position: absolute;
    font-size: 14px;
}
.close-code {
    top: 10px;
    right: 10px;
}
.copy-code {
    top: 10px;
    left: 10px;
}
.copy-code:hover {
    text-decoration: underline;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 20px; line-height: 23px}
  .parallax-window p {font-size: 22px}
}
@media screen and (max-width: 450px) {
  html, section {overflow: none;width:100%}
  .topnav {top: 8px;}
  .sidenav a {font-size: 20px;}
  .parallax-window h1 {font-size: 22px;}
  .about p {width: 88%;}
  h2 {font-size: 19px}
  .pr ul li, .about p {font-size: 16px;} 
  form {
    width:300px;
    margin-top: -15px;
  }
  input, textarea {
    width:300px;
    height: 22px;
    font-size: 12px;
    padding: 5px;
  }
  textarea {
    height: 70px;
  }
  label {
    font-size: 13px;
  }
  #submit {
    width:88px;
    height:28px;
    line-height: 28px;
    padding-top: 0;
  }
  button {
    bottom: 5px;
    right: 15px;
  }
  #emailLinksvg {
      padding-left: 50px;
      display: none;
  }
  section#projects ul {
      width: 99%;
  }
    section#projects ul li {
        /*float: right;*/
        text-align: left;
        margin-left: -38%;
    }
  img.me {
      width: 46%;
  }
} 


section#projects ul {
    width: 55%;
    margin: 0 auto;
}
li.code {display: none;}