html {
  height: 100%;
  width: 100%;
  background: #eee;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Roboto", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 18px;
}
footer {
  color: white;
  text-align: center;
  padding: 50px;
  background: #185a9d;
}
footer .copyright {
  margin-top: 30px;
  line-height: normal;
}
footer .social a {
  font-size: 36px;
  margin: 0 20px;
  color: white;
}
h2 {
  width: calc(100% - 30px);
  display: block;
  clear: both;
  border-bottom: 1px solid #bbb;
  color: #aaa;
  margin: 0 15px;
  font-weight: normal;
  padding-top: 15px;
  font-size: 24px;
}
h3 {
  font-weight: bold;
}
p {
  padding: 15px 0;
  line-height: 28px;
}
.button-wrapper {
  display: block;
  text-align: center;
}
.button {
  padding: 15px 50px;
  background: #185a9d;
  display: inline-block;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}
.button.white {
  background: white;
  color: #185a9d;
}
.button.white:hover {
  background: #e5e5e5;
}

/* Hero Styles */
.hero-wrapper {
  position: fixed;
  width: 100%;
  height: 500px;
  top: 0;
  left: 0;
  overflow: hidden;
  transition: height 0.5s;
  z-index: -1;
}
.hero-wrapper .video-slide {
  background: url(video-poster-min.jpg) no-repeat center center / cover;
  height: 100%;
  width: 100%;
}
.hero-wrapper.loading .video-background {
  opacity: 0;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.video-background video {
  /* object-fit: cover; */

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

.hero-wrapper .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0) 15%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 85%
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
  text-align: center;
}
.hero-wrapper .content h1 {
  font-family: "Bebas Neue Light";
  letter-spacing: 2px;
  font-size: 60px;
  margin: 0;
}
.hero-wrapper .content p {
  font-family: "Bebas Neue Light";
  letter-spacing: 2px;
  font-size: 28px;
  margin: 0;
}
#heroVideo {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.spacer {
  height: 500px;
  transition: height 0.5s;
}

/* Header styles */
.header-wrapper {
  width: 100%;
  z-index: 10;
  display: flex;
  box-shadow: 0 -14px 28px rgba(0, 0, 0, 0.25), 0 -10px 10px rgba(0, 0, 0, 0.22);
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s;
  top: 0;
  position: sticky;
  position: -webkit-sticky;
}
.header-wrapper .logo {
  height: 60px;
}
.header-wrapper .logo img {
  height: 100%;
  margin-left: 20px;
}
.header-wrapper ul {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
}
.header-wrapper ul li a {
  display: block;
  padding: 22px;
  text-decoration: none;
  transition: 0.2s;
  color: black;
  text-align: center;
}
.header-wrapper ul li:hover a {
  background: rgba(0, 0, 0, 0.1);
}
.header-wrapper.sticky {
  box-shadow: 0 7px 28px rgba(0, 0, 0, 0.22), 0 5px 10px rgba(0, 0, 0, 0.22);
}

/* Main Content Styles */
.wrapper ul {
  margin: 15px 0 15px 30px;
}
.wrapper ul li {
  list-style: disc;
  padding: 2px 0;
  line-height: normal;
}
#skills {
  background: #185a9d;
  color: white;
  padding: 0 0 30px 0;
}
#skills h3 {
  padding-top: 10px;
}
#skills .skills-list {
  display: flex;
  justify-content: space-between;
}
#skills .skills-list .column {
  width: calc(50% - 10px);
}
#skills .button-wrapper {
  padding-top: 20px;
}

.wrapper::after,
.portal-wrapper::after {
  content: "";
  display: block;
  clear: both;
}
.wrapper {
  background: white;
  z-index: 5;
  position: relative;
}
.wrapper .content-wrapper {
  padding: 30px 15px;
  margin: auto;
  max-width: 1000px;
}
.wrapper h1 {
  text-align: center;
  font-weight: 400;
  font-size: 40px;
  margin: 0;
  padding: 30px 0 0;
}
.portal-wrapper {
  padding: 10px 0 15px;
}
.portal {
  width: calc(33.33% - 30px);
  display: inline-block;
  background: #ddd;
  height: 200px;
  float: left;
  margin: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.portal:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.portal:hover a {
  background: #29899f;
  color: #ffebee;
}
.portal a {
  height: 100%;
  width: calc(100% - 20px);
  font-size: 24px;
  text-decoration: none;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  background: #185a9d;
  color: white;
  padding: 0 10px;
}
.portal a.off {
  color: #333;
  background-color: #666;
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3), 0px -1px 0px rgba(0, 0, 0, 0.7);
}
.portal:hover a.off {
  color: #3b5957;
  background-color: #8e8e8e;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3),
    0px -1px 0px rgba(0, 0, 0, 0.7);
}

/* ~~~~ Mobile Styling ~~~~ */
@media (max-width: 767px) {
  #skills .skills-list {
    align-items: center;
    flex-direction: column;
  }
  #skills .skills-list .column {
    width: 100%;
    max-width: 500px;
  }
  .portal {
    width: calc(50% - 30px);
    height: 170px;
  }
}
@media (min-width: 501px) {
  .mobile-only {
    display: none;
  }
}
@media (max-width: 500px) {
  .not-mobile {
    display: none;
  }
  .header-wrapper .logo {
    height: 40px;
    padding: 11.5px 0;
  }
  .header-wrapper .logo img {
    margin: 0 10px 0 10px;
  }
  .header-wrapper .nav li {
    flex: 1;
  }
  .header-wrapper .nav li a {
    display: flex;
    padding: 0;
    font-size: 14px;
    height: 100%;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    font-weight: bold;
  }
  .portal {
    width: calc(100% - 30px);
    height: 140px;
  }
  .hero-wrapper,
  .spacer {
    height: 300px;
  }
  /* .hero-wrapper .video-background {
        display: none;
    } */
}

/* ~~~~ The Modal (background) ~~~~ */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* ~~~~ Ripple Effect on Click of Portal links ~~~~ */
.ripplelink {
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.ink {
  display: block;
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
}
.animate {
  -webkit-animation: ripple 0.65s linear;
  -moz-animation: ripple 0.65s linear;
  -ms-animation: ripple 0.65s linear;
  -o-animation: ripple 0.65s linear;
  animation: ripple 0.65s linear;
}
@-webkit-keyframes ripple {
  100% {
    opacity: 0;
    -webkit-transform: scale(2.5);
  }
}
@-moz-keyframes ripple {
  100% {
    opacity: 0;
    -moz-transform: scale(2.5);
  }
}
@-o-keyframes ripple {
  100% {
    opacity: 0;
    -o-transform: scale(2.5);
  }
}
@keyframes ripple {
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}
