@import url("https://fonts.googleapis.com/css?family=Heebo:300,400,500,700");
@import url("https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,700");
@import url("https://fonts.googleapis.com/css?family=Calligraffitti|Lato:100i,400i,700i|PT+Sans:400,400i,700");
@import url("https://fonts.googleapis.com/css?family=Sacramento");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");


/* background: url("images/clarinet-image.jpg") no-repeat; */

html,
body {
  margin: 0 auto;
  height: 100%;
}

.image-text-tag {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 0.9em;
  color: #464c58;
}

.bold {
  font-weight: 700;

}

#worthing-music-teachers-logo {
  font-size: 20px;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  background: none !important;
  position: absolute;
  left: 10%;
  top: 80px;
  padding-left: 0;
}

.icon {
  display: block;
  width: 263px;
  margin: auto;
  color: #0085b3;
}

.banner {
  background-color: #39509f;
  padding-top: 10px;
  padding-bottom: 10px;
}

nav {
  z-index: 999;
  position: fixed;
  width: 100%;
}

.margin-right-none {
  margin-right: 0 !important;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  width: -moz-fit-content;
}

.navBarScrolled {
  background-color: #50859f;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.navBar {
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 14px 16px;
  float: right;
}

.navBar a {
  padding: 5px 14px 5px 16px;
  width: 100%;
  text-decoration: none;
  font-size: 18px;
  font-family: "Ubuntu", sans-serif;
  /*padding: 14px 16px;*/
  color: white;
}

.navBar a:hover {
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #fff;
  color: #0085b3;
  border-radius: 14px;
  cursor: pointer;
}

.navBar a.active {
  background-color: #fff;
  color: #2ca260;
}

#menulist,
#topNav {
  display: none;
}

#frontPage-container {
  width: 100%;
  height: 1000px;
  background-image: url("images/backphoto.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#opacity-layer {
  background-color: rgba(0, 133, 179, 0.3);
  width: 100%;
  height: 100%;
}

#front-page-content {
  position: absolute;
  margin-left: 10%;
  margin-top: 100px;
}

.website-title {
  font-family: "Heebo", sans-serif;
  color: #fff;
  word-wrap: break-word;
  margin: 0 !important;
  font-size: 5em;
  padding-top: 100px;
  line-height: 90px;
  font-weight: 500;
}

.wmt {
  font-family: "Heebo", sans-serif;
  color: #fff;
  font-size: 2em;
}

.about-text {
  font-family: Heebo, sans-serif;
  width: 60%;
  color: #fff;
  font-weight: 200;
  font-size: 1.2em;
}

.book-now-button {
  margin-top: 50px;
  border: solid 2px white;
  border-radius: 30px;
  height: 50px;
  width: 190px;
  font-size: 1.4em;
}

.book-now-button,
.exam-and-faq-button {
  background-color: transparent;
  color: #fff;
  cursor: pointer;
}

.social-media-logo-container {
  margin-top: 60px;
}

.social-media-logo {
  width: 50px;
  margin-right: 30px;
}

.social-media-logo:hover {
  cursor: pointer;
}

.exam-and-faq-button {
  color: #0085b3;
  border: solid 2px #0085b3;
  height: 50px;
  width: 250px;
  font-size: 1.5em;
  margin-right: 110px;
  margin-left: 110px;
  border-radius: 5px;
  text-align: center;
}

.buttons {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
}

#profile-container {
  width: 100%;
  height: auto;
  padding-bottom: 60px;
}

.profiles {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
}

.profile-card:nth-of-type(1),
.profile-card:nth-of-type(2),
.profile-card:nth-of-type(3) {
  width: 300px;
  height: 350px;
  border-radius: 10px;
  display: inline-block;
  margin-left: 30px;
}

.picture {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
}

.profile-picture {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  margin-top: 30px;
}

.name {
  font-family: PT sans, sans-serif;
  font-weight: 400;
  text-align: center;
  margin-top: 0px;
  font-size: 1.5em;
}

.degree,
.instruments {
  font-family: Heebo, sans-serif;
  font-weight: 300;
  text-align: center;
  font-size: 1em;
}

.profile-about-text {
  font-family: Montserrat, sans-serif;
  text-align: center;
  width: 80%;
  font-weight: 300;
  font-size: 0.88em;
  margin: 20px auto auto;
}

.logo-container {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
}

.logo {
  width: 40px;
  height: 40px;
}

.heading,
.instruments-heading,
.why-choose-us-title,
.exam-heading {
  width: fit-content;
  width: -moz-fit-content;
  font-size: 300%;
  font-family: Ubuntu, sans-serif;
  font-weight: 200;
  margin: 50px auto 40px;
  text-align: center;
}

.faq-title {
  width: fit-content;
  width: -moz-fit-content;
  font-size: 3.5em;
  font-family: Ubuntu, sans-serif;
  font-weight: 200;
  padding-top: 50px;
  margin: auto auto 40px;
}

#instruments-about-section {
  width: 50%;
  height: 550px;
  background-color: rgba(0, 133, 179, 0.6);
  display: inline-block;
}

.instruments-heading {
  color: #fff;
  font-family: heebo, sans-serif;
  font-weight: 300;
  padding-top: 20px;
}

.instrument-about-section-text {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
}

.instruments-about {
  /* same as about section */
  font-family: Heebo, sans-serif;
  width: 90%;
  margin: auto;
  color: #fff;
  font-weight: 200;
  font-size: 1.3em;
}

#instruments-section {
  width: 50%;
  height: 550px;
  float: right;
}

#instruments-container {
  width: 100%;
  margin: auto;
  padding-top: 60px;
}

#whole-instrument-container {
  overflow: hidden;
}

.instrument-card {
  height: 250px;
}

.instrument-card:nth-of-type(1),
.instrument-card:nth-of-type(2),
.instrument-card:nth-of-type(3),
.instrument-card:nth-of-type(4),
.instrument-card:nth-of-type(5),
.instrument-card:nth-of-type(6) {
  width: 32%;
  display: inline-block;
}

.instrument {
  height: 85px;
  width: 85px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.instrument-title {
  font-family: Montserrat, sans-serif;
  text-align: center;
  margin-top: 20px;
  font-size: 1.3em;
  font-weight: 400;
}

.la-plus-circle {
  font-size: 5em;
  display: block !important;
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
  cursor: pointer;
  color: #0085b3;
}

.la-plus-circle:before {
  content: "\f2c3";
  font-size: 2em;
  display: block !important;
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
  cursor: pointer;
  color: #0085b3;
}

.la-plus-circle:hover {
  color: black;
}

#why-choose-us {
  width: 100%;
  height: auto;
  padding-bottom: 60px;
  padding-top: 60px;
}

.choose-us-text,
.Exams-and-faq-section-text,
.contact-now-text {
  font-family: Heebo, sans-serif;
  width: 90%;
  padding-bottom: 50px;
  margin: auto;
  font-weight: 200;
  font-size: 1.3em;
}

.contact-now-text {
  text-align: center;
  font-size: 1.4em;
}

.exam-boards-header {
  font-family: heebo, sans-serif;
  font-weight: 200;
  text-align: center;
}

.fa-ul {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  margin-top: 20px;
  font-size: 1.2em;
  font-weight: 400;
  margin-left: 0 !important;
  column-count: 2;
  column-gap: 20px;
}

.fa-ul {
  font-size: 1em;
  column-gap: 50px;
}

.fa-ul>li {
  padding-bottom: 30px;
  position: relative;
}

.list-text {
  display: inline-block;
  margin-left: 50px;
  width: 100%;
}

.list-container {
  margin: auto;
  width: fit-content;
  width: -moz-fit-content;
}

.la-calendar,
.la-certificate,
.la-check,
.la-user,
.la-file-text-o,
.la-star-o,
.la-mortar-board,
.la-smile-o,
.la-tag {
  position: absolute;
}

.list-icon {
  font-size: 1.6em !important;
  color: #0085b3;
}

.la-map-marker:before {
  content: "\f27d";
}

.la-envelope:before {
  content: "\f1c6";
}

.la-mobile:before {
  content: "\f292";
}

.la-phone:before {
  content: "\f2b3";
}

.la-tag:before {
  content: "\f330";
}

.la-check:before {
  content: "\f17b";
}

.la-certificate:before {
  content: "\f178";
}

.la-smile-o:before {
  content: "\f305";
}

.la-calendar:before {
  content: "\f15c";
}

.la-mortar-board:before {
  content: "\f296";
}

.la-star-o:before {
  content: "\f31b";
}

.la-file-text-o:before {
  content: "\f1ed";
}

.la-user:before {
  content: "\f364";
}

.la-music:before {
  content: "\f299";
}

#testimonials {
  width: 90%;
  margin: auto;
  height: auto;
  padding-bottom: 30px;
  background-color: #88c6db;
}

.reviews {
  margin: auto;
  width: 80%;
  position: relative;
  padding-top: 30px;
}

.testimonial-box {
  display: none;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.review-title {
  color: white;
  font-family: Ubuntu, sans-serif;
  font-weight: 300;
  text-align: center;
  font-size: 1.9em;
}

.review-text {
  color: #fff;
  font-family: Ubuntu, sans-serif;
  font-weight: 200;
  text-align: center;
  width: 90%;
  margin: 20px auto auto;
  font-size: 1.2em;
}

.la-star:before {
  content: "\f318";
  color: white;
  font-size: 1.8em;
}

.review-stars {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
}

.la-angle-right:before {
  content: "\f112";
}

.la-angle-left:before {
  content: "\f111";
}

.left-button,
.right-button {
  position: absolute;
  z-index: 1;
  color: white;
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: 2.5em !important;
}

.left-button {
  top: 50%;
  color: white;
  left: -5%;
  cursor: pointer;
}

.right-button {
  right: -5%;
  top: 50%;
}

button:focus {
  outline: 0;
}

#faq-section {
  width: 100%;
  height: 500px;
}

.faqs-box {
  width: 60%;
  margin: auto;
  height: 500px;
}

.question-and-answer {
  border: solid 1px rgba(0, 133, 179, 0.6);
  border-bottom: none;
  color: #000;
  font-family: heebo, sans-serif;
  text-align: center;
}

.question,
.answer {
  margin: 0;
  padding: 20px;
}

.question-and-answer:nth-of-type(3) {
  border-bottom: solid 1px rgba(0, 133, 179, 0.6);
}

.faq-plus {
  font-size: 0.6em !important;
  color: #0085b3;
  display: inline-block !important;
  margin-left: 20px;
  text-align: center;
}

.question {
  font-size: 1.5em;
  font-weight: 200;
}

.answer {
  display: none;
  font-size: 1.2em;
}

#Exams-and-faq-section {
  width: 100%;
  height: auto;
  padding-bottom: 60px;
}

#contact-section {
  height: auto;
  padding-bottom: 5px;
  width: 100%;
  background-color: #282f3d;
  /* dark gray color */
}

.get-in-touch-header {
  width: fit-content;
  width: -moz-fit-content;
  font-size: 3.3em;
  font-family: Ubuntu, sans-serif;
  font-weight: 200;
  padding-top: 50px;
  margin: auto auto 40px;
  color: #fff;
}

.get-in-touch-icons-container {
  width: 100%;
  margin: auto;
}

.contact-now-text {
  color: white;
}

.circle-outline {
  background-color: #464c58;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: auto;
}

.la-phone,
.la-mobile,
.la-map-marker,
.la-envelope {
  color: #fff;
  font-size: 3.5em !important;
  text-align: center;
  margin-left: 22px;
  margin-top: 25px;
}

.contact-info-card:nth-of-type(1),
.contact-info-card:nth-of-type(2),
.contact-info-card:nth-of-type(3),
.contact-info-card:nth-of-type(4) {
  width: 24%;
  vertical-align: top;
  height: auto;
  display: inline-block;
}

.contact-info-title {
  font-family: heebo, sans-serif;
  text-align: center;
  margin-top: 40px;
  font-size: 1.3em;
  color: #fff;
}

.contact-info {
  font-family: heebo, sans-serif;
  font-weight: 100;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  color: #fff;
}

#map-container {
  margin: auto;
  text-align: center;
}

#map {
  margin-top: 40px;
  width: 100%;
}

h3 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8em;
  font-weight: 200;
  margin-left: 20px;
}

#gray-background {
  width: 100%;
  height: 100%;
  background-color: rgba(136, 136, 136, 0.85);
  z-index: 2;
  position: fixed;
  display: none;
}

#modal {
  overflow-y: auto;
  height: auto;
  max-height: 80%;
  background-color: #fff;
  border-radius: 10px;
  z-index: 3;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-top: 120px;
  position: fixed;
  width: 90%;
  margin-left: 5%;
}

.la-close:before {
  content: "\f191";
}

#modal-close-button {
  position: relative;
  float: right;
  margin-right: 10px;
  margin-top: 10px;
  z-index: 9;
}

.la-close {
  font-size: 40px !important;
  color: white;
  cursor: pointer;
}

.instrument-link {
  text-decoration: none;
}

.instrument-modal-text {
  display: none;
}

.modal-close-button {
  font-size: 3em;
  float: right;
  padding-top: 500px;
}

.instruments-modal-main-header,
.exam-faq-modal-main-header {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
  font-size: 3.5em;
  font-family: heebo, sans-serif;
  font-weight: 200;
  color: white;
}

.instruments-modal-main-header {
  padding-top: 80px;
}

.exam-faq-modal-main-header {
  padding-top: 110px;
}

.instrument-teacher {
  width: fit-content;
  width: -moz-fit-content;
  text-align: center;
  margin: auto;
  font-family: heebo, sans-serif;
  font-weight: 200;
  color: white;
}

.instruments-modal-sub-heading {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
  font-size: 2em;
  text-align: center;
  font-family: heebo, sans-serif;
  font-weight: 300;
  margin-top: 50px;
  margin-bottom: 10px;
}

.instrument-modal-content,
.instrument-modal-content2,
.instrument-modal-about-teacher,
.signed-name {
  font-family: Heebo, sans-serif;
  margin: auto;
  font-weight: 200;
  font-size: 1.2em;
}

.instrument-modal-content,
.instrument-modal-content2 {
  width: 90%;
}

.header-background-img-piano {
  background: url("images/piano-image.jpeg") no-repeat;
}

.header-background-img-flute {
  background: url("images/flute-image-1.jpg") no-repeat center;
}

.header-background-img-guitar {
  background: url("images/guitar-image-1.jpg") no-repeat top;
}

.header-background-img-saxophone {
  background: url("images/saxophone-image.jpg") no-repeat center;
}

.header-background-img-clarinet {
  background: url("images/clarinet-image.jpg") no-repeat;
}

.header-background-img-violin {
  background: url("images/violin-image.jpeg") no-repeat;
}

.header-background-img-exam-info {
  background: url("images/exam-image.jpeg") no-repeat center;
}

.header-background-img-FAQ {
  background: url("images/faq-image.jpg") no-repeat;
}

.header-background-img-piano,
.header-background-img-flute,
.header-background-img-guitar,
.header-background-img-saxophone,
.header-background-img-clarinet,
.header-background-img-violin,
.header-background-img-exam-info,
.header-background-img-FAQ {
  height: 400px;
  background-size: cover;
  display: block;
  position: relative;
}

.blue-opacity {
  background-color: rgba(0, 133, 179, 0.6);
  width: 100%;
  height: 100%;
  position: relative;
}

.modal-instrument-background {
  width: 100%;
  height: 350px;
}

.instrument-modal-about-teacher {
  padding-top: 30px;
  width: 70%;
}

.end-of-info {
  padding-top: 60px;
}

.signed-name {
  font-family: Sacramento, sans-serif;
  font-size: 2.5em;
}

.modal-footer {
  width: 100%;
  height: 200px;
  background-color: #282f3d;
  margin-top: 70px;
  position: relative;
}

.call-now-modal {
  margin: 0;
}

.call-now {
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
  padding-top: 60px;
}

.phone-info {
  text-decoration: none;
  color: white;
  font-family: heebo, sans-serif;
  font-weight: 200;
  font-size: 2em;
  margin-left: 15px;
}

.sax-list {
  text-align: left;
}

.exam-and-faq-modal-text {
  display: none;
}


.profile-card:nth-of-type(1),
.profile-card:nth-of-type(2),
.profile-card:nth-of-type(3) {
  width: 250px;
  display: inline-block;
  margin-left: 30px;
}

.instrument {
  height: 75px;
  width: 75px;
}

.exam-and-faq-button {
  margin-right: 80px;
  margin-left: 80px;
}

.list-container {
  margin-left: 20px;
}
}

@media screen and (max-width: 970px) {

  .contact-info-card:nth-of-type(1),
  .contact-info-card:nth-of-type(2),
  .contact-info-card:nth-of-type(3),
  .contact-info-card:nth-of-type(4) {
    width: 49%;
    height: auto;
  }

  .contact-info-text-container {
    display: inline-block;
    vertical-align: top;
  }

  .contact-info-title {
    display: inline-block;
    margin-left: 13px;
    margin-top: 17px;
    vertical-align: top;
  }

  .contact-info {
    font-family: heebo, sans-serif;
    font-weight: 100;
    text-align: left;
    margin-top: -13px;
    margin-left: 13px;
    font-size: 1.08em;
    text-decoration: none;
    color: #fff;
  }

  .circle-outline {
    display: inline-block;
    margin-left: 10%;
    width: 75px;
    height: 75px;
  }

  .la-phone,
  .la-mobile,
  .la-map-marker,
  .la-envelope {
    color: #fff;
    font-size: 2.8em !important;
    text-align: center;
    margin-left: 15px;
    margin-top: 17px;
  }
}

@media screen and (max-width: 870px) {

  .profile-card:nth-of-type(1),
  .profile-card:nth-of-type(2),
  .profile-card:nth-of-type(3) {
    width: 220px;
    display: inline-block;
    margin-left: 30px;
  }

  .fa-ul {
    column-gap: 0px;
  }

  .exam-and-faq-button {
    margin-right: 60px;
    margin-left: 60px;
  }

  .instrument-title {
    font-size: 1.2em;
  }

  .list-text {
    width: 70%;
  }

  .list-container {
    margin-left: 40px;
  }

  .circle-outline {
    margin-left: 11%;
  }
}

@media screen and (max-width: 775px) {

  .profile-card:nth-of-type(1),
  .profile-card:nth-of-type(2),
  .profile-card:nth-of-type(3) {
    width: 200px;
    margin-left: 20px;
  }

  .instruments-about {
    font-size: 1.2em;
  }

  .instrument {
    height: 70px;
    width: 70px;
  }

  .instrument-title {
    font-size: 1.2em;
  }

  #instruments-about-section {
    height: 500px;
  }

  #instruments-section {
    height: 500px;
  }

  .exam-and-faq-button {
    margin-right: 50px;
    margin-left: 50px;
  }

  .circle-outline {
    margin-left: 7%;
  }
}

@media screen and (max-width: 725px) {
  .social-media-logo-container {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    width: -moz-fit-content;
  }

  nav {
    display: none;
  }

  #topNav {
    display: block;
    height: 70px;
    z-index: 2;
  }

  .mobile-navbar-logo {
    height: 35px;
    margin-top: 5px;
    margin-left: 5px;
  }

  .navigation {
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #282f3d;
    box-shadow: 0 4px 4px -3px #232323;
    -moz-box-shadow: 0 4px 4px -3px #232323;
    -webkit-box-shadow: 0 4px 4px -3px #232323;
    overflow: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    padding-top: 0px;
  }

  .navigation a {
    text-decoration: none;
  }

  .navigation ul {
    margin-top: 30px;
    text-align: center;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
  }

  #menulist {
    display: none;
    width: 200px;
    padding: 0;
  }

  .line1,
  .line2,
  .line3 {
    margin-top: 5px;
    background-color: #fff;
    width: 25px;
    height: 3px;
    display: block;
    position: relative;
    opacity: 1;
    border-radius: 15%;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }

  .line1.active {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);

    transform: rotate(270deg);
    opacity: 0;
    background-color: #66b6d1;
    top: 5px;
  }

  .line2.active {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #66b6d1;
  }

  .line3.active {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #66b6d1;
    top: -7px;
  }

  .menuitems {
    font-family: "Montserrat", sans-serif;
    padding-top: 12px;
    padding-bottom: 12px;
    text-decoration: none;
    list-style: none;
    font-weight: 300;
    font-size: 20px;
    display: inline-block;
    position: relative;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }

  .menuitems:after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: #fff;
    -webkit-transition: width 0.2s;
    -o-transition: width 0.2s;
    transition: width 0.2s;
  }

  .menuitems:hover::after {
    width: 100%;
  }

  #closebtn {
    height: 25px;
    width: 25px;
    position: absolute;
    text-decoration: none;
    top: 20px;
    right: 25px;
    font-size: 36px !important;
    z-index: 100;
    color: #fff;
    cursor: pointer;
    -webkit-transition: background-position 0.3s;
    -o-transition: background-position 0.3s;
    transition: background-position 0.3s;
  }

  #instruments-about-section {
    width: 100%;
  }

  #instruments-section {
    width: 100%;
  }

  .instruments-about {
    text-align: center;
  }

  #instruments-container {
    width: 90%;
  }

  .choose-us-text {
    text-align: center;
  }

  .why-choose-us-title {
    margin-top: 0;
  }

  #testimonials {
    width: 100%;
  }

  .Exams-and-faq-section-text {
    text-align: center;
  }

  .exam-and-faq-button {
    margin-right: 40px;
    margin-left: 40px;
  }

  .review-text {
    width: 100%;
  }

  .left-button {
    left: -10%;
  }

  .right-button {
    right: -10%;
  }

  .profile-card:nth-of-type(1),
  .profile-card:nth-of-type(2) {
    margin-left: 10px;
    width: 180px;
  }

  .profile-card:nth-of-type(3) {
    margin-left: 0px;
    width: 180px;
  }

  .exam-and-faq-button {
    margin-right: 0px;
    margin-left: 0px;
    display: block;
    margin-bottom: 20px;
  }

  #front-page-content {
    margin: auto;
    width: fit-content;
    width: -moz-fit-content;
  }

  .page-title-container {
    margin: auto;
    width: fit-content;
    position: initial;
  }

  .title-container {
    margin-top: 100px;
    text-align: center;
  }

  .page-title-container {
    margin: auto;
    margin-top: 20px;
    text-align: center;
  }

  .about-text {
    font-family: Heebo;
    width: 70%;
    padding-top: 20px;
    color: #fff;
    font-weight: 200;
    text-align: center;
    font-size: 1.2em;
    margin: auto;
  }

  .contact-button-container {
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
  }

  .book-now-button {
    margin-top: 40px;
  }

  .contact-info-card:nth-of-type(1),
  .contact-info-card:nth-of-type(2),
  .contact-info-card:nth-of-type(3),
  .contact-info-card:nth-of-type(4) {
    width: 100%;
    height: auto;
  }

  .contact-info-text-container {
    display: inline-block;
    vertical-align: top;
  }
}

@media screen and (max-width: 595px) {
  .contact-info {
    font-size: 0.8em;
  }

  .website-title {
    font-size: 4em;
  }

  .profile-card:nth-of-type(1),
  .profile-card:nth-of-type(2) {
    width: 47%;
  }

  .profile-card:nth-of-type(3) {
    width: 100%;
  }

  .review-text {
    width: 90%;
  }

  .instrument-modal-about-teacher {
    width: 80%;
  }

  .fa-ul {
    column-count: 1;
    margin: auto;
    width: fit-content;
    width: -moz-fit-content;
  }

  .list-container {
    margin: auto;
  }

  .contact-info {
    word-wrap: break-word;
  }
}

@media screen and (max-width: 730px) {

  #front-page-content,
  .page-title-container {
    text-align: center;
    width: 100%;
  }
}

@media screen and (max-width: 414px) {

  .profile-card:nth-of-type(1),
  .profile-card:nth-of-type(2),
  .profile-card:nth-of-type(3) {
    width: 100%;
    margin-left: 0;
  }
}