/* GENERAL STYLES
-------------------------------------------------- */
@font-face {
  font-family: 'Gilroy';
  src: url(../fonts/Gilroy-ExtraBold.woff);
  font-weight: bold;
}

@font-face {
  font-family: 'Lora';
  src: url(../fonts/Lora-Regular.woff);
  font-weight: normal;
}

@font-face {
  font-family: 'Lora';
  src: url(../fonts/Lora-Bold.woff);
  font-weight: bold;
}

@font-face {
  font-family: 'Sears';
  src: url(../fonts/Sears-Regular.woff);
  font-weight: normal;
}

@font-face {
  font-family: 'Din';
  src: url(../fonts/Din-Condensed.woff);
  font-weight: normal;
}

:root {
  /* COLOURS */
  --dark-text: #222222;
  --medium-text: #666666;
  --light-text: #CCCCCC;

  --white-text: #FFFFFF;

  --footer-text: #A2A1A0;

  --teal: #1A909A;
  --contrast-teal: #20A4AF;

  --dark-background: #000000;
  --white-background: #FFFFFF;
  --light-background: #E9E9E9;
  --contrast-light-background: #D1D1D1;

  /* MARGINS */
  --small-margins: 5px 0 10px 0;
  --large-margins: 20px 0 30px 0;

  /* HEIGHTS */
  --home-section-height: 400px;

  /* SPACING */
  --tight-spacing: 0.04em;
  --medium-spacing: 0.08em;
  --wide-spacing: 0.2em;
}

html, body {
  font-family: 'Lora', serif;
  font-weight: normal;
  text-align: left;
  line-height: 3em;
	margin: 0;
	padding: 0;
	font-size: 15px;
	color: var(--medium-text);
  letter-spacing: var(--tight-spacing);
  background: none;
  cursor: default;
}

.no-top {
  margin-top: 0;
}

/* TEXT
-------------------------------------------------- */

h1 {
  font-family: 'Gilroy', sans-serif;
  font-weight: bold;
  font-size: 46px;
  line-height: 1.4em;
  color: var(--white-text);
  letter-spacing: var(--medium-spacing);
  text-transform: uppercase;

  margin: 60px 0 20px 0;
}

h1.home {
  margin: 140px 0 20px 0;
}

h2 {
  font-family: 'Gilroy', sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: var(--dark-text);
  letter-spacing: var(--medium-spacing);
  text-transform: uppercase;
  z-index: 10;
}

h3 {
  font-family: 'Sears', sans-serif;
  font-weight: normal;
  font-size: 20px;
  letter-spacing: var(--medium-spacing);
  color: var(--teal);
  line-height: 1.5em;
  margin: 15px 0 15px 0;
}

h3.video-title {
  margin-top: 0;
  line-height: 1.2em;
}

h3.sheet-music {
  margin: 15px 0 5px 0;
}

h4 {
  font-family: 'Gilroy', sans-serif;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: var(--wide-spacing);
  color: var(--light-text);
  text-transform: uppercase;

  line-height: 1em;
  margin: 10px 0;
}

h4.hover {
  display: block;
  text-align: center;
  color: var(--white-text);
  margin-top: 50px;
}

h5 {
  font-family: 'Din', sans-serif;
  font-weight: normal;
  font-size: 18px;
  letter-spacing: var(--tight-spacing);
  color: var(--white-text);
  text-transform: uppercase;

  margin: 0;
}

h6 {
  font-family: 'Gilroy', sans-serif;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: var(--medium-spacing);
  color: var(--footer-text);
  text-transform: uppercase;

  margin: 15px 0 10px 0;
}

p {
  font-family: 'Lora', serif;
  font-weight: normal;
  font-size: 13px;
  color: var(--medium-text);
  line-height: 2em;
  margin: 10px 0 30px 0;
}

p.home {
  font-size: 15px;
  color: var(--white-text);
}

p.tight {
  margin: 0 0 5px 0;
}

p.tight.sheet-music {
  margin-bottom: 15px;
}

p.footer {
  line-height: 3em;
  color: var(--footer-text);
}

p.footer > a {
  color: var(--footer-text);
}

p.footer > a:hover {
 border-bottom: solid 1px var(--footer-text);
}

a {
  text-decoration: none;
  color: var(--teal);
  cursor: pointer;
}

a.button {
  display: inline-block;
  margin: var(--smal-margins);
  padding: 9px 15px 8px 15px;
  background: var(--contrast-teal);
  border-bottom: solid 3px var(--teal);
  border-radius: 5px;

  font-family: 'Gilroy', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: var(--medium-spacing);
  color: var(--white-text);
  font-size: 20px;
  line-height: 1em;

  transition: background 0.2s;
}

a.button.sheet-music {
  display: block;
  text-align: center;
  font-size: 16px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin: 0 -11px -5px -11px;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
}

a.button.small {
  font-size: 16px;
  margin: var(--smal-margins);
  padding: 6px 10px 5px 10px;
  background: var(--contrast-teal);
  border-bottom: solid 3px var(--teal);
  vertical-align: bottom;
}

a.button:hover {
  background: var(--teal);
}

/*  DIVS
-------------------------------------------------- */

.badge {
  position: absolute;
  left: 0;
  margin: 10px 0 0 15px;
}

.casting.row-1 {
  display: grid;
  grid-template-columns: 35% 65%;
}

.casting.row-1 .sub-casting-type {
  display: grid;
  grid-template-columns: auto auto;
}

.container {
  width: calc(100% - 30px);
  max-width: 1030px;
  margin: auto;
  padding: 0 15px;
}

.container.about {
  display: grid;
  grid-template-columns: 460px auto;
}

.container.contact {
  display: grid;
  grid-template-columns: auto auto auto;
}

.container.teaching {
  display: grid;
  grid-template-columns: 500px auto;
}

.container.menu-container {
  position: relative;
}

.border-top {
  border-top: solid 1px var(--contrast-light-background);
}

.container.footer {
  display: grid;
  grid-template-columns: auto auto auto auto;
}

.gallery-layout{
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-gap: 15px;
}

.gallery-item {
  width: 100%;
  background-color: #000000; /* Used if the image is unavailable */
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
}

.menu {
  margin: 0;
  padding: 0;
  z-index: 100;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  background: rgba(0,0,0,0.7);
  display: none;
}

.navigation {
  position: absolute;
  right: 0;
  margin: 10px 15px 0 0;
}

.news-item {
  width: 100%;
  max-width: 750px;
  border-top: solid 1px var(--light-background);
  margin: 5px 0 50px 0;
}

.news-item.first {
  border: none;
}

.release-layout {
  display: grid;
  grid-template-columns: 250px auto;
  grid-gap: 15px;
}

.section {
  width: 100%;
  padding: var(--large-margins);
}

.section.header {
  background: var(--dark-background);
  padding-bottom: 5px;
}

.section.footer {
  background: var(--light-background);
}

.section.home {
  background-image: url("../images/home.jpg");
  background-color: #000000; /* Used if the image is unavailable */
  height: var(--home-section-height); /* You must set a specified height */
  background-position: right top; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: 900px; /* Resize the background image to cover the entire container */
}

.sheet-music-layout {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-gap: 10px;
}

.sheet-music-item {
  position: relative;
  width: calc(100% - 35px);
  background: #FAFAFA;
  border: solid 1px var(--light-background);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 0 10px 30px 10px;
  margin-bottom: 20px;
  z-index: 1;
}

.sheet-music-thumbnail {
  position: relative;
  margin: 10px auto 20px auto;
  width: 50%;
  padding: 10px;
  background: rgba(0,0,0,0.1);
  border-radius: 5px;
  cursor: pointer;
}

.sheet-music-thumbnail > .hover-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  background: rgba(26,144,154,0.5);
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.2s;
}

.sheet-music-thumbnail:hover > .hover-state {
  opacity: 1;
}

.video-container {
  width: 150vh;
  max-width: 100%;
  margin: 50px auto;
}

.video-container.news {
  width: 100%;
  max-width: 560px;
  margin: 0;
}

.video-layout {
  display: grid;
  grid-template-columns: 33% 34% 33%;
  grid-gap: 15px;
}

.video-thumbnail {
  width: 100%;
  background-color: #000000; /* Used if the image is unavailable */
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  text-align: center;
  transition: transform 0.2s;
}

.video-thumbnail:hover {
  transform: scale(1.03);
  cursor: pointer;
}

/*  IMAGES
-------------------------------------------------- */
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  cursor: pointer;
}

.contact-socials {
  width: 20px;
  margin-right: 30px;
}

.full {
  width: 100%;
}

.headshot {
  float: right;
  width: calc(100% - 20px);
}

.mobile-menu {
  display: none;
  position: absolute;
  right: 25px;
  top: 25px;
  width: 30px;
  cursor: pointer;
}

.play-icon {
  width: 80px;
  margin: 60px auto;
}

.release {
  width: 100%;
}

.sharp {
  width: 60px;
}

.shown-image {
  display: block;
  margin: 30px auto;
  max-width: calc(100% - 60px);
  max-height: calc(100% - 60px);
}

.sheet-music-thumbnail-image {
  display: block;
  width: calc(100% - 80px);
  margin: 0 auto;
}

/*  MENUS
-------------------------------------------------- */

.menu > .navigation > ul.nav-menu {
  position: relative;
  margin: 0;
  padding: 0;
  float: right;
  z-index: 110;
}

.menu > .navigation > ul.nav-menu > li {
 display: inline-block;
 margin: 0;
}

.menu > .navigation > ul.nav-menu > li > a {
  font-family: 'Din', sans-serif;
  font-weight: normal;
  font-size: 16px;
  margin: 0 15px 0 0;
  padding: 7px 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  letter-spacing: var(--tight-spacing);
  color: var(--white-text);
  text-transform: uppercase;
  opacity: 0.8;
  transition: all 0.2s;
}

.menu > .navigation > ul.nav-menu > li > a.no-dropdown {
  border-radius: 5px;
}

.menu > .navigation > ul.nav-menu > li:hover > a {
  color: var(--teal);
  background: var(--white-background);
  box-shadow: 0px 5px rgba(0,0,0,0.2);
  opacity: 1;
  cursor: pointer;
}

.menu > .navigation > ul.nav-menu > li > ul {
  margin: -7px 0 0 0;
  padding: 7px 0 0 0;
  position: absolute;
  width: 150px;
  padding: 7px 10px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: var(--teal);
  background: var(--white-background);
  visibility: hidden;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.2s;
}

.menu > .navigation > ul.nav-menu > li > a.social {
  margin-right: 5px;
}

.menu > .navigation > ul.nav-menu > li > a.social > img {
  width: 15px;
  opacity: 0.7;
}

.menu > .navigation > ul.nav-menu > li > a.social:hover > img {
  opacity: 1;
}

.menu > .navigation > ul.nav-menu > li:hover > a.social {
  background: none;
}

.menu > .navigation > ul.nav-menu > li:hover > ul {
  visibility: visible;
  opacity: 1;
}

.menu > .navigation > ul.nav-menu > li > ul:hover {
  visibility: visible;
  opacity: 1;
}

.menu > .navigation > ul.nav-menu > li > ul > li {
  list-style: none;
}

.menu > .navigation > ul.nav-menu > li > ul > li > a {
  font-family: 'Din', sans-serif;
  font-weight: normal;
  font-size: 14px;
  margin: 0;
  line-height: 2em;
  letter-spacing: var(--tight-spacing);
  color: var(--teal);
  text-transform: uppercase;
  opacity: 0.7;
}

.menu > .navigation > ul.nav-menu > li > ul > li > a:hover {
  opacity: 1;
}


/*  TABLES
-------------------------------------------------- */
table.skills {
  font-family: 'Lora', serif;
  font-weight: normal;
  font-size: 14px;
  color: var(--medium-text);
  line-height: 2em;
  margin: 10px 0 30px 0;
  border-spacing:0 15px;
}

table.skills tr td {
  vertical-align: top;
}

table.skills tr td:nth-child(1) {
  width: 25%;
  font-weight: bold;
}

/*  IFRAMES
-------------------------------------------------- */
#soundcloud {
  margin: 5% 30px;
  height: 166px;
  width: calc(100% - 60px);
}

.video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*  MEDIA QUERIES
-------------------------------------------------- */

@media only screen and (max-width: 700px) {

  /* TEXT */
  h1 {
    text-align: center;
    margin: 80px 0 20px 0;
  }

  h1.home {
    margin-top: 100px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
  }

  h6 {
    text-align: center;
  }

  p.home {
    text-align: center;
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
  }

  p.footer {
    text-align: center;
  }

  /* DIVS */

  .casting.row-1 {
    display: grid;
    grid-template-columns: auto;
  }

  .container.about {
    grid-template-columns: auto;
  }

  .container.footer {
    grid-template-columns: auto;
  }

  .container.contact {
    grid-template-columns: auto;
  }

  .container.teaching {
    grid-template-columns: auto;
  }

  .gallery-layout{
    grid-template-columns: auto auto;
    grid-gap: 10px;
  }

  .navigation {
    left: 0;
    right: 0;
    top: 60px;
    margin: 0;
  }

  .sheet-music-layout {
    display: grid;
    grid-template-columns: auto;
  }

  .sheet-music-item {
    width: calc(100% - 25px);
  }

  .video-layout {
    grid-template-columns: auto;
    grid-gap: 10px;
  }

  /* IMAGES */
  .mobile-menu {
    display: block;
  }

  /* MENUS */
  .menu > .navigation > ul.nav-menu {
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
    background: var(--teal);
    overflow: hidden;
    height: 0;
    transition: height 0.2s;
  }

  .menu > .navigation > ul.nav-menu > li {
   display: block;
   text-align: center;
   width: 100%;
   margin: 0;
   padding: 0;
  }

  .menu > .navigation > ul.nav-menu > li:hover > a {
    color: var(--white-text);
    background: none;
    box-shadow: none;
    opacity: 1;
    cursor: pointer;
  }

  .menu > .navigation > ul.nav-menu > li > ul {
    padding: 0;
    margin: 0;
    border-radius: 0;
    position: relative;
    color: var(--white-text);
    background: var(--contrast-teal);
    visibility: visible;
    opacity: 1;
    box-shadow: none;
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
  }

  .menu > .navigation > ul.nav-menu > li > ul > li > a {
    color: var(--white-text);
    margin-left: -10px;
    opacity: 0.8;
  }
}
