body,
html,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  height: 100%;
}
body {
  font-family: "Poppins", sans-serif;
  color: rgb(255, 255, 255);
}

#nikkiLeft {
  text-align: center;
}
#nikkiLeft img,
#nikkiRight img {
  width: 100%;
  height: auto;
}
#nikkiRight {
}

main {
  display: flex;
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0 auto;
  justify-content: center;
  align-items: center; /*flex-start;*/
  overflow: hidden;
}
/*#n main > div:not(#middle) {height: 100vh;}*/
main div {
  display: flex;
}
.bgVid {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.bgVid video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}
#n video,
#sfwVid, .avatar {
  width: 50%;
  height: auto;
  max-height: 90vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
  z-index: -1;
}
.avatar {
  display: none;
  width: auto;
  height: 100%;
  max-height: none;
}
main #middle {
  /*padding: 100px 0;*/

  height: 100%;
  flex-grow: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
  width: 50%;
  text-align: center;
}
#logo {
  margin: 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
#logo img {
  width: 100%;
}
#textWrap {
  display: flex;
  flex-direction: column;
}
#middle p {
  font-family: "Luckiest Guy", cursive;
  font-size: 60px;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  text-shadow: 0px 4px 1px rgba(0, 0, 0, 0.35);
}
#middle span {
  /* text-transform: uppercase; */
  font-size: 24px;
  margin: 20px 0 50px 0;
  width: 100%;
}

.btn {
  margin: 50px auto;
  background-color: #d51c5c;
  border-radius: 60px;
  padding: 20px 40px;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 48px;
  letter-spacing: 2px;
  line-height: 1.25;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.75);
  justify-self: flex-end;
  /*-moz-transform: matrix(0.8494623655914, 0, 0, 0.8494623655914, 0, 0);
  -webkit-transform: matrix(0.8494623655914, 0, 0, 0.8494623655914, 0, 0);
  -ms-transform: matrix(0.8494623655914, 0, 0, 0.8494623655914, 0, 0);
  transform: matrix(0.8494623655914, 0, 0, 0.8494623655914, 0, 0);*/
  font-weight: 700;
  font-family: "Luckiest Guy", cursive;
  text-decoration: none;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.75),
    inset 0px 3px 5.46px 0.54px rgba(255, 255, 255, 0.004);
  margin: 20px auto;
  -webkit-animation-name: btnzoom;
  animation-name: btnzoom;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes btnzoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

@keyframes btnzoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

@media screen and (max-width: 420px) {
  main div:last-child,
  main div:first-child {
    width: 20%;
  }
  #middle {
    order: -1;
    width: 100%;
    padding: 20px;
    max-width: 100%;
  }
  #middle p {
    font-size: 36px;
  }
  #middle span {
    font-size: 16px;
  }
  #logo img {
    width: 70%;
  }
  .btn {
    font-size: 36px;
  }
  #n video,
  #sfwVid {
    width: 100%;
    padding: 0;
    margin: 0;
  }
}

@media screen and (max-width: 1024px) {
  #n video,
  #sfwVid {
    flex-grow: 1;
    height: 100%;
    margin-top: -20%;
  }
  #s #sfwVid {
    min-height: inherit;
  }
  video { display: none; }
 .avatar { display: block; margin-top: -28%; }
  main {
    flex-wrap: wrap;
    align-content: flex-start;
  }
  #cyrene,
  #chatterbox {
    margin-top: 0;
  }

  #middle {
    order: -1;
    width: 100% !important;
    padding: 20px !important;
    max-width: 100%;
    height: auto !important;
  }
  main #middle {
    margin-top: 0;
  }
  #middle p {
    font-size: 36px;
  }
  #middle span {
    font-size: 12px;
  }
  #logo {
    min-width: 300px;
    margin: 0px;
  }
  #logo img {
    width: 70%;
  }
  .btn {
    font-size: 40px !important;
    position: fixed;
    bottom: 10px;
    width: 70%;
    font-size: 16px;
    padding-left: 0;
    padding-right: 0;
    border-radius: 10px;
  }
  #goldiee {
    height: 90%;
    margin-top: 10%;
  }
}

@media screen and (min-width: 1280px) {
  main {
    max-width: 1280px;
  }
}
