/*
Grape           #92618E
Eggplant        #4A2849
Sand            #F3DDCC
Shell           #F8EDE7
*/
@import "https://fonts.googleapis.com/css?family=Ubuntu";
.cf:before,
.cf:after {
  content: " ";
  display: table;
}
.cf:after {
  clear: both;
}

:root {
  font-size: 18px;
}

html {
  min-height: 100%;
}
body {
  background-color: #f8ede7;
  color: #4a2849;
  font-family: "Ubuntu", sans-serif;
  padding: 0px;
  margin: 0px;
}
header {
  width: 90%;
  padding: 5% 5%;
  text-align: center;
  color: #92618e;
  text-shadow: 2px 2px 2px #000;
  background-color: #4a2849;
}
.social {
  position: absolute;
  right: 10;
  top: 10;
  font-size: 40;
}
.social i:hover {
  color: #f8ede7;
}
header > h1 {
  margin: 0px;
  padding: 0px;
  font-size: 90px;
}

.headshot {
  width: 300px;
  height: auto;
  border-radius: 100%;
  padding: 10px;
  padding-left: 0;
}

.classes-wrapper {
  width: 1200px;
  max-width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}
.classes-wrapper__text {
  flex: 2;
  margin-right: 2em;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 10px;
  column-gap: 10px;
}
.gallery-preview-image {
  overflow: hidden;
}
.gallery-preview-image img {
  object-fit: cover;
  height: 300px;
  width: 100%;
}

.classes-wrapper__form {
  flex: 1;
}

.intro-content {
  display: flex;
  align-items: center;
  width: 1200px;
  margin: auto;
  max-width: 100%;
}

.intro-content__item--small {
  flex: 1;
}
.intro-content__item--large {
  flex: 3;
  margin-right: 2em;
}

.wrapper {
  width: 1200px;
  margin: 10px auto;
  font-size: 1em;
}
.wrapper > h1 {
  font-size: 50px;
}
.three_div {
  width: 31%;
  padding: 5px 1%;
  float: left;
}
.two_div {
  width: 48%;
  padding: 1%;
  float: left;
}
.two_div_L {
  width: 73%;
  padding: 1%;
  float: left;
}
.two_div_R {
  width: 23%;
  padding: 1%;
  float: left;
}

.four_div {
  width: 23%;
  padding: 1%;
  float: left;
}
.four_div > img {
  width: 100%;
  padding: 0px;
  margin: 0px;
}
.four_div > p {
  text-align: center;
  font-size: 18px;
}
a {
  color: inherit;
}
.footer {
  width: 80%;
  padding: 10px 10%;
  background-color: #92618e;
}
.footer > div {
  width: 31%;
  padding: 1%;
  float: left;
}
.footer > div > ul > a {
  text-decoration: none;
}
.footer > div > ul {
  list-style: none;
}
.social-wrap img {
  width: 10%;
  height: auto;
  float: left;
  padding: 0px;
  margin: 0px;
}
.social-wrap label {
  width: 88%;
  padding: 1%;
  float: left;
}
.social-wrap {
  width: 100%;
  margin-bottom: 5px;
}
textarea,
input {
  color: white;
  width: 90%;
  padding: 5%;
  background-color: #92618e;
  margin: 0 0 10px 0;
  border: 0px;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #fff;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #fff;
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #fff;
}
:-moz-placeholder {
  /* Firefox 18- */
  color: #fff;
}

@media (max-width: 900px) {
  .intro-content,
  .classes-wrapper {
    display: block;
  }

  .headshot {
    width: 60%;
    display: block;
    margin: 2em auto;
    border-radius: 100%;
  }
  .intro-content > div,
  .classes-wrapper > div {
    display: block;
    width: 96%;
    margin: auto;
  }
}

@media (max-width: 1520px) {
  .wrapper {
    width: 90%;
    padding: 10px 5%;
  }
  #video-bg-elem {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background: url("images/poster.jpg") no-repeat;
    background-size: cover;
    transition: 1s opacity;
  }
  .content > div > h1 {
    font-size: 60px;
  }
  .background-wrap {
    width: auto;
    height: auto;
    z-index: -100;
    overflow: hidden;
  }
  .content {
    width: 100%;
    min-height: 0;
    margin-bottom: 30px;
  }
}
@media (max-width: 1100px) {
  .two_div_R,
  .two_div_L,
  .two_div,
  .three_div {
    width: 96%;
    padding: 2%;
    float: none;
  }
  .four_div {
    width: 48%;
    padding: 1%;
    float: left;
  }
  .footer {
    width: 96%;
    padding: 2%;
    background-color: #92618e;
  }
  .footer > div {
    width: 100%;
    padding: 0;
    float: none;
  }
}
@media (max-width: 650px) {
  .four_div {
    width: 96%;
    padding: 2%;
    float: none;
  }
}
@media (max-width: 1035px) {
  header {
    background-color: transparent;
    border-bottom: 0px;
    width: 100%;
  }
  header > img {
    display: none;
  }
  #video-bg-elem {
    display: none;
  }
  #picture-bg-elem {
    display: block;
    width: 100%;
  }
  .content {
    width: 100%;
    z-index: 100;
    background-color: transparent;
  }

  .content > div > img {
    width: 50%;
    padding: 5%;
  }
  .content > div > h1 {
    color: #ebf0f1;
    text-align: center;
    text-shadow: 4px 4px 4px #111111;
    font-size: 40px;
  }
}
@media (max-width: 1000px) {
  .top-bar {
    width: 96%;
    padding: 2%;
  }
}
@media (max-width: 825px) {
  header {
    width: auto;
  }
  .img-div {
    display: none;
  }
  .content > div {
    width: 98%;
    padding: 1%;
    float: none;
  }
}
@media (max-width: 800px) {
  .top-bar > h1 {
    font-size: 60px;
    width: 96%;
    float: none;
    padding: 2%;
    margin: 10px 0px;
    text-align: center;
    font-style: italic;
  }
  .top-bar > div {
    display: none;
  }
}
