html,
body {
  height: 100%;
  background-color: #000;
}

body {
  font-family: "Lato";
  font-weight: 300;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  margin: 0px !important;
}

.site-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.primary-container {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  padding: 20px;
}

h1 {
  font-size: 4.5rem;
  font-weight: 100;
  margin-top: 0px;
  margin-bottom: 0px;
}

.mylinks {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.icon {
  width: 2rem;
  height: 2rem;
}

a,
a:focus,
a:hover {
  color: #fff;
  transition: 0.2s;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
}

a:focus,
a:hover {
  opacity: .7;
}

video {
  z-index: 0;
  min-height: 100%;
  min-width: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  overflow: hidden;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: url(img/bg.jpg) no-repeat;
  background-size: cover;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  min-height: 100%;
  min-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

@media (min-aspect-ratio: 1920/804) {
  video {
    width: 100%;
    height: auto;
  }

  .overlay {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 1920/804) {
  video {
    width: auto;
    height: 100%;
  }

  .overlay {
    width: auto;
    height: 100%;
  }
}