/* the + sign is used to select the sibling that comes immediately next to the element you selected.
in this case it is the div with the answer class next to the div with the active class.
this can be used for the FAQ-accordion. read more here: https://www.w3schools.com/css/css_combinators.asp */

.active + .answer {
  /* some styling here */
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
}

.navigation {
  display: flex;
  height: 80px;
}

.ballerina-icon {
  width: auto;
  height: 70px;
  padding-left: 10px;
}


.hero {
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  align-content: center;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.hero-text-and-btn {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
  font-family: 'Lobster', cursive;
  font-size: 20px;
}

.top-btn {
  border: none;
  height: 60px;
  background: transparent;
  color: #fff;
  border: 3px solid #fff;
  width: 200px;
  cursor: pointer;
  border-radius: 20px;
  margin-top: 30px;
  font-size: 30px;
  font-weight: 500;
}


.form-section {
  width: 400px;
  max-width: 400px;
  margin: 30px 0px 20px 0px;
  padding: 25px 30px;
  border-radius: 1em 0em 1em 0em;
  background: linear-gradient(135deg, #5d91a1, #9b59b6);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
  font-family: 'Poppins', sans-serif;
}


.title {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  margin: 0px 0 10px 0;
}


.select-class-text {
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  margin: 20px 0 10px 0;
}


label {
  display: block;
  padding: 5px;
  color: #fff;
}


input {
  display: block;
  padding: 5px;
  font-size: 18px;
  border-radius: 5px;
  border: 1px solid #fff; 
  margin-bottom: 10px;
  color: #181818;
}


.select-a-class-btn {
  height: 45px;
  margin: 20px 0;
  width: 100%;
  color: #fff;
  background-color: #5d91a1;
  border: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
}


.select-a-class-btn:hover {
  background-color: #5d91a1;
  background: linear-gradient(135deg, #5d91a1, #9b59b6);
  font-size: 19px;
}


.select-a-class-btn:focus {
  border: 4px solid #fff;
  background: linear-gradient(135deg, #5d91a1, #9b59b6);
  font-size: 19px;
}


.checkbox {
  display: flex;
  width: 100%;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-right: 0;
}


.checkbox label{
  font-size: 17px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}


.checkbox input {
  width: 20px;
  height: 20px;
}


.book-btn {
  border: none;
  height: 40px;
  background: #b36bd4;
  color: #fff;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  width: 150px;
  cursor: pointer;
}


.book-btn:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}


.accordion-section {
  max-width: 400px;
  margin: 30px 0px 20px 0px;
  padding: 25px 30px;
  border-radius: 1em 0em 1em 0em;
  background: linear-gradient(135deg, #5d91a1, #9b59b6);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
  font-family: 'Poppins', sans-serif;
}

.ballerina-shoe {
  width: 300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  display: flex;
}

.title-faq {
  padding-top: 30px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  margin: 0px 0 10px 0;
}

#accordionbtn1 {
  width: 320px;
  height: 40px;
  cursor: pointer;
}

#accordionbtn2 {
  width: 320px;
  height: 40px;
  cursor: pointer;
}

#accordionbtn3 {
  width: 320px;
  height: 40px;
  cursor: pointer;
}

#accordionbtn4 {
  width: 320px;
  height: 40px;
  cursor: pointer;
}

.open-paragraph {
  line-height: 40px;
  color: #fff;
  font-size: 20px;
}

ul {
  margin: 0;
  width: 320px;
  background: #fff;
  list-style: none;
  display: none;
}

.open {
  width: 320px;
  height: 40px;
  cursor: pointer;
  background: #5d91a1;
}

.open + ul {
  display: block;
}


.footer {
  height: 100px;
  background-color: #fff;
  display: flex;
  border-top: 1px solid #e0dfdf;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
}


.footer-text {
  color: black;
  font-family: 'Poppins', sans-serif;
  padding-left: 5px;
  display: flex;
}

footer a {
  color: black;
}


/* mobile and tablet */
@media (min-width: 0px) and (max-width: 1023px) {
  .middle-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .ballerina-shoe {
    display: none;
  }
}


/* desktop */
@media (min-width: 1024px) {
  .middle-section {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr;
    grid-template-rows: 2fr;
    grid-gap: 3px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
    justify-items: center;
  }

}
