/* General Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #80a3db;
}

html {
  font: normal 16px sans-serif;
  color: #555;
}

ul,
nav {
  list-style: none;
}

a {
  text-decoration: none;
  opacity: 0.75;
  color: #fff;
}

a.authbutton {
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  background-color: #3f51b5;
  opacity: 1;
}

a.authbutton:hover {
  opacity: 0.75;
  cursor: pointer;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 80px;
}

section:not(.main-area):nth-child(even) {
  background-color: #f5f5f5;
}

section h3.title {
  text-transform: capitalize;
  font: bold 32px "Open Sans", sans-serif;
  margin-bottom: 5px;
  text-align: center;
}

section p {
  max-width: 775px;
  line-height: 2;
  padding: 0 20px;
  margin-bottom: 30px;
  text-align: center;
}

@media (max-width: 800px) {
  section {
      padding: 50px 20px;
  }
}



/* Main Area Styles */

.main-area {
  position: relative;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  opacity: 0;
  margin-top: 100px;
  animation: 1s slidefade 0.25s forwards;
}

.main-area .background-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  z-index: -1;
  background-color: #80a3db;
}

.main-area h1 {
  font: bold 60px "Open Sans", sans-serif;
  margin-bottom: 15px;
}

.main-area h3 {
  font: normal 28px "Open Sans", sans-serif;
  margin-bottom: 40px;
}

.main-area a.authbutton {
  padding: 20px 46px;
}

@keyframes slidefade {
  100% {
      opacity: 1;
      margin: 0;
  }
}

@media (max-width: 800px) {
  .main-area {
      min-height: 600px;
  }

  .main-area h1 {
      font-size: 48px;
  }

  .main-area h3 {
      font-size: 24px;
      color: #fff;
  }

  .main-area a.authbutton {
      padding: 15px 40px;
  }
}
/* Video Styling */

.content {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

div.videos {
  display: flex;
  flex-direction: column;
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 220px;
  width: 100%;
  background: #36393b;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  padding: 60px;
  align-content: space-between;
  flex-wrap: wrap;
}

div.videos * {
  box-sizing: border-box;
  transition: 0.35s ease-in-out;
}

div.videos video {
  max-width: 100%;
  vertical-align: top;
  height: 100%;
  background-color: #36393b;
}

div.videos h3 {
  justify-content: center;
  background-color: #36393b;
}