html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: 'Mountains of Christmas', cursive;
}

blockquote {
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  font-style: italic;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #bbb;
  font-family: 'Mountains of Christmas', cursive;
  content: open-quote;
  font-size: 4em;
  line-height: 0.01em;
  margin-right: 0.25em;
  vertical-align: -0.5em;
}
blockquote:after {
  color: #bbb;
  font-family: 'Mountains of Christmas', cursive;
  content: close-quote;
  font-size: 4em;
  line-height: 0.01em;
  vertical-align: -0.5em;
}
blockquote p {
  display: inline;
}

#app {
  height: 100%;
  width: 100%;
  margin: 0;
}

.app {
  margin: 0;
  width: 100%;
  height: 100%;
}

/* ==================== Navigation ===================== */
.menu {
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  position: fixed;
  display: inline-block;
  text-align: center;
  z-index: 100;
}

.menu ul {
  top: .5rem;
  left: 50%;
  list-style: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  display: inline-block;
  position: absolute;
  transform: translateX(-50%);
}

.menu li {
  display: inline-block;
  margin-right: 20px;
  align-content: center;
}
.menu li:hover {
  cursor: pointer;
}

/*div:target {
  animation: moveDown 0.6s ease-in-out 0.2s backwards;
}

@keyframes moveDown{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}*/

/* ===================================================== */

/* ====== Structure and Parallax scroll ====== */
.top {
  width: 100vw;
  height: 100vh;
  perspective: 1px;
	transform-style: preserve-3d;
  overflow-x: hidden;
}

.content {
  min-height: 100vh;
  background-color: rgba(255, 255, 255, .9);
  z-index: 50;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 40px;
}

.parallax {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  transform-style: inherit;
}

.background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100%;

  background-image: url(../images/background.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  z-index: -10;
}
/* =========================================== */

/* =================== Flower Buttons ==================== */

.menuitem-label {
  color: white;
  text-decoration: none;
  text-align: center;
  font-family: 'Mountains of Christmas', cursive;
  font-size: 1.4em;
  top: 50%;
  display: block;
  cursor: pointer;
}

/*
.flower-button {
  width: 100px;
  height: 60px;
  background-size: 60px 60px;
  background-repeat: no-repeat;
  background-position: center;
}

.flower-button1 {
  background-image: url(../images/flowers/flower1.png);
}
.flower-button2 {
  background-image: url(../images/flowers/flower2.png);
}
.flower-button3 {
  background-image: url(../images/flowers/flower3.png);
}
*/
/* ======================================================= */

/* ======================= Animation ====================== */
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.layer1 {
  z-index: 1;
}
.layer2 {
  z-index: 2;
}
.layer3 {
  z-index: 3;
}
.layer4 {
  z-index: 4;
}
.layer5 {
  z-index: 5;
}

.logo {
  width: 100%;
  height: 100%;
  background-image: url(../images/logo.png);
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center 6rem;
  z-index: -1;
}

.layer-element {
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-position: center center;
  /*background-attachment: fixed;*/
  background-size: 100% 100%
  overflow: hidden;
}

.moose {
  background-image: url(../images/moose.png);
  background-position: bottom center;
  background-size: 100% 100%;
  background-attachment: fixed;
}

.butterfly2 {
  background-image: url(../images/butterflies/butterfly2.png);
  transform: translateX(30%) translateY(-20%) rotate(-120deg) scale(.7);
}
.butterfly3 {
  background-image: url(../images/butterflies/butterfly3.png);
  transform: translateX(12%) translateY(20%) rotate(20deg) scale(.9);
}
.butterfly4 {
  background-image: url(../images/butterflies/butterfly4.png);
  transform: translateX(-25%) translateY(18%) rotate(-20deg) scale(1);
}
.butterfly5 {
  background-image: url(../images/butterflies/butterfly5.png);
  transform: translateX(-30%) translateY(-20%) rotate(50deg) scale(.7);
}
.butterfly6 {
  background-image: url(../images/butterflies/butterfly6.png);
  transform: translateX(2%) translateY(24%) rotate(-10deg) scale(1);
}


/* ======================================================== */


/* ======================= Misc ========================== */
@media screen and (max-width: 47em) {

  .blaargh-footer {
    font-size: .8em;
  }

  .background {
    background-size: cover;
  }

  .blaargh-brand {
    margin-left: 2rem !important;
  }

  .menu li {
    margin-right: 10px;
  }

  .menuitem-label {
    font-size: 1em;
  }

  .menuitem:hover .menuitem-label {
    text-decoration: none;
    color: white;
  }

  .moose {
    background-size: cover;
  }

  .butterfly2, .butterfly3, .butterfly4, .butterfly5, .butterfly6 {
    visibility: hidden;
  }
}

@media screen and (min-width: 48em) {

  .logo {
    background-size: 50%;
    background-position: center 25%;
  }

  @keyframes zoom_in {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(.05em) scale(1.05); }
  	100% { transform: translateY(.1em) scale(1.1); }
  }

  @keyframes zoom_out {
    0% { transform: translateY(.1em) scale(1.1); }
    50% { transform: translateY(.05em) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
  }

  @keyframes spin_zoom_in {
  	0% { transform: translateY(0) rotate(0) scale(1); }
    50% { transform: translateY(1em) rotate(180) scale(1.3); }
  	100% { transform: translateY(2em) rotate(360deg) scale(1.6); }
  }

  @keyframes spin_zoom_out {
    0% { transform: translateY(2em) rotate(360deg) scale(1.6); }
    50% { transform: translateY(1em) rotate(180) scale(1.3); }
    100% { transform: translateY(0) rotate(0) scale(1); }
  }

  .menuitem .menuitem-label {
    animation-name: zoom_out;
    animation-duration: 250ms;
    animation-direction: normal;
    animation-timing-function: ease-out;
    transform: translateY(0) scale(1);
  }

  .menuitem:hover .menuitem-label {
    text-decoration: none;
    text-shadow: 2px 1px 1px black;
    color: white;
    animation-name: zoom_in;
    animation-duration: 250ms;
    animation-direction: normal;
    animation-timing-function: ease-in;
    transform: translateY(.1em) scale(1.1);
  }

  /*
  .flower-button {
    animation-name: spin_zoom_out;
    animation-duration: 250ms;
    animation-direction: normal;
    animation-timing-function: ease-out;
    transform: translateY(0) rotate(0) scale(1);
  }

  .menuitem:hover .flower-button {
    animation-name: spin_zoom_in;
    animation-duration: 250ms;
    animation-direction: normal;
    animation-timing-function: ease-in;
    transform: translateY(2em) rotate(360deg) scale(1.6);
  }
  */
}
/* ======================================================= */
