/*Chrome work around*/
* {-webkit-font-smoothing: antialiased;}

/* Body standardisation Test*/
body {
  background-color: rgb(28, 27, 38);
  color: white;
  max-width: 800px;

  /*Dark colors rgb
    Main: 28, 27, 38
    Highligh: 255, 128, 82
  */

  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;

  height: 90%;
  width: 90%;

  align-self: center;

  font-family: Avenir, Cambria, "Times New Roman", serif;
	font-size: 100%;

  text-align: left;
}

/* Non Structural Fun! */
img {
  width: 100%;
}

input {
  width: 100%;
}

hr {
  width: 90%;
  border: 1px solid rgba(185, 185, 185, 1);
}

a:visited {
	font-weight: bold;
  color: white;
	text-decoration: none;
}

a:link {
	font-weight: bold;
	color: white;
	text-decoration: none;
}

a:hover {
	font-weight: bold;
	color: rgb(255, 128, 82);
}

.moreinfo {
  width: calc(100% - 2em);
  text-align: center;

  margin: 1em;

  height: 2em;
  line-height: 2em;
  background: rgba(192, 192, 192, 0.5);
}


.download_link {
  width: 50%;
  text-align: center;

  margin-left: 25%;

  height: calc(50px + 2em);
  background: rgba(192, 192, 192, 0.5);
  border-radius: 10px;
}

.download_link img {
  height: 50px;
  width: 50px;

  margin-top: 5px;
}


/* Footer Related */
footer {
  height: 50px;
  width: 200px;

  font-size: 1.5em;
  line-height: 30px;

  border-radius: 15px;
  background-color: rgba(210, 210, 210, 0.7);

  position: fixed;
  bottom: 20px;
  left: calc((100% - 200px)/2);
}

h3 {
  color: rgb(255, 128, 82);
}

.contact {
  float: left;

  height: 100%;
  width: 25%;
}

.contact img {
  height: 25px;
  width: 25px;

  margin-top: 10px;
  margin-left: 12.5px;
}

.container {
  position: relative;

  height: 100%;
  width: 100%;

  vertical-align: middle;
}

.overlay {
  display: none, inline-block;
  position: absolute;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;

  opacity: 0;
  transition: .4s ease;

  background: grey;
}

.contact .overlay {
  border-radius: 15px;
}

footer .textOverlay {
  line-height: 40px;
  font-size: 20px;
  text-align: center;

  position: fixed;
  bottom: 70px;
  left: calc((100% - 150px)/2);


  border-radius: 15px;
  background-color: rgb(28, 27, 38);

  width: 150px;
  height: 40px;
}

.container:hover .overlay {
  opacity: 0.7;
}

/*Header Desktop*/
@media (min-width: 761px) {
  .textOverlay {
    line-height: 50px;
  }

  header {
    position: relative;

    height: 100px;
    width: 100%;

    margin-bottom: 2em;
    border-bottom: 1px solid rgba(185, 185, 185, 1);
  }

  #profile_mobile {
    display: none;
  }

  #title {
    display: inline-block;
    float: left;

    height: 100px;
    width: 50%;
  }

  h1 {
    font-size: 3em;
    color: rgb(255, 128, 82);
  }

  header h3 {
    color: white;
    position: absolute;
    top: 50px;
    left: 85px;

    font-size: 1em;
    font-weight: lighter;
  }

  #title_mobile {
    display: none;
  }

  #menu {
    display: inline-block;;
    float: left;

    height: 100px;
    width: 50%;
  }

  #menu ul {
    list-style-type: none;

    margin-top: 50px;
    height: 50px;
    width: 100%;
  }

  #menu li {
    display: inline;

    padding-right: 0.35em;
  }

  #menubutton {
    display: none;
  }
}

/* Header Mobile */
@media (max-width: 760px) {

  header {
    height: 15vw;
    width: 90vw;

    padding-bottom: 2.5vw;
    margin-bottom: 2.5vw;
    border-bottom: 1px solid rgba(185, 185, 185, 1);
  }

  h1 {
    color: rgb(255, 128, 82);
  }

  header h3 {
    color: white;
  }

  .textOverlay {
    display: none;
  }

	#profile_mobile {
    display: inline-block;
    float: left;

    height: 15vw;
    width: 15vw;
  }

  #title_mobile {
    display: inline-block;
    float: left;

    margin-left: 5vw;

    height: 15vw;
    width: 60vw;

    font-size: 10vw;
  }

  #title {
    display: none;
  }

  #menu {
    display: none;
  }

  #menubutton {
    display: inline-block;
    float: left;

    height: 15vw;
    width: 10vw;
  }

  #menubutton #openmenubutton {
    margin-top: 2.5vw;
  }

  #menubutton #closemenubutton {
    margin-top: 2.5vw;

    display: none;
  }
}

/* Mobile Nav Overlay */
@media (max-width: 760px) {

  #menucontainer {
    position: absolute;
    top: 0;
    left: 0
  }

  #menuoverlay {
    font-size: 100%;

  	width: 100%;
  	height: calc(100vh - 20vw - 1em);

    position: fixed;
    top: calc(20vw + 2em);
    left: 0px;

  	display: none;
  	z-index: 3;

  	text-align: center;

    background-color: rgb(28, 27, 38);
    color: rgb(255, 128, 82);

    padding-top: calc((100vh - 20vw - 1em - 500px)/2)
  }

  #menuoverlay ul {
     	width: 100%;
      height: 280px;
  }

  #menuoverlay li {
    list-style-type: none;

    height: 40px;

    font-size: 40px;

    margin-top: 40px;
    margin-bottom: 40px;
  }
}

/* Main Body Desktop */
@media (min-width: 761px) {
    #menuoverlay {
      display: none;
    }

    #mainbody {
      margin-bottom: 80px;
      position: relative;

      display: inline-block;
      float: left;
    }

    #mainbody #description p {
      margin-top: 1em;
      margin-bottom: 1em;
    }

    h2 {
      font-size: 2em;
    }

}

/* Main Body Mobile */
@media (max-width: 760px) {
  #mainbody {
    margin-bottom: 90px;
  }

  #mainbody #description p {
    margin-top: 1em;
    margin-bottom: 1em;
  }

  h2 {
    font-size: 5vw;
  }
}

@media (min-width: 761px) {
  .mobile {
    display: none;
  }
}

@media (max-width: 760px) {
  .desktop {
    display: none;
  }
}

.hide {
  display: none;
}
