@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400&display=swap');

body {
  background-color: black;
  font-family: Oswald;
}

nav {
  display: flex;
  flex-direction: row;
  padding-left: 0.3vw;
  padding-top: 5vh;
  margin-bottom: 10vh;
}

button {
  font-size: 2rem;
  padding: 0.4em 0.8em;
  border-radius: 5px;
  border-width: 0px;
  margin-right: 2vw;
  text-align: center;
  transition: all 0.5s;
  cursor: pointer;
  background-color: orange;
  opacity: 0.5;
}

button:hover {
  cursor: pointer;
  color: white;
  transition: all 0.5s;
  opacity: 1;
}

h1 {
  color: orange;
  position: fixed;
    top: 45%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

h3 {
  color: orange;
  position: fixed;
    top: 55%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: row;
    padding-left: 0.7vw;
    padding-top: 2.5vh;
  }

  button {
    margin-bottom: 0vh;
    font-size: 1rem;
  }

  h1 {
    color: orange;
    position: fixed;
      top: 45%;
      left: 50%;
      /* bring your own prefixes */
      transform: translate(-50%, -50%);
  }

  h3 {
    color: orange;
    position: fixed;
      top: 55%;
      left: 50%;
      /* bring your own prefixes */
      transform: translate(-50%, -50%);
  }
 }

.hello {
  opacity: 1 !important;
}
.full {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.full .content {
  background-color: rgba(0,0,0,0.75) !important;
  height: 100%;
  width: 100%;
  display: grid;
}
.full .content img {
  left: 50%;
  transform: translate3d(0, 0, 0);
  animation: zoomin 1s ease;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}
.byebye {
  opacity: 0;
}
.byebye:hover {
  transform: scale(0.2) !important;
}
.gallery {
  display: grid;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 8px;
}
.gallery img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 16px #333;
  transition: all 1.5s ease;
}
.gallery img:hover {
  box-shadow: 0 0 32px #333;
}
.gallery .content {
  padding: 4px;
}
.gallery .gallery-item {
  transition: grid-row-start 300ms linear;
  transition: transform 300ms ease;
  transition: all 0.5s ease;
  cursor: pointer;
}
.gallery .gallery-item:hover {
  transform: scale(1.025);
}
@media (max-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(20%, 1fr));
  }
}
@media (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(50%, 1fr));
  }
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(1, minmax(50%, 1fr));
  }
}
@-moz-keyframes zoomin {
  0% {
    max-width: 50%;
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
  }
  70% {
    max-width: 50%;
  }
  100% {
    max-width: 100%;
  }
}
@-webkit-keyframes zoomin {
  0% {
    max-width: 50%;
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
  }
  70% {
    max-width: 50%;
  }
  100% {
    max-width: 100%;
  }
}
@-o-keyframes zoomin {
  0% {
    max-width: 50%;
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
  }
  70% {
    max-width: 50%;
  }
  100% {
    max-width: 100%;
  }
}
@keyframes zoomin {
  0% {
    max-width: 50%;
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
  }
  70% {
    max-width: 50%;
  }
  100% {
    max-width: 100%;
  }
}
