body {
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  background-color: #1E6CE0;
  font-size: 28px;
  margin: 0;
  padding: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 10%;
  margin-right: 10%;
  min-height: 100vh;
}

a, a:visited, span {
  color: white;
}

p {
  color: #A1C4F8;
}

.full-header {
  margin-left: 10%;
  margin-right: 10%;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  margin-left: 10%;
  margin-right: 10%;
}

.nav img {
  width: 80px;
}

.nav a img {
  width: 60px;
}

.social a {
  margin-right: 20px;
}

.social {
  display: flex;
}

/* VIDEO */

.video-player {
  width: 30rem;
  height: 16.5rem;
  position: relative;
}

video {
  width: 100%;
  height: 100%;
  background:black;
}

.controls {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, #000);
  align-items: center;
  transition: opacity .2s;
}

.video-player.playing .controls {
  opacity: 0;
}

.video-player:hover .controls {
  opacity: 1;
}

.control-button {
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: .8;
  transition: all .2s;
}

.control-button:hover {
  opacity: 1;
}

.control-button.play-button {
  height: 40px;
  width: 40px;
}

.control-button.sound-button {
  height: 40px;
  width: 40px;
}

.control-button.fullscreen-button {
  height: 35px;
  width: 35px;
}

.control-button svg {
  stroke: #fff;
  fill: transparent;
}

.timeline {
  -webkit-appearance: none;
  width: calc(100% - 125px);
  height: .5em;
  background-color: rgba(255, 255, 255, .3);
  border-radius: 5px;
  background-size: 0% 100%;
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
}

.timeline::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all .1s;
  background-color: rgba(255, 255, 255, .8);
}

.timeline::-moz-range-thumb {
  -webkit-appearance: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all .1s;
  background-color: rgba(255, 255, 255, .8);
}

.timeline::-ms-thumb {
  -webkit-appearance: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all .1s;
  background-color: rgba(255, 255, 255, .8);
}

.timeline::-webkit-slider-thumb:hover {
  background-color: #fff;
}

.timeline:hover::-webkit-slider-thumb {
  opacity: 1;
}

.timeline::-moz-range-thumb:hover {
  background-color: #fff;
}

.timeline:hover::-moz-range-thumb {
  opacity: 1;
}

.timeline::-ms-thumb:hover {
  background-color: #fff;
}

.timeline:hover::-ms-thumb {
  opacity: 1;
}

.timeline::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.timeline::-moz-range-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.timeline::-ms-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

@media screen and (max-width: 640px) {
  .social {
    display: flex;
    flex-direction: column;
  }

  .full-header {
    margin-left: 5%;
    margin-right: 5%;
  }

  .nav {
    margin-bottom: 50px;
    margin-top: 20px;
    flex-direction: column;
    margin-left: 5%;
    margin-right: 0%;
    display: block;
  }

  .nav img {
    margin-bottom: 20px;
  }
}