/* HOME VIDEO and PHOTO BANNER */

#home-image-banner {
  margin: 0;
  height: 50vw;
  max-height: 50vh;
}

.webp #home-image-banner {
  background: url(../img/123rf_96277627_l_normal_none_2500x1667.webp) center center no-repeat;
  background-size: cover;
}
.no-webp #home-image-banner {
  background: url(../img/123rf_96277627_l_normal_none_2500x1667.jpg) center center no-repeat;
  background-size: cover;
}

#company-name {
  padding: 20px;
  color: white;
}

#company-name h1 { 
  margin: 0;
  font-size: calc(2.5rem + 2.5vw);
}

#company-name p {
  max-width: 1000px;
  margin: 10px auto 10px;
  font-weight: bold;
}


/* WELCOME AND CLASSES INFO */

.webp #home-welcome-and-classes {
  background: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0), rgba(0,0,0,1)), url(../img/chris-hardy-kXK4dYneOpo-unsplash_rotate_2500x1761.webp) center center no-repeat fixed;
  background-size: cover;
}
.no-webp #home-welcome-and-classes {
  background: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0), rgba(0,0,0,1)), url(../img/chris-hardy-kXK4dYneOpo-unsplash_rotate_2500x1761.jpg) center center no-repeat fixed;
  background-size: cover;
}

#classes-container {
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
}

#classes-container div { flex: 1; }

#home-welcome-and-classes hr {
  width: 250px;
  border: 0;
  height: 4px;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--color-orange), rgba(255,255,255,0));
  margin-bottom: 30px;
}

.lesson { 
  border: solid 5px white;
  /*background: #373737;*/
  /*background: #2C2E39;*/
  
}

.lesson .lesson-age {
  display: inline-block;
  background: white;
  color: black;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 800;
}

.lesson .lesson-instruments { margin: 0; padding: 0 4vw;}

@media only screen and (max-width: 399px) {
  .lesson {
    min-width: 200px;
    margin: 10px;
    padding: 10px;
  }
}

@media only screen and (min-width: 400px) {
  .lesson {
    min-width: 350px;
    margin: 3vw;
    padding: 20px;
  }
}

/* HOME - TEACHERS */

#home-teachers-featured { display: flex; }
#home-teachers-featured picture { flex: 1; }

#home-teachers-featured img {
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  margin: auto;
}

@media only screen and (min-width: 500px) {
  #home-teachers-featured img {
    height: 15vw;
    width: 15vw;
  }
}

@media only screen and (max-width: 499px) {
  #home-teachers-featured picture:nth-child(n+4) {
    display: none;
  }
  #home-teachers-featured img {
    height: 25vw;
    width: 25vw;
  }
}

/* EVENT HIGHLIGHTS */

.webp #home-event-photos {
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url(../img/mike-castro-demaria-AQIB4qsI8wI-unsplash_2500x1667.webp) center center no-repeat fixed, white;
  background-size: cover;
}
.no-webp #home-event-photos {
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url(../img/mike-castro-demaria-AQIB4qsI8wI-unsplash_2500x1667.jpg) center center no-repeat fixed, white;
  background-size: cover;
}

#home-event-photos {
  padding-left: 10vw;
  padding-right: 10vw;
}

#home-event-photos p {
  max-width: 800px;
  margin: 20px auto;
}

#home-event-photos #photo-container {
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
}

#photo-container picture {
  flex: 0 0 33.3333%;
  height: 27vw;
  padding: 1vw;
}

#photo-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 100% 25%;
  box-shadow: var(--box-shadow);
}

/* MAIN QUOTE */

#home-quote {
  background: black;
  color: var(--color-purple-medium);
}

#home-quote blockquote {
  font-size: calc(14px + 1vw);
  font-family: var(--font-family-header);
  max-width: 1000px;
  margin: 20px auto;
}

/* FACEBOOK */

.webp #home-facebook {
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,1)), url(../img/denise-jans-RQ0_Fp2Hr2M-unsplash_rotate_2500x1400.webp) center center no-repeat;
  background-size: cover;
}
.no-webp #home-facebook {
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,1)), url(../img/denise-jans-RQ0_Fp2Hr2M-unsplash_rotate_2500x1400.jpg) center center no-repeat;
  background-size: cover;
}

#home-facebook #facebook-content {
  display: flex;
  align-items: center;
}

#facebook-content #facebook-photo { flex: 1; }

#facebook-photo img {
  width: 35vw;
  object-fit: cover;
  border-radius: 20px;
  border: solid 10px #bbb;
  margin: auto;
}

#facebook-content #facebook-feed {
  display: block;
  flex: 1;
}

@media only screen and (min-width: 1000px) {
  #facebook-photo { display: block; }
}

@media only screen and (max-width: 999px) {
  #facebook-photo { display: none; }
}

/* HOME ABOUT STUDIO */

.webp #home-about-studio-container {
  background: linear-gradient(rgba(255,255,255,1), rgba(0,0,0,0.3)), url(../img/diego-catto-DI6ywiG5N0g-unsplash_2500x1667.webp) center bottom no-repeat;
  background-size: cover;
}
.no-webp #home-about-studio-container {
  background: linear-gradient(rgba(255,255,255,1), rgba(0,0,0,0.3)), url(../img/diego-catto-DI6ywiG5N0g-unsplash_2500x1667.jpg) center bottom no-repeat;
  background-size: cover;
}

#home-about-studio {
  padding: 0 0 20px 0;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--box-shadow);
}

#home-about-studio picture {
  width: 100%;
}

#home-about-studio img {
  width: 100%;
  object-fit: cover;
  object-position: 20% 100%;
}

#home-about-studio p {
  padding: 20px;
  margin: 0;
}

.error {
  color: red;
}
