@import url(//fonts.googleapis.com/css?family=Lato:300:400);

body {
  margin:0;user-select: none;
}

h1 {
  font-family: 'Lato', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}
p {
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  font-size:14px;
  color: #333333;
}

.header {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}
.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.inner-header {
  height:65vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  h1 {
    font-size:24px;
  }
}

/* Bomb-Menu Size and Positioning */

.bomb-menu {
  font-size: 0.8em;
  /* change font-size here to scale menu accordingly */
  
  position: fixed;
  /* menu position */
  
  top: 2.2em;
  width: 5.2em;
  /* menu toggle button size */
  
  height: 5.2em;
}

.right-menu {
  right: 2.2em;
}

.bomb-menu .menu-toggle-btn,
.bomb-menu .menuIcon,
.bomb-menu .menu-item {
  position: absolute;
  top: 0;
}

.right-menu .menu-toggle-btn,
.right-menu .menuIcon,
.right-menu .menu-item {
  right: 0;
}

.bomb-menu .menu-toggle-btn,
.bomb-menu .menuIcon {
  width: 100%;
  height: 100%;
}

.bomb-menu .menu-item {
  width: 5.0em;
  /* inner elements size */
  
  height: 5.0em;
}

.bomb-menu .menu-item i {
  font-size: 2em;
}
/* Bomb-Menu Style */

.bomb-menu,
.bomb-menu .menu-toggle-btn,
.bomb-menu .menu-icon,
.bomb-menu .menu-item,
.bomb-menu a {
  border-radius: 50%;
}

.bomb-menu {
  cursor: pointer;
  text-align: center;
  color: #666;
  z-index: 100;
}

.menu-toggle-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  padding: 0;
  cursor: inherit;
  background-color: #fffff0;
  z-index: 101;
}

.menu-toggle-btn:focus {
  outline: none;
}

.menu-icon {
  pointer-events: none;
}

.bomb-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
  visibility: hidden;
}

.active + ul {
  visibility: visible;
}

.bomb-menu .menu-item {
  background-color: #fffff0;
  display: table;
}
.menu-item img{
  width:60%;height:60%;
}
.bomb-menu a {
  display: table-cell;
  vertical-align: middle;  /* vertical centering */
  color: inherit;
}
/*********************** ANIMATIONS ***********************/
/* Menu Icon Animation - Works for both right-aligned and left-aligned menu */

.active {
  animation: shake 600ms ease-in-out forwards;
}

.line {
  transform: translateY(0px) rotate(0deg);
  transition: transform 200ms linear;
}
/* transform-origin fix for Firefox v42 */
.line1 {
  transform-origin: 26px 18px;
}
.line2 {
  transform-origin: 26px 26px;
}
.line3 {
  transform-origin: 26px 34px;
}

.active .line1 {
  transform: translateY(8px) rotate(45deg);
}

.active .line2 {
  transform: rotate(-45deg);
}

.active .line3 {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menu Items Animation - right-aligned menu */
.right-menu .active + ul > .mi-1 {
  animation: rExplode1 80ms ease-out 530ms forwards;
}

.right-menu .active + ul > .mi-2 {
  animation: rExplode2 80ms ease-out 530ms forwards;
}

.right-menu .active + ul > .mi-3 {
  animation: rExplode3 80ms ease-out 530ms forwards;
}

@keyframes shake {
  0% {
    transform: translateX(5px);
  }
  4% {
    transform: translateX(0px);
  }
  8% {
   transform: translateX(-5px);
  }
  12% {
    transform: translateX(0px);
  }
  15% {
   transform: translateX(5px);
  }
  18% {
   transform: translateX(0px);
  }
  21% {
    transform: translateX(-5px);
  }
  24% {
    transform: translateX(0px);
  }
  28% {
    transform: translateX(5px);
  }
  32% {
    transform: translateX(0px);
  }
  36% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(0px);
  }
  44% {
    transform: translateX(5px);
  }
  48% {
    transform: translateX(0px);
  }
  52% {
    transform: translateX(-5px);
  }
  56% {
    transform: translateX(0px) scale(1);
  }
  85% {
    transform: scale(0.7);
  }
  94% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* right-aligned menu only */
@keyframes rExplode1 {
  0% {
    transform: translate(0px, 0px);
  }
  70% {
    transform: translateX(-160%);
  }
  100% {
    transform: translateX(-140%);
  }
}

@keyframes rExplode2 {
  0% {
    transform: translate(0px, 0px);
  }
  70% {
    transform: translate(-126%, 126%);
  }
  100% {
    transform: translate(-106%, 106%);
  }
}

@keyframes rExplode3 {
  0% {
    transform: translate(0px, 0px);
  }
  70% {
    transform: translateY(160%);
  }
  100% {
    transform: translateY(140%);
  }
}


