html, body {
  /* overflow: hidden; */
}

body {
  background-color: #EDE7D6;
  font-size: 16px;
  color: #000000;
  text-align: center;
}

/* .content {
  -webkit-overflow-scrolling: touch;
  overflow: scroll; */
}

*:focus {
  outline: none;
}

.form {

}

h1 {
  margin-bottom: 175px;
  font-size: 32px;
  margin-top: 12px;
  font-family: 'Rubik',
  sans-serif;
}

h2 {
  font-size: 52px;
  font-family: 'Karla',
  sans-serif;

}

h3 {
  font-size: 18px;
  width: 500px;
  margin: 0 auto 100px auto;
  font-family: 'Karla', sans-serif;
}

h4 {
  font-size: 32px;
  margin: 0 auto 10px auto;
  width: 300px;
  padding-bottom: 8px;
}

.main {
  font-family: 'Karla',
  sans-serif;
}

#formSubmit {
  display: inline-flex;
}

input {
  background-color: transparent;
  height: 24px;
  border: none;
  color: black;
  border-bottom: 1px solid black;
  margin-top: 24px;
  font-size: 24px;
  width: 350px;
  font-family: 'Karla',sans-serif;
}

button {
  display: block;
  border-style: none;
  cursor: pointer;
  border-radius: 4px;
  width: 225px;
  height: 50px;
  background: #000000;
  box-shadow: none;
  text-shadow: none;
  color: #EDE7D6;
  font-size: 22px;
  line-height: 17px;
  font-weight: 600;
  font-family: 'Karla', sans-serif;
  font-style: normal;
  text-align: center;
  background-repeat: no-repeat;
  margin-left: 16px;
}

button.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

button:hover {
  color: #000000;
  background: #EDE7D6;
  border: 1px solid #000000;
}

#emailField.invalid {
  border-color: red;
}

/* The Video */
.video-container {
  margin: 150px 0 50px 0;
}

.arrow-container {
  margin-bottom: 0;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  margin-bottom: 100px;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.video-wrapper {
  background: white;
  padding: 12px;
  margin: 0 300px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

video {
  /* height: 50%; */
  width: 100%;
}

/* The Modal (background) */
.modal {
  margin: 0;
  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: 10% auto; /* 15% from the top and centered */
  padding: 15px;
  border: 1px solid #888;
  width: 325px;
  height: 500px;
  font-size: 84px;
  font-family: 'Karla', sans-serif;
  color: #000000;
}

.modal-copy {
  text-align: center;
  font-size: 48px;
  margin-top: 170px;
}
/* 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;
}

@media only screen and (max-device-width: 480px){
  body {
    /* height: 100%; */
    -webkit-overflow-scrolling: touch;
    /* overflow: scroll; */
    /* min-height: 900px */
  }

  h2 {
    font-size: 72px;
    margin: 50px 0 50px 0;
  }

  h3 {
    font-size: 32px;
    width: 500px;
  }

  .form {
    margin: 0px 84px;
    text-align: center;
  }

  #formSubmit {
    flex-direction: column;
  }

  #emailField  {
    width: 500px;
    margin-bottom: 32px;
    height: 100px;
    line-height: 100px;
    font-size: 48px;
    border-radius: 0;
  }

  button {
    width: 500px;
    height: 120px;
    font-size: 48px;
    border-radius: 15px;
    margin: 0;
  }

.video-container {
  margin: 50px 0 50px 0;
}

.arrow {

  margin-bottom: 50px;
}

  /* The Video */
  .video-container {
    /* display: none; */
    /* max-width: 100%; */
    /* margin: 340px 0 25px 0; */
    /* width: 100%; */
    /* height: auto; */
  }

  .video-wrapper {
    padding: 32px;
    margin: 0 24px;
  }

  video {
    /* height: 90%; */
    /* width: 90%; */
  }

  .modal-content {
    position: relative;
    font-size: 140px;
    margin: 42% auto;
    width: 65%;
    height: 800px;
  }

  .close {
    position: absolute;
    font-size: 140px;
    right: 35px;
  }
}
