* {
  transition: all 1s ease;
  background-color: black;
}

body{
  margin-left: 0;
}

ul {
  display: flex;
  flex-wrap: wrap;
  padding-top: 15%;
}

li {
  height: 40vh;
  flex-grow: 1;
  list-style: none;
}

li:last-child {
  flex-grow: 10;
}

#black {
  color: black;
}

img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.style-header{
	width: 100%;
	letter-spacing: -1px;
	text-align: center;
	background: black;
    top: 0;
    position: fixed;
}

.style-header h3{
    color: red;
	font-size: 300%;
	font-family: 'RL';
}

.style-header h1 {
	color: red;
	font-weight: 500;
	font-size: 15px;
	line-height: 1;
	margin-bottom: 0;
}

.style-demo a{
	color: white;
	text-decoration: none;
}
.style-demo{
	width: 100%;
	padding-bottom: 12px;
    position: relative;
}
.style-demo a{
	display: inline-flex;
	margin: 0.5em;
	padding: 6px 10px;
	border: 3px solid white;
	font-weight: 700;
}
.style-demo a:hover{
	opacity: 0.6;
}
.style-demo a.current{
	background:red;
	color: black; 
}

footer {
  font-size: 2em;
  margin-top: 20px;
  background-color: black;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  color: red;
  margin-bottom: 0;
}

@media (max-aspect-ratio: 1/1) {
  li {
    height: 30vh;
  }
}
@media (max-height: 480px) {
  li {
    height: 80vh;
  }
}
@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  ul {
    flex-direction: row;
    padding-top: 50%;
  }

  li {
    height: auto;
    width: 100%;
  }

  img {
    width: 100%;
    max-height: 75vh;
    min-width: 0;
  }
  .style-header{
		letter-spacing: -1px;
		text-align: center;
  }
  .style-demo a{
		padding: 2px 2px;
		font-weight: 250;
		border: 1px solid white;
	}
}