* {
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

body {
  background-color: #32304b;
}

section {
  position: relative;
  top: 0;
  display: flex;
  min-height: 108vh;
}

/* HEADER */
header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 10;
}

header h1 {
  width: 500px;
  padding-left: 10px;
}

header nav {
  width: 140px;
  padding-top: 6px;
  padding-right: 20px;
}

header nav a {
  margin-left: 10px;
  transition: border 0.3s ease-in;
  border-bottom: solid 2px rgba (0, 0, 0, 0);
  padding-bottom: 3px;
}

header nav a.selected {
  border-bottom: solid 2px whitesmoke;
}

#music {
  margin-top: 10px;
}

#code {
  margin-top: 6px;
}

#motion {
  margin-top: 6px;
}

#colorize {
  margin-top: 8px;
}

/* HERO SECTION */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

.blurb {
  padding: 0 40px 0 40px;
  margin-top: 320px;
  text-align: center;
}

.blurb h1 {
  letter-spacing: 0px;
}

.signature {
  margin-top: -42px;
}

.signature img {
  transform: scale(0.15);
}

/* QUESTIONS SECTION */
.questions-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

.questions-wrapper .blurb {
  padding: 0 40px 0 40px;
  margin-top: 320px;
  text-align: center;
}

.no-questions #so {
  position: absolute;
  top: 52%;
  left: 52%;
  transform: translate(-50%, -50%) rotate(-8deg);
  width: 640px;
  z-index: 2;
}

.no-questions #co {
  display: none !important;
}

/* CONTACT SECTION */
section.contact {
  position: sticky;
  position: -webkit-sticky;
  display: flex;
  z-index: 3;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

.contact-wrapper .blurb {
  margin-top: 124px;
}

#data-transmission {
  font-family: 'Neue Haas Grotest Display Pro 55 Roman';
  font-size: 20px;
  color: whitesmoke;
  animation: fadeInOut ease-in-out 6s infinite;
  -webkit-animation: fadeInOut ease-in-out 6s infinite;
  -moz-animation: fadeInOut ease-in-out 6s infinite;
  -o-animation: fadeInOut ease-in-out 6s infinite;
  -ms-animation: fadeInOut ease-in-out 6s infinite;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-moz-keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-o-keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-ms-keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* DESIGN BY SECTION */
section.designby {
  position: sticky;
  position: -webkit-sticky;
  display: flex;
  background-color: whitesmoke;
  z-index: 11;
}

.designby-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.designby-wrapper img {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}

.please-note {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 660px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.please-note p {
  color: black;
  font-size: 16px;
  letter-spacing: 0px;
}

/* COLOR PAGE */
.color-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

#buy-art {
  font-family: 'Neue Haas Grotest Display Pro 65 Medium';
  font-size: 24px;
  color: whitesmoke;
  text-decoration: none;
  background-color: #df0020;
  padding: 20px;
}

.gallery-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.gallery-wrapper img {
  transform: scale(0.8);
}

.artwork {
  position: relative;
}

.artwork img {
  transition: filter 0.3s;
}

.artwork:hover img {
  filter: grayscale(100);
}

.overlay {
  /* by using absolute position we can position in relation to the
page or other parent elements. */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* we can specify colors using rgb, and can also control the alpha
channel which is for transparency. */
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  transform: scale(0.8);
}

.overlay-blurb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.artwork:hover .overlay {
  opacity: 1;
  transition: opacity 0.3s;
}

.color-end .blurb {
  margin-top: 380px;
}

/* MUSIC PAGE */
.music-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

#mix-listen {
  font-family: 'Neue Haas Grotest Display Pro 65 Medium';
  font-size: 24px;
  color: whitesmoke;
  text-decoration: none;
  background-color: #df0020;
  padding: 20px;
}

.music-end .blurb {
  margin-top: 380px;
}

/* CODE PAGE */
.code-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

/* MOTION PAGE */
.motion-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 1280px;
}

#gbrb {
 width: 100%;
 height: auto;
}

/* COPYRIGHT PAGE */
.copyright-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 880px;
}

.blurb {
  padding: 0 40px 0 40px;
  margin-top: 320px;
  text-align: center;
}

.blurb h1 {
  letter-spacing: 0px;
}

.signature {
  margin-top: -42px;
}

.signature img {
  transform: scale(0.15);
}

/* MOBILE BREAKPOINTS BEGIN */
@media screen and (min-width: 1292px) {
  header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1291px) {
  header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .video-wrapper {
    width: 880px;
  }
}

@media screen and (max-width: 767px) {
  /* HEADER */
  header {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-top: 30px;
  }

  header h1 {
    width: 300px;
    padding-right: 10px;
  }

  header h1 img {
    padding-bottom: 15px;
  }

  header nav {
    width: 340px !important;
    padding-right: 20px;
  }

  nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  header nav a {
    margin-left: 20px;
    transition: border 0.3s ease-in;
    border-bottom: solid 2px rgba (0, 0, 0, 0);
    padding-bottom: 3px;
  }

  header nav a.selected {
    border-bottom: solid 2px whitesmoke;
  }

  #code {
    margin-top: 0px !important;
  }

  #music {
    margin-top: 0px !important;
  }

  #colorize {
    margin-top: 0px !important;
  }

  /* HERO SECTION */
  .hero-wrapper {
    width: 440px;
  }

  .blurb {
    margin-top: 240px;
  }

  .signature {
    margin-top: 18px;
  }

  .signature img {
    transform: scale(0.35);
  }

  /* QUESTIONS SECTION */
  .questions-wrapper {
    width: 440px;
  }

  .no-questions #so {
    display: none !important;
  }
  .no-questions #co {
    display: block !important;
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 500px;
    height: 200px;
    z-index: 2;
  }

  /* CONTACT SECTION */
  .contact-wrapper .blurb {
    margin-top: 38px;
  }

  /* DESIGN BY SECTION */
  .designby-wrapper {
    width: 300px;
  }

  .please-note {
    width: 360px;
    padding: 0 30px 0 30px;
  }

  .please-note p {
    font-size: 15px;
  }

  /* COLORING PAGE */
  .color-wrapper {
    width: 440px;
  }

  .color-end .blurb {
    padding: 0 40px 0 40px;
    margin-top: 340px;
    text-align: center;
  }

  /* MUSIC PAGE */
  .music-wrapper {
    width: 440px;
  }

  .music-end .blurb {
    padding: 0 40px 0 40px;
    margin-top: 340px;
    text-align: center;
  }

  #mix-listen {
    padding: 10px !important;
  }

  /* CODE PAGE */
  .code-wrapper {
    width: 440px;
  }

  /* MOTION PAGE */
  .motion-wrapper {
    width: 440px;
  }

  /* COPYRIGHT PAGE */
  .copyright-wrapper {
    width: 440px;
  }

  .blurb {
    margin-top: 240px;
  }

  .signature {
    margin-top: 18px;
  }

  .signature img {
    transform: scale(0.35);
  }

  /* COPYRIGHT PAGE */
  .copyright-wrapper .blurb {
    margin-top: 60px;
  }
}

/* FUCKING STUPID ROTATE THING PAIN IN MY ASS */
