body {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  background-image: url('images/alphacode.gif');
  background-size: 100%;
	color: #101000
	}
	
a {
  color: #FF0000;
  }
  
  h2 {
    background: #67717A;
background: linear-gradient(to right, #67717A 0%, #D8D8D8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

    }
  
  p {
    color: #FF0000;
  }

/*Main text section*/
.main { 
  border-radius: 5px;
  background: #000000;
  border: 1px solid #FF000;
  width: 500px;
  padding:15px;
  margin: 20px 25px 25px 400px;
  }
  
/*Prevent overflow of large images*/
.main img, .sidebar-left img {
  max-width: 100%;
  height: auto;
  }
  
/*Sidebar*/
.sidebar-left {
  background: #000000;
  border: 1px solid #FF0000;
  width: 250px;
  margin-left:75px;
  padding:15px;
  margin-top:-25px;
  min-height:100%;
  position:fixed;
  overflow:auto;
  text-align:center;
  }
  
/*Use with <ul> to create a button section in the sidebar.*/
.buttons {
  list-style-type:none;
  padding:3px;
  }
  
/*Use with <li> for individual buttons.*/
.button { 
  text-align:center;
  border-radius: 5px;
  border: 1px solid #FF0000;
  padding: 10px;
  margin:5px;
  margin-top:10px;
  margin-bottom:10px;
  }
  
  .projects {
    list-style-type: none;
    display: inline;
  }
  
  .project {
    display: inline;
  }
  
  .project::after{
    content: " ";
  word-spacing: 16px;
  background: url("data:image/svg+xml;charset=utf-8,\
  <svg xmlns='http://www.w3.org/2000/svg' \
    viewBox='-3,-15,16,16'>\
      <text> ✜ </text>\
  </svg>");
  }
  
.sideimage { /*optional*/
  right: 30px;
  bottom:-20px;
  float: right;
  position: fixed;
  max-width: 450px;
  }
  
.sideimage img {
  max-width: 100%;
  height: auto;  
  }

  
@media(max-width: 1440px) {
    .sideimage {
      max-width: 0%;
      /*if this can be executed, override the previous rule, otherwise hide the side image*/
      max-width: calc(100% - 975px);
      }
  }
  
@media(max-width: 1200px) {
    .sidebar-left {
      margin-left: 25px;
      }
    
    .main {
      margin-left: 350px;
      }
  
    .sideimage {
      right: 5px;
      max-width: 0%;
      /*if this can be executed, override the previous rule, otherwise hide the side image*/
      max-width: calc(100% - 900px);
      }
  }
  
@media(max-width: 1000px) {
  
    .sidebar-left {
      margin-left: 5px;
      }
    
    .main {
      margin-left: 330px;
      }
  
    .sideimage {
      /*don't even bother at this point*/
      display: none;
      }
  }

  
/*Tentative mobile support.*/
@media(orientation:portrait) {
  .sidebar-left {
    min-height:0px;
    width: 100%;
    margin: 0 auto;
    top:0;
    left: 0;
    padding: 0;
    font-size: 0.9em;
    position: relative;
    border-radius: 5px;
    }
    
  .main {
    width: 90%;
    margin: 0 auto;
    margin-top: 1em;
    }
    
  .sideimage {
    /*don't even bother*/
    display: none;
    }
    
    .vid-mobile {
      width: 380px;
      height: 350px;
    }
    
  }