ul, li {
  margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

*	{
	line-height: 1
	margin: 20px;
	background-color: black;
  padding-left: 10px;
}
@media only screen and (max-width: 768px) {
  * {
padding-left: 0px;
  }
}
h1	{color: #FBB027;
	font-size: 50px;
	border: 2px solid black;
	background-color: black;
	width: 50%;
}
@media only screen and (max-width: 768px) {
h1 {
  font-size: 30px;
  width: 85% ;
}
}

h3	{
	color: #FBB027;
}

h4	{
	padding-left: -20px;
	color: #FFFFFF;
}

img	{
	border-radius: 8px;
	border: 1px solid white;
}

body	{color: white
}
 
.container {
  position: relative;
  width: 50%;
}

.image {
  display: block;
  width: 325px;
  height: auto;
}
@media only screen and (max-width: 768px) {
  .image {
    width: 95vw;
    height: auto;
  }
}
.overlay {
  border-radius: 8px;
  margin-left: 10px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 327px;
  opacity: 0;
  transition: 1.0s ease;
  background-color: #000000;
  border: 1px solid #FBB027;
  /*background-color: #FBB027;*/
}
@media only screen and (max-width: 768px){
  .overlay {
    width: 95vw;
    height: auto;
    margin-left: 0px;
  }
}
@media only screen and (max-width: 768px){
  nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
}

nav ul {
  display: flex;
  flex-direction: column;
}

nav li {
  background-color: #FBB027;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-left: -10px;
  width: 15vw;
  margin-top: 10px;
}
nav li:hover {
  background-color: black;
  border: 1px solid #FBB027;
  color: #FBB027;
}
@media only screen and (max-width: 768px){
  nav a {
    width: 45vw;
  }
}
@media only screen and (max-width: 768px){
  nav li {
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 50vw;
    margin: 4px;
  }
}
.container:hover .overlay {
  opacity: 1;
}

.text {
  color: #FBB027;
  background-color: #FFFFFF00;
  font-size: 17px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}


a:link, a:visited {
  background-color: #FBB027;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-left: -10px;
}

a:hover {
  background-color:#FFFFFF00;
  color: white;
}

footer {
	font-size: 12px;
	font-style: italic;
	width: 50%;
	line-height: 16px;

}

@media only screen and (max-width: 768px){
  footer {
    width: 95%;
    padding: 2px;
  }
}

ul {
  list-style-type: square;
  margin-left: 0px;
}
