body,
html {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #333;
  font-size: 62.5%;
  line-height: 1.8;
}

.responsive-map {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  margin-top: 10px;
}
.responsive-map iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

img {
  border: 0;
}
.container {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
}

h1,
h2 {
  font-family: 'Allura', cursive;
  font-weight: normal;
  line-height: 1.25;
  margin: 20px 0;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 4.8rem;
  letter-spacing: 1px;
}

ul,
li {
  margin: 0;
  padding: 0;
}

.button {
  background-color: #a80000;
  color: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  box-sizing: border-box;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2.4rem;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
}

.button.small,
.button[type='submit'] {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1.8rem;
  cursor: pointer;
}
.button:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  background-color: #810000;
}
.button.small:hover {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
}
.fas {
  margin-right: 10px;
}

/* HEADER */
header {
  display: flex;
}

.logo-wrapper {
  padding: 30px 40px;
}

.menu-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

#logo {
  width: 200px;
  height: auto;
}

.top-menu {
  background-color: #242424;
  color: #fff;
  font-size: 1.3rem;
  padding: 20px 30px;
  display: flex;
  align-items: center;
}

.hamburger-menu {
  display: none;
}

.hamburger-menu .fas {
  cursor: pointer;
}

.top-menu > span:first-child {
  margin-right: 20px;
}

.top-menu > span {
  display: flex;
  align-items: center;
}

.top-menu .fas {
  font-size: 2.4rem;
}

.top-menu ul {
  flex-grow: 1;
  text-align: right;
}

.top-menu li {
  display: inline;
  padding: 0 10px;
}

.top-menu a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.main-menu {
  font-size: 1.8rem;
  text-align: right;
  padding: 20px 30px;
  flex-grow: 1;
  display: flex;
}

.main-menu ul {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
  align-items: center;
}
.main-menu li {
  display: inline;
  padding: 0 10px;
}

.main-menu a {
  color: #a80000;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu {
  box-sizing: border-box;
  background-color: #fff;
  width: 100%;
  padding: 10px 20px;
  text-align: center;
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: 60px;
  z-index: 3;
}

.close-modal-icon {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
}

.mobile-menu .main-mobile-links {
  margin-top: 30px;
  font-size: 2.4rem;
}

.mobile-menu li {
  list-style: none;
  margin: 5px;
  display: inline-block;
}

.mobile-menu a {
  color: #242424;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu .main-mobile-links a {
  color: #a80000;
}

/* SLIDER */
.slider {
  position: relative;
}

.slider .slick-list {
  min-height: 150px;
}

.slider .button {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: #fff;
  color: #a80000;
}

.slider .button:hover {
  color: #242424;
  box-shadow: none;
  bottom: -15px;
}

.slick-arrow,
.slick-arrow:hover,
.slick-arrow:focus {
  bottom: 0;
  background: #fff;
  padding: 40px;
  top: auto;
  transform: none;
  z-index: 2;
}

.slick-prev,
.slick-prev:hover,
.slick-prev:focus {
  left: 0;
}

.slick-next,
.slick-next:hover,
.slick-next:focus {
  right: 0;
}

.slick-arrow::before {
  font-size: 3rem;
  color: #a80000;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slick-arrow:hover::before {
  color: #242424;
  font-size: 3.2rem;
  transition: all 0.2s ease;
}

/* MAIN */
main {
  max-width: 1366px;
  margin: 0 auto;
  font-size: 1.8rem;
  box-sizing: border-box;
  padding: 0 20px 20px 20px;
}
main.homepage {
  padding: 40px;
}

/* APPOINTMENTS */
#appointments {
  max-width: 1366px;
  margin: 0 auto;
  font-size: 1.8rem;
  padding: 30px 40px 60px 40px;
  box-sizing: border-box;
  text-align: center;
}

#appointments .button {
  margin-top: 20px;
}

/* STYLISTS */
#stylists {
  background-color: #242424;
  background-image: url('images/stylists-bg.jpg');
  background-position: center top;
  background-size: cover;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

#stylists .figures {
  display: flex;
  justify-content: center;
}

#stylists figure img {
  width: 100%;
  max-width: 328px;
  height: auto;
}

#stylists figure figcaption {
  margin-top: 20px;
  font-size: 1.8rem;
}

#stylists .button {
  margin-top: 30px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.card-container {
  width: 100%;
}

.admin-edit-container {
  box-sizing: border-box;
  display: none;
  position: absolute;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: right;
}

.admin-edit-container button {
  margin: 5px;
}

.admin-edit-container i {
  margin-right: 0;
}

.card-container:hover .admin-edit-container {
  display: block;
}

.contact-container {
  width: 50%;
  display: flex;
}

.contact-container .card {
  width: 100%;
}

.contact-container .card .city-state-zip {
  margin-bottom: 20px;
}

.service-container,
.product-container,
.gallery-container {
  width: 33.33%;
  display: flex;
  flex-grow: 1;
}

.gallery-container {
  width: 20%;
}

.gallery-container img {
  width: 100%;
}

.product-container,
.gallery-container {
  flex-grow: 0;
}

.card {
  margin: 10px;
  padding: 20px 40px;
  box-sizing: border-box;
  background-color: #f3f3f3;
  position: relative;
}

.card.gallery {
  padding: 0;
  display: flex;
  align-items: center;
}

.stylist,
.service,
.product,
.hours {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hours,
.stylist {
  flex-direction: row;
}

.appointments-title {
  display: flex;
  align-items: center;
}

.appointments-title h1 {
  flex-grow: 1;
}
.stylist img {
  width: 300px;
  border-radius: 8px;
}
.stylist-image {
  padding: 20px 20px 20px 0;
}
.stylist-info {
  padding: 0 0 0 20px;
}

.stylist-info h2 {
  margin-bottom: 0;
}
.stylist-info h3 {
  color: #a80000;
  border-bottom: 1px solid #000;
  padding-bottom: 30px;
  margin-top: 0;
  margin-bottom: 30px;
}

.hours span.day {
  flex-grow: 1;
}

.hours span.hour {
  color: #a80000;
}

.product img {
  width: 100%;
}

.service h3,
.product h3 {
  border-bottom: 1px solid #242424;
}

.product .content {
  flex-grow: 1;
  margin-bottom: 40px;
}
.service p strong {
  color: #a80000;
}
/* FOOTER */
footer {
  background-color: #242424;
  padding: 30px;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
}

footer > span {
  padding: 0 20px;
}

footer a {
  color: #fff;
  text-decoration: none;
  padding: 0 5px;
}

.field {
  display: flex;
  margin-bottom: 20px;
}
.field.submit {
  justify-content: flex-end;
  margin-bottom: 0;
}

.field label {
  width: 100px;
  font-size: 16px;
  margin-right: 20px;
}

.field input[type='text'],
.field textarea {
  width: 100%;
}

.gallery-group {
  margin-bottom: 50px;
}

.gallery-group h2 {
  margin-bottom: 0;
  color: #a80000;
}

.gallery-group p {
  margin-top: 0;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #000;
}

.modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modalHeader h3 {
  font-family: 'Roboto', sans-serif;
  color: #a80000;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.loaderWrapper {
  top: 137px;
  left: 0;
  position: fixed;
  width: 100vw;
  height: calc(100vh - 137px);
  background-color: #ffffff;
  z-index: 200000000;
}

.loader {
  position: absolute;
  top: calc(50% - 72px / 2);
  left: 50%;
  transform: translate(-50%, -50%);
  color: #242424;
  font-size: 20px;
}

@media only screen and (max-width: 1050px) {
  #logo {
    width: 150px;
  }

  .service-container,
  .product-container {
    width: 50%;
  }

  .stylist img {
    width: 200px;
  }
}
@media only screen and (max-width: 1023px) {
  html {
    font-size: 50%;
  }
  header {
    flex-direction: column;
  }
  .logo-wrapper {
    text-align: center;
    padding: 20px 0;
  }
  .top-menu {
    padding: 20px;
  }
  .top-menu .fa-bars {
    margin: 0;
  }
  .top-menu ul,
  .main-menu {
    display: none;
  }
  .top-menu .hamburger-menu {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    text-align: right;
  }
  .mobile-menu {
    padding: 20px;
    font-size: 1.4rem;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 3;
  }
  .mobile-menu li {
    display: block;
  }
  main {
    padding: 20px;
  }
  #appointments {
    padding: 20px 20px 40px;
  }
  .figures {
    flex-direction: column;
  }
  #stylists figure figcaption {
    margin: 10px 0 20px 0;
  }
  .carousel-items div {
    height: 400px;
  }
  .slick-arrow,
  .slick-arrow:hover,
  .slick-arrow:focus {
    padding: 30px;
  }
  .loaderWrapper {
    top: 173px;
    height: calc(100vh - 173px);
  }
}

@media only screen and (max-width: 768px) {
  .fa-phone,
  .fa-envelope,
  .fa-calendar-check {
    display: none;
  }

  .carousel-items div {
    height: 300px;
  }

  .button {
    padding: 10px 30px;
    font-size: 1.8rem;
  }

  #carousel .button,
  #carousel .button:hover {
    bottom: -14px;
  }
  .slick-arrow,
  .slick-arrow:hover,
  .slick-arrow:focus {
    padding: 20px;
  }
  .stylist {
    flex-direction: column;
  }
  .stylist-image {
    padding: 20px;
  }
  .stylist img {
    margin: 0 auto;
    display: block;
    border-radius: 50%;
  }
  .stylist-info {
    padding: 0;
  }
  .stylist-info h2,
  .stylist-info h3 {
    text-align: center;
  }
  .contact-container {
    width: 100%;
  }
  .contact-container .card {
    padding: 20px;
  }
}
@media only screen and (max-width: 600px) {
  .flex-container,
  .card {
    margin: 10px 0;
  }
  .service-container,
  .product-container {
    width: 100%;
  }
  .service,
  .product {
    margin: 10px 0;
  }
  .appointments-title {
    display: block;
    text-align: center;
  }
}
@media only screen and (max-width: 480px) {
  h1 {
    text-align: center;
  }
  h2 {
    font-size: 4rem;
  }

  #stylists {
    padding: 40px 20px;
  }

  footer span {
    display: block;
    margin: 10px 0;
  }
  .carousel-items div {
    height: 200px;
  }
  .button {
    font-size: 1.4rem;
  }
  #carousel .button,
  #carousel .button:hover {
    line-height: 1.8rem;
  }
}
