*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: Roboto, sans-sherif;
  background-color: black;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 0;
  margin-top: 0;
}

.name {
  font-size: 7em;
}

.v-header{
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  
}

.container {
  max-width: 1080px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: auto;
  text-align: center;
  overflow: hidden;
}

@media(max-width:1080px){
  .container {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}

.fullscreen-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.fullscreen-video-wrap iframe {
  min-width: 100%;
  min-height: 100% ;
}

.header-overlay {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(#3b023928, #06005357);
  z-index: 1;
  overflow: hidden;
}

.header-content {
  z-index: 2;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5 {
  color: white;
  margin: 5px;
  font-size: 2em;
  font-family: "Orbitron", Impact;
}

h1 {
  margin-top: 40px;
}

h1.name {
  font-size: 2.5em;
}

#contact-form-title {
  padding-bottom: 30px;
  margin-bottom: 10px;
}

p {
  color: white;
  padding: 10px;
  font-size: 1em;
  text-align: left;
  width: 70%;
}

h4 {
  margin: 5px;
  padding: 5px;
}

li {
  font-size: 1em;
  margin-top: 10px;
}

#enter {
  text-align: center;
}

.item {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* margin: 10px;
  padding: 50px; */
  /* background: linear-gradient(rgba(0, 0, 0, 0.774), rgba(0, 0, 0, 0.74)),
    url(http://davidmmasters.com/wp-content/uploads/2018/04/trauma-inspired-programming.gif); */
  background-color: black;
  border-radius: 15px;
  height: 100%;
  text-align: center;
  border: 2px solid white;
  margin-top: 2vh;
}

.intro {
  background-color: black;
  opacity: 100%;
  /* padding: 10px; */
}

img {
  width: 100%;
  border-radius: 10px;
  filter: contrast(130%);
  margin-top: auto;
  padding-top: 0;
  align-self: center;
  justify-self: center;
  margin-bottom: auto;
}

.scrnshot {
  padding: 20px;
}

.left-align {
  margin-top: 10px;
  text-align: left;
}

ul, ol {
  color: white;
  list-style: none;
  padding: 0;
}

.contact {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  width: 100%;
  
}

.menu {
  display: none;
}

.hamburger {
  font-size: 3em;
  text-align: right;
  position: absolute;
  right: 15px;
  top: 20px;
  color: white;
  z-index: 2;
}

.landing {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.836), rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.795)),
      url('images/desktop-13.jpg');
  height: 550px;
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
}

footer {
  margin-top: 20px;
}

main {
  height: 100%;
}

.link {
  text-decoration: none;
  font-weight: bold;
  color: #00a2ff;
}

.sub-item {
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  padding: 20px;
  width: 100%;
}

form {
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10%;
  background: linear-gradient(#3b0239a4, #060053d8),
    url(http://davidmmasters.com/wp-content/uploads/2018/04/trauma-inspired-programming.gif);
  border-radius: 15px;
  flex: 1;
}

#submitbtn {
  margin-bottom: 20px;
}

/*NEW GLOW BUTTON STYLES*/
.glow-on-hover {
  width: 90px;
  height: 25px;
  border: white solid 1px;
  outline: none;
  color: white;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 5px -4px white;
  font-size: 14;
}

.glow-on-hover:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000;
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/*SLIDE OUT MENU*/
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background: linear-gradient(#3b0239a4, #060053d8),
    url(http://davidmmasters.com/wp-content/uploads/2018/04/trauma-inspired-programming.gif);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  text-decoration: none;
  font-size: 25px;
  color: #eeeeee;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  transition: 0.3s;
  text-align: center;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background: linear-gradient(#3b0239a4, #060053d8),
    url(http://davidmmasters.com/wp-content/uploads/2018/04/trauma-inspired-programming.gif);
  color: white;
  padding: 10px 15px;
  border: none;
}

#box {
  transition: margin-left 0.5s;
  padding: 16px;
}

/*TABLET SCREENS*/
@media screen and (min-width: 800px) {
  .menu {
    background: linear-gradient(#3b0239a4, #060053d8),
    url(http://davidmmasters.com/wp-content/uploads/2018/04/trauma-inspired-programming.gif);
    color: white;
    list-style: none;
    border: white solid 1px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .hamburger {
    display: none;
  }
}

/*DESKTOP SCREENS*/
@media screen and (min-width: 1000px) {

  main {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-evenly;
  }

  #cont > ol {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
  }

  .glow-on-hover {
    width: 180px;
    height: 50px;
    font-size: 24px;
    margin: 20px;
  }

  .group-one {
    display: flex;
    flex-direction: column;
    flex: 2;
  }

  .group-two {
    display: flex;
    flex-direction: row;
    flex: 1;
  }

  .contact-box {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  iframe {
    width: 600px;
    height: 300px;
  }

  form {
    width: 400px;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  #user-message,
  #user-email,
  #user-name,
  #submitbtn {
    width: 100%;
    margin: 0;
  }

  #submitbtn {
    margin: 20px;
    width: 90%;
  }

  h1 {
    font-size: 5em;
  }

  .landing {
    background-image: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0.89), rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.884)),
      url('images/desktop-13.jpg');
    height: 645px;
    background-size: cover;

    margin-top: 0px;
  }

  h1 {
    margin-top: 40px;
  }
  
}
