@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&display=swap');

 * {
   margin: 0px;
   padding: 0px;
   font-family: Overpass, san-serif;
   box-sizing: border-box;
 }

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

h1 {
  font-family: 'Nanum Brush Script', cursive;
  color: cornsilk;
  font-size: 40px;
  margin-bottom: 5px;
}


h2 {
  color: teal;
}

h3 {
  color: teal;
  font-size: 14px;
  font-weight: 700;
  margin: 0px 0px 3px 0px;
}

header {
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  z-index: -1;
}

video {
  height: 400px;
  max-width: 100%;
  position: absolute;
  object-fit: cover;
}

button {
  font-size: 16px;
  background-color: teal;
  color: cornsilk;
  border: none;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 7px;
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
}

button:hover {
  background: rgb(250, 205, 187)
}

footer {
  max-width: 1024px;
  height: 45px;
  margin: 0px auto;
  background-color: teal;
  color: cornsilk;
  border-top: 3px cornsilk solid;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 70%;
  max-height: 250px;
  z-index: 2;
}

.overlay {
  width: 100%;
  height: 400px;
  opacity: 0.7;
  background: linear-gradient(to bottom,lightsalmon,darkturquoise);
  position: absolute;
  z-index: 1;
}

.bottom-section {
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
  background-color: tan;
  border-top: 3px cornsilk solid;
  z-index: 2;
}

.signup {
  width: 100%;
}

.signup-container {
  width: 100%;
  padding: 20px 20px 0px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.signup-information {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.signup-information input {
  width: 100%;
  background-color: cornsilk;
  color: teal;
  border: none;
  margin: 0px 0px 8px 0px;
  padding: 3px 8px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.signup-information input:hover {
  background-color: rgb(250, 205, 187);
}

.previous-experience, .checkboxes {
  font-size: 15px;
  font-weight: 500;
  color: teal;
  margin: 10px 0px;
}

.input {
  margin: 0px 15px 0px 5px;
}

.accordion-container {
  width: 100%;
  padding: 30px 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.accordion {
  width:100%;
  margin: 0px auto;
}

.accordion-item {
  background-color: cornsilk;
  color: teal;
  margin: 10px 0px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.accordion-item:hover {
  background-color: rgb(250, 205, 187);;
}

.question {
  padding: 12px 48px 12px 15px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.question::after {
  content: "\25BC"; /*CSS Entity*/
  font-size: 12px;
  font-weight: normal;
  color: tan;
  position: absolute;
  right: 16px;
  top: 10px;
  transition: transform 0.2s ease-in-out;
}

.question.active::after {
  transform: rotate(180deg);
}

.answer-container {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.answer {
  padding: 16px 28px 16px 15px;
  background-color: white;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  border-radius: 0px 0px 5px 5px;
}


@media (min-width: 550px) {

  video {
    height: 526px;
    width: 1024px;
  }

  header, .overlay {
    width: 100%;
    max-width: 1024px;
    height: 526px;
  }

  .bottom-section {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .signup-container {
    width: 55%;
    padding: 20px 10px 40px 30px;
  }

  .signup-information {
    flex-direction: column;
  }

  .accordion-container {
    width: 45%;
    justify-content: flex-start;
    padding: 47px 30px 20px 15px;
  }
}

@media (min-width: 991px) {

  .signup-container {
    width: 60%;
  }

  .signup-information {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .input-container {
    width: 49%;
  }

  .accordion-container {
    width: 40%;
    padding: 47px 48px 0px 20px;
  }
}