/*
Theme Name: Zermatt Child
Theme URI: https://zermatt.qodeinteractive.com
Description: A child theme of Zermatt
Author: Select Themes
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: zermatt
Template: zermatt
*/

:root {
  --purple: #C13DE2;
  --green: #4DEFBC;
  --blue: #0074FF;
  --orange: #FF7900;
  --red: #FF0079;
  --black: #00000A;
}

/*
    September Launch Page (Home)
*/
#qodef-page-inner #qodef-page-content .qodef-grid-inner .qodef-grid-item:first-of-type .app-store img {
  margin-top: 14px;
}

@media screen and (max-width: 768px) {
  .home h2:first-of-type.has-x-large-font-size {
    font-size: 2em !important;
    margin-left: 14px;
  }
  #qodef-page-inner #qodef-page-content .qodef-grid-inner .qodef-grid-item:first-of-type .app-store img {
    margin-left: 15px;
    margin-top: 25px;
  }
}

@media screen and (min-width: 769px) {
  .app-store, .google-play {
    display: inline;
  }
}

.app-store img {
  height: 60px;
  vertical-align: top;
}

.google-play img {
  width: 227px;
  vertical-align: top;
}

@media screen and (max-width: 768px) {
  #map {
    height: 545px;
  }
}
#map {
  height: 709px;
}

.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass {
  display: none;
}

/* Artists Page */
.artists h2:nth-of-type(2) {
  margin-bottom: 100px;
  font-size: 45px;
  text-decoration: underline;
}
.artist {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}
@media screen and (min-width: 1025px) {
  .artist {
    flex-direction: row;
  }
}
.artist_image {
  min-width: 40%;
  margin-bottom: 20px;
}
.artist_image_container {
  width: 256px;
  height: 256px;
  margin-top: 10px;
  border-radius: 50%;
  background-color: var(--blue);
  overflow: hidden;
}
.artist_image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.artist_content_line {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}
.artist_content .artist_content_name {
  margin: 0 0 5px 0;
  font-size: 38px;
}
.artist_content_social-links {
  margin-top: 10px;
  margin-bottom: 20px;
}
.social_link {
  display: inline-block;
  width: 35px;
  height: 35px;
  margin-right: 15px;
  background-size: 100% 100%;
  filter: invert(1);
}
.social_link.bandcamp {
  background-image: url('images/bandcamp.svg');
}
.social_link.facebook {
  background-image: url('images/facebook.svg');
}
.social_link.instagram {
  background-image: url('images/instagram.svg');
}
.social_link.soundcloud {
  background-image: url('images/soundcloud.svg');
}
.social_link.spotify {
  background-image: url('images/spotify.svg');
}
.social_link.twitter {
  background-image: url('images/twitter.svg');
}
.social_link.website {
  background-image: url('images/website.svg');
}
.artist-content_text {
  font-size: 16px;
}
.curator_logo {
  width: 200px;
  height: auto;
}

#surf .artist_content_name {
  margin-top: 15px;
}
#andrew-afework .artist_image_container img {
  object-fit: none;
}

/* Layout */
@media only screen and (min-width: 929px) {
  .qodef-content-grid-800 .qodef-content-grid {
      width: 909px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 928px) {
  body #qodef-page-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media only screen and (max-width: 928px) {
  body .qodef-content-grid {
    max-width: 100%;
  }
}

#qodef-page-content .qodef-grid-inner .qodef-grid-item:first-of-type *:first-child:not(.wp-block-button):not(.artist_image_container) {
  margin-top: 0;
}

/* Typography */
body {
  font-family: synthese, sans-serif;
  font-size: 16px;
}

body p {
  line-height: 1.5;
  margin: 1em 0;
}

body a {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: termina, sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
}

li {
  color: white;
}

.qodef-h2, h2 {
  margin: 2.5em 0 0;
  font-size: 30px;
}

.qodef-h2:first-of-type, h2:first-of-type {
  margin-top: 1.25em;
}

.qodef-h3, h3 {
  margin: 2em 0 0;
  font-size: 24px;
}

.qodef-h4, h4 {
  font-size: 20px;
}

@media only screen and (min-width: 769px) {
  body {
    font-size: 18px;
  }
  .qodef-h2, h2 {
    margin-top: 3.5em;
    font-size: 47px;
  }
  .qodef-h3, h3 {
    font-size: 30px;
  }
  .qodef-h4, h4 {
    font-size: 25px;
  }
}

body .qodef-page-title .qodef-breadcrumbs a {
  color: #afadad;
}

body .qodef-breadcrumbs-current {
  color: #5e5e5e;
}

body .qodef-page-inner a {
  text-decoration: underline;
}

body .qodef-page-inner a:hover {
  text-decoration: none;
}

#contact {
  margin-bottom: 0;
}

body #qodef-page-footer a {
  text-decoration: underline;
}

body #qodef-page-footer a:hover {
  text-decoration: none;
}

body #qodef-back-to-top {
  text-decoration: none;
}

/* Header */
body #qodef-page-mobile-header .qodef-mobile-header-logo-link img {
  width: 150px;
  height: auto;
}

@media screen and (min-width: 769px) {
  body #qodef-page-header .qodef-header-logo-link .qodef-header-logo-image {
    width: 237px;
    height: 68px;
  }
}

body .qodef-header-navigation>ul>li>a {
  font-size: 18px;
  font-family: termina, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  body .qodef-header-navigation>ul>li>a {
    font-size: 16px;
  }
}

/* Custom Page Colors */
html {
  background-color: var(--black);
}

#qodef-custom-cursor {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.home #qodef-custom-cursor .qodef-cursor-dot {
  background-color: var(--blue) !important;
}

.about #qodef-custom-cursor .qodef-cursor-dot {
  background-color: var(--green) !important;
}

.jury-team #qodef-custom-cursor .qodef-cursor-dot, .artists #qodef-custom-cursor .qodef-cursor-dot {
  background-color: var(--orange) !important;
}

.partners #qodef-custom-cursor .qodef-cursor-dot {
  background-color: var(--red) !important;
}

.home ::selection {
  color: #fff;
  background-color: var(--blue) !important;
}

.about ::selection {
  color: var(--black);
  background-color: var(--green) !important;
}

.jury-team ::selection, .artists ::selection {
  color: #fff;
  background-color: var(--orange) !important;
}

.partners ::selection {
  color: #fff;
  background-color: var(--red) !important;
}

body #qodef-page-header-inner:after,
body #qodef-page-mobile-header-inner:after {
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--green), var(--orange));
}

body #qodef-back-to-top .qodef-back-to-top-icon {
  color: white;
}

body.about #qodef-back-to-top .qodef-back-to-top-icon {
  color: var(--black);
}

.home #qodef-back-to-top:before, .announce #qodef-back-to-top:before {
  background: var(--blue);
  border: var(--blue);
}

.about #qodef-back-to-top:before {
  background: var(--green);
  border: var(--green);
}

.jury-team #qodef-back-to-top:before, .artists #qodef-back-to-top:before {
  background: var(--orange);
  border: var(--orange);
}

.partners #qodef-back-to-top:before {
  background: var(--red);
  border: var(--red);
}

/* Home Page */
@property --w {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 10%;
}
#news-coming-soon {
  --w: 100%;
  background-image: linear-gradient(to right, white var(--w), var(--green), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wa 4s linear infinite alternate-reverse;
}
@keyframes wa {
  from {
    --w: 100%;
  }
  to {
    --w: -200%;
  }
}

body #qodef-page-content.qodef-layout--template .qodef-page-content-section.qodef-col--12 object:first-child {
  margin-bottom: 82.5px;
  transform: scale(1.5);
}

@media screen and (min-width: 769px) {
  body #qodef-page-content.qodef-layout--template .qodef-page-content-section.qodef-col--12 object:first-child {
    margin-bottom: 110px;
    transform: scale(1);
  }
}

body .wp-block-genesis-blocks-gb-container {
  margin-top: 110px;
}

body .wp-block-genesis-blocks-gb-container:before {
  content: '';
}

body .wp-block-genesis-blocks-gb-container:before, body .wp-block-genesis-blocks-gb-container .track {
  height: calc(100% - 20px);
  width: 10px;
  position: absolute;
  left: -9vw;
  top: 20px;
  background-color: #323232;
}
@media screen and (min-width: 769px) {
  body .wp-block-genesis-blocks-gb-container:before {
    left: -62px;
  }
}

.home h3 {
  position: relative;
  margin-top: 150px;
}

.home h3:before {
  content: '';
  position: absolute;
  top: -12px;
  left: -15vw;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 6px solid white;
  background-color: black;
  transition: background-color 0.5s ease;
}
@media screen and (min-width: 769px) {
  .home h3:before {
    left: -10vw;
  }
}
@media screen and (min-width: 769px) {
  .home h3:before {
    left: -80px;
  }
  .home h3:first-of-type:before {
    top: 15px;
  }
}

.home h3.active:nth-of-type(5n + 1):before {
  background-color: var(--orange);
}
.home h3.active:nth-of-type(5n + 2):before {
  background-color: var(--red);
}
.home h3.active:nth-of-type(5n + 3):before {
  background-color: var(--blue);
}
.home h3.active:nth-of-type(5n + 4):before {
  background-color: var(--green);
}
.home h3.active:nth-of-type(5n + 5):before {
  background-color: var(--purple);
}

body .gb-block-cta {
  background-color: var(--black);
}

body .gb-block-cta h2 {
  color: white !important;
  text-transform: uppercase;
}

body .gb-block-cta .gb-cta-title {
  margin-bottom: 1em;
}

/* Curators and Partners */

.partners h2 {
  border-bottom: 1px solid white;
  margin-bottom: 1em;
}

.partners h3 + p {
  margin-top: 5px;
  margin-bottom: 5px;
}
.partners h3 + p + p {
  margin-top: 5px;
  margin-bottom: 2em;
}

.partners h3 + .wp-block-genesis-blocks-gb-columns {
  margin-top: 2.5em;
}

.partners h3 {
  margin-top: 2.5em;
}

.partners .wp-block-button__link {
  background-color: var(--red);
}

.partners .wp-block-button .wp-block-button__link:hover {
  background-color: var(--red);
  text-decoration: underline;
}

/* Jury and Team */

.jury-team h2 {
  border-bottom: 1px solid white;
}

.jury-team .qodef-h3, .jury-team h3 {
  margin-bottom: 1em;
}

.jury-team .wp-block-button__link {
  background-color: var(--orange);
}

.jury-team .wp-block-button .wp-block-button__link:hover {
  background-color: var(--orange);
  text-decoration: underline;
}

.jury-team #qodef-page-content .qodef-grid-inner .qodef-grid-item:first-of-type .gb-block-layout-column-inner .wp-block-image img {
  margin-top: 9px;
}


/* Footer */

#qodef-page-footer-top-area {
  padding-bottom: 0;
}

#qodef-page-footer-bottom-area {
  background-color: var(--black);
}

#qodef-page-footer-bottom-area-inner {
  width: unset;
  padding: 0 80px;
}

/* Overrides */
body .gb-block-button {
  margin-top: 1.2em;
}

body .gb-button, body .gb-block-cta .gb-button {
  padding-bottom: 0.75em;
}

body .gb-block-button a {
  background-color: var(--blue) !important;
  text-decoration: none;
}

body #qodef-page-footer .widget a {
  color: white;
}

body .qodef-opener-icon.qodef-source--predefined .qodef-m-lines .qodef-m-line {
  background-color: white;
} 

body .wp-block-button .wp-block-button__link {
  margin-right: 2em;
  border-radius: 5px;
}

h4#contact + p {
  font-size: 90%;
}