/* ============================================================
   GEM - Custom Theme
   Mirrors the original 1-col-portfolio CSS exactly
   ============================================================ */

/* Offset anchor targets so the fixed navbar doesn't cover them */
html {
  scroll-padding-top: 60px;
}

body {
  padding-top: 54px;
  background-color: #2b374b;
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  font-size: 120%;
}

@media (min-width: 992px) {
  body {
    padding-top: 56px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #fc9d9a;
}

a {
  color: #fc9d9a;
  text-decoration: none;
}

a:hover {
  color: #fc9d9a;
  text-decoration: underline;
}

ul {
  list-style-type: none;
  padding-left: 0px;
}

ul li span {
  float: left;
  width: 8em;
}

/* Video Container */
#video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

#overlay-image {
  position: absolute;
  top: 35%;
  left: 60%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  max-width: 100%;
}

/* Scroll Down Arrow */
.arrow {
  position: fixed;
  bottom: 50px;
  left: 50%;
  margin-left: -20px;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

.fade {
  opacity: 0;
  transition: 1s all ease-out;
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

/* Responsive iframe */
.iframe-container {
  position: relative;
  width: 75%;
  left: 12%;
  height: 0;
  padding-bottom: 56.25%;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Logo container */
.logo-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo {
  max-height: 60px;
  width: auto;
}
