@keyframes slide_effect {
  from {background-position: 0 0; }
  to {background-position: 0 2vh;}
}
body {
  background: linear-gradient(
  #FF00FFFF,
  #000000FF
  );
  height: 100vh;
  margin: 0;
}

div.bg-effect {
  background: repeating-linear-gradient(
    #FFFFFF20,
    #FFFFFF00 1vh,
    #FFFFFF20 2vh
  );
  animation-name: slide_effect;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  
  top: 0%;
  left: 0%;
  width: 100vw;
  height: 100vh;
  margin-bottom: -100vh;
  z-index: -1;
}

div.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

div.row > div:not(.project) {
  flex: 1 1 40%;
  min-width: 50vh;
  min-height: 10vh;
  max-height: 100vh;
  display: block;
  float: left;
}

div.img-letterbox {
  border-style: solid;
  border-color: #FFFFFF;
  border-width: 5px;
  background: #000000;
  border-radius: 10px;
  min-width: 10vh;
}

div.img-letterbox > img {
  width: 100%;
  max-height: 100%;
}

div.banner-letterbox {
  width: 100%;
  text-align: center;
}

div.banner-letterbox > a > img {
  max-height: 10vh;
  max-width: 100%;
}

div.letterbox {
  background: radial-gradient(
    #0000FF00,
    #0000FF80
  ),
  linear-gradient(
  #FF00FF80,
  #00000000
  ),
  repeating-linear-gradient(
    #FFFFFF80,
    #FFFFFF00 1vh,
    #FFFFFF80 2vh
  );
  border-radius: 10px;
}

div.letterbox > h1 {
  color: #FFFF00;
  left: 2vw;
  position: relative;
}

div.letterbox > p {
  text-indent: 1vw;
  color: #FFFFFF;
  left: 1vw;
  position: relative;
  width: 95%;
}

div.project {
  background: #FFFFFF80;
  border-radius: 5px;
  margin: 5px;
  flex: 1 1 25%;
  min-width: 20vh;
  min-height: 10vh;
  max-height: 25vh;
  position: relative;
  text-align: center;
}
div.img-container {
  width: 100%;
  height: 50%;
}

div.img-container > img {
  max-width: 100%; 
  max-height: 100%;
}
div.project > a.title {
  color: #FF0000;
  text-align: center;
  width: 100%;
}
div.project > p.author {
  text-align: center;
  width: 100%;
  margin-bottom: 10px;
  margin-top: -5px;
}
div.project > p.links {
  color: #FF0000;
  align-self: start;
  text-align: start;
  bottom: -10%;
  position: absolute;
}
p.links > a.link {
  color: #FFFFFF;
  text-decoration: none;
  background: #00000080;
  border-radius: 10px;
}

div.img-container-small {
  width: 0;
  height: 0;
  position: relative;
  left: 50vw;
}

div.img-letterbox-small {
  border-style: solid;
  border-color: #FFFFFF;
  border-width: 5px;
  background: #000000;
  border-radius: 10px;
  max-width: 25vw;
  position: relative;
  left: -50%;
  text-align: center;
}
div.img-letterbox-small > img {
  max-width: 100%;
  max-height: 100%;
}
}