/* font-family: 'Young Serif', serif; */
/* font-family: 'Gloria Hallelujah', cursive; */
/* font-family: 'Indie Flower', cursive; */
/* font-family: 'Lobster', cursive; */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  /* font-size: 1rem; */
  font-family: 'Indie Flower', cursive;
  margin: 0;
  padding: 0;
}

a {
  color: #FFFC;
  text-decoration: none;
}

.name-txt {
  text-align: center;
  position: absolute;
  color: #FFF;
  font-family: 'Young Serif', serif;
  top: -10px;
}

.ctn {
  height: 100vh;
  width: 100vw;
  background-color: black;
  background-image: url(./assets/blackBg-low.jpg);
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  max-height: 33.33%;
  width: 100%;
  font-size: 6em;
  color: #FFFC;
}

img {
  width: 50%;
  height: 100%;
}

.left {
  width: 50%;
  text-align: center;
}

form {
  display: flex;
  justify-content: center;
  width: 50%;
}

button[type="submit"] {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#gallery-btn {
  color: #FFFC;
  font-family: 'Indie Flower', cursive;
}

#vote-btn {
  color: #FFF;
  font-family: 'Lobster', cursive;
  cursor: pointer;
}

@media only screen and (max-width: 1200px) {
  .row {
    font-size: 4em;
  }

  button[type="submit"] {
    font-size: 4rem;
  }
}

@media only screen and (max-width: 650px) {
  .row {
    font-size: 3em;
  }

  button[type="submit"] {
    font-size: 3rem;
  }
}


@keyframes vPan {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-50%);
  }
}

#img1.isLoaded {
  animation: panH1 0.6s;
}

#img2.isLoaded {
  animation: panH2 1.2s;
}

#img3.isLoaded {
  animation: panH3 1.8s;
}

@keyframes panH1 {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes panH2 {
  0% {
    transform: translateX(100%);
  }

  50% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes panH3 {
  0% {
    transform: translateX(-100%);
  }

  33% {
    transform: translateX(-100%);
  }

  66% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}