/* Portions of this CSS stylesheet was originally written by EGGRAMEN (eggramen.neocities.org) */

body {
  background: url("bg/purpback.jpg") fixed;
  background-color: black;
  font-family: "Verdana", sans serif;
  font-size: 14px;
  color: white;
  }
  
a:link {
  color: #ED64F5;
}

a:visited {
  color: #ED64F5;
}

a:hover {
  color: #ffffff;
}

a:active {
  color: #ffffff;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

table {
    margin: 0 auto;
    border-top: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    border-bottom: 1px solid #808080;
    border-right: 1px solid #808080;
}
th, td {
    padding: 5px;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-bottom: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
    background: rgba(255, 255, 255, 0.5);
}

/*The header bar that stays at the top of the screen*/
.top-bar {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  background: black;
  color: white;
  padding: 5px;
  padding-left: 10px;
  overflow: auto;
  }
  
.main, .first {
  margin-top: 15px;
  margin-left: 450px;
  width: 600px;
  border: 1px solid white;
  background: #50459b;
  padding: 10px 10px 10px 10px;
  box-shadow: 10px 10px gray;
  }
  
/*Make sure the first main box has an extra top margin so it's not hidden by the header*/
.first {
  margin-top: 60px;
  background: #20b2aa;
  }

.sidebar {
  position: fixed;
  width: 350px;
  min-height: 75px;
  border: 1px solid white;
  background: #50459b;
  margin-top: 112px;
  margin-left: 25px;
  box-shadow: 10px 10px gray;
  }
  
/*Prevent image overflow*/  
.top-bar img, .main img, .first img, .sidebar img {
  max-width: 100%;
  height: auto;
  width: auto;
  }
  

.sidebar-pic {
  text-align: center;
  width: 256px;
  height: 256px;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 15px;
  background: black;
  /*border-radius: 51px;*/
  padding: 2px;
  border: 0;
  }

.sidebar-pic img {
  width: 100%;
  height: 100%;
  /*border-radius: 50%;*/
  }
  
/*Text section in sidebar.*/  
.sidebar-description {
  padding: 15px;
  }
  
.sidebar-links {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  background: black;
  color: white;
  width: 100%;
  height: 30px;
  }
  
.button {
  padding: 5px;
  padding-left: 10px;
  display: inline-block
  }
  
.sidebar-links a {
  color: white;
  text-decoration: none;
  }
  
.sidebar-links a:hover {
  color: #bbb;
  }
  
/*Text at bottom below main divs*/
.footer {
  text-align: center;
  width: 512px;
  font-size: 12px;
  font-style: italic;
  margin-top: 20px;
  margin-left: 450px;
  margin-bottom: 40px;
  }
  
/*For narrow screens*/
@media (max-width: 1100px) {
    .sidebar {
      width: 275px;
      margin-left: 10px;
      }
    .main, .first {
      width: 420px;
      margin-left: 315px;
      }
  }
  
/*Mobile compatibility.*/
@media (orientation: portrait) {
  .sidebar {
    margin: 0 auto;
    position: static;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 90%;
    }
    
  .main, .first {
    margin: 0 auto;
    margin-top: 20px;
    width: 80%;
    }
    
  .footer {
    width: 80%;
    padding: 5%;
    margin: 0 auto;
    }
    
  .top-bar {
    font-size: 13.5px;
    font-size: 90%; /*To help reduce height if it overflows the first line.*/
    position: absolute;
    }
  }