@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* PAGE */
* {
  box-sizing: border-box;
  color: #353839;
  font-family: 'Inter', sans-serif;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0 auto;
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #F5F3F5;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 780px;
  padding: 0 20px;
  background-color: transparent;
  margin: 46px auto;
}

.track-page main {
  display: flex;
  justify-content: center;
}

main.error-page {
  justify-content: center;
  background: linear-gradient(to right, #ffc3a0, #FFAFBD);
}

main div.error-page {
  display: block;
  margin: 0 auto;
  width: 40vw;
  padding: 20px 5vw;
  max-width: 100%;
  height: 40vh;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: transparent;
}

header {
  background-color: #73937E;
  background-color: #9B5DE5;
}

header.dropdown {
  display: none;
}

header.full-width {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

header.full-width div {
  border-left: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  height: 120px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

header.full-width .logo-container {
  border-left: none;
  min-width: 120px;
  max-width: 120px;
  background-image: url(/images/logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-position: center middle;
  padding: 16px;
}

header.full-width .split-buttons {
  width: 120px;
  border: none;
  padding: 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.split-buttons button {
  border: none;
  border-left: 1px solid;
  background-color: transparent;
  width: 120px;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
}

.split-buttons button:hover {
  background-color: #EDB349;
  background-color: #7E88EE;
}

.split-buttons button:last-child {
  border-top: 1px solid;
}

.split-buttons button a {
  flex-grow: 1;
  padding: 16px 0;
}

.track-page .track-section a button {
  border: none;
  border-top: 1px solid lightgray;
  border-right: 1px solid lightgray;
  border-left: 1px solid lightgray;
  min-height: 44px;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
  background-color: white;
  transition: .2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.track-page .track-section a button:hover {
  background-color: #EDB349;
  background-color: #7E88EE;
}

.track-page .track-section a button img {
  padding-top: 2px;
}

/* Tracks */

.title-and-tags {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.tag-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px 0;
}

.tag-container .tag {
  min-height: 26px;
  width: min(119.5px, 15vw);
  background-color: white;
  font-style: italic;
  padding: 0;
  margin: 0 0 3px 0;
  border: 1px solid lightgray;
  flex-grow: 1;
  transition: .2s ease-in-out;
}

.tag-container a.active button {
  background-color: lightgray;
}

.tag-container .tag:hover {
  background-color: lightgray;
}

.track-container {
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.track-section {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.track-section .top,
.track-section .bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid lightgray;
  border-right: 1px solid lightgray;
  width: 100%;
  background-color: white;
}

.track-section .top {
  border-top: 1px solid lightgray;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
  height: 44px;
  padding: 0 10px;
}

.track-section .top .top-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.track-section .top .top-right input {
  display: block;
  max-width: 200px;
  font-size: 10px;
  width: 0;
  border: none;
  transition-property: width;
  transition: .65s linear;
  transition-delay: none;
}

.track-section .top .top-right input.clicked {
  width: 30vw;
  border: 1px solid lightgray;
}

.sample {
  border: none;
  border-left: 1px solid lightgray;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
}

.sample iframe {
  display: inline-block;
  min-width: 700px;
  margin: -62px 0 0 -12px;
}

.post-share {
  width: 24px;
  height: 20px;
  background-image: url(/images/link-icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  transition: filter .14s ease-in-out;
}

.post-share:before {
  background-color: transparent;
  content: '';
  width: 10px;
  height: 20px;
  display: block;
}

.button-row {
  display: flex;
  align-items: center;
  width: 180px;
}

.button-row button {
  border: none;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border-left: 1px solid lightgray;
  flex-grow: 1;
  background-color: transparent;
  transition: .2s ease-in-out;
}

.button-row button:hover {
  background-color: #EDB349;
  background-color: #7E88EE;
}

/* FOOTER */
.page-footer {
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  height: 90px;
  padding: 20px 20px;
  border-top: 1px solid;
  background-color: #73937E;
  background-color: #9B5DE5;
}

.page-footer div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-footer div:last-of-type {
  text-align: right;
}

/* TEXT */
::selection {
  color: white;
  background: #353839;
}

h1,
h2,
h3,
p,
a,
.button-row button,
.split-buttons button a,
.page-footer p,
.page-footer a {
  font-size: 18px;
  text-decoration: none;
  line-height: 1.45;
  font-weight: 400;
}

h1 {
  font-size: 1.2vw;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

header h1,
header a {
  color: white;
}

header h1 {
  font-weight: 600;
}

.title-and-tags h1 {
  background-color: white;
  padding-left: 12px;
  border: 1px solid lightgray;
  color: black;
  text-align: left;
  font-weight: 600;
  line-height: 2;
  margin: 0;
}

h2 {
  line-height: 1;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 2px solid lightgray;
  padding-bottom: 8px;
  margin-top: 40px;
}

h3 {
  font-weight: 500;
  margin: 0 0 20px 0;
}

h3 a {
  text-decoration: underline;
  font-weight: 600;
}

p {
  text-align: justify;
  margin: 0 0 20px 0;
}

a,
button {
  cursor: pointer;
}

button.tag {
  font-size: 10px;
}

.page-footer p,
.page-footer a {
  font-size: 13px;
  line-height: 1;
  margin: 0;
  color: white;
}


.button-row button,
.track-section h4 {
  font-size: 12px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.track-section h4 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* MOBILE */
@media screen and (max-width: 1525px) {
  main {
    margin: 10px auto;
  }

  header div:nth-child(3) {
    display: none;
  }

  h1 {
    font-size: 1.8vw;
  }

  .title-and-tags {
    margin-top: 20px;
  }

}

@media screen and (max-width: 775px) {
  * {
    text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  header.full-width {
    display: none;
  }

  header.dropdown {
    display: block;
    padding: 0;
    border-top: 1px solid;
  }

  header.dropdown .dropdown-top {
    margin: 0;
    padding: 0;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
  }

  header.dropdown .dropdown-top .logo-container {
    border-left: none;
    width: 100px;
    height: 100px;
    padding: 10px;
    background-image: url(/images/logo.png);
    background-image: url(/images/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-origin: content-box;
    background-position: center middle;
  }

  header.dropdown .dropdown-top .toggler {
    cursor: pointer;
    transition: 0.4s;
    padding: 0;
    margin: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid black;
    border-bottom: none;
  }

  header.dropdown .dropdown-top .toggler:after {
    content: url(images/hamburger.svg);
  }

  header.dropdown.open .dropdown-top .toggler:after {
    content: url(images/up-arrow.svg);
  }

  header.dropdown .panel {
    padding: 0 10px;
    margin: -4px 0 0 0;
    border-top: 1px solid;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
    border-bottom: 1px solid;
  }

  header.dropdown .panel a {
    padding-bottom: 6px;
    font-size: 22px;
  }

  header.dropdown .panel .active {

  }

  main {
    padding: 0 10px;
    margin: 0 auto;
  }

  main div.error-page {
    width: 100%;
    padding: 20px;
    height: 36vh;
  }

  .title-and-tags {
    margin: 20px 0;
  }

  .tag-container {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    padding-bottom: 7px;
  }

  .sample {
    width: 100%;
  }

  .sample iframe {
    min-width: calc(100% + 100px);
  }

  .page-footer {
    height: 62px;
    padding: 12px 10px;
  }

  h1 {
    font-size: 22px;
    padding: 0;
    margin: 20px 0 20px 0;
  }

  main h1 {
    padding: 10px 0 10px 0;
  }

  h3,
  p,
  a,
  button {
    font-size: 15px;
  }

  .page-footer p,
  .page-footer a {
    font-size: 10px;
  }
}

@media screen and (max-width: 450px) {
  .track-section {
    margin-bottom: 10px;
  }

  .title-and-tags {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .title-and-tags h1 {
    width: 100%;
    margin: -10px 0;
    text-align: center;
  }

  .tag-container {
      display: flex;
      justify-content: space-between;
    }

  .tag-container .tag {
    width: calc(25vw - 8px);
    margin-right: 0;
    background-color: white;
    font-style: italic;
    padding: 0;
    border: 1px solid lightgray;
    flex-grow: 1;
    transition: .2s ease-in-out;
  }

  .sample {
    width: 45px;
    min-width: 45px;
    max-width: 45px;
  }

  .sample iframe {
    display: inline-block;
    min-width: 700px;
    margin: -62px 0 0 -12px;
  }

  .button-row {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .button-row button {
    border: none;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border-left: 1px solid lightgray;
    flex-grow: 1;
    background-color: transparent;
    transition: .2s ease-in-out;
  }
}

/* CART */
.snipcart-modal__container {
  background: rgba(0, 0, 0, 0.8);
}

.snipcart-layout.snipcart-modal {
  max-width: 800px;
  margin: 0 auto;
  padding: 16vh 20px;
  background-color: transparent;
}

.snipcart-empty-cart {
  background-color: #f0f5f6;
  max-width: 600px;
  margin: 0 auto;
  height: 100%;
}

.snipcart-checkout__content.snipcart-layout__content {
  background-color: #f0f5f6;
  display: block;
  width: calc(100% + 40px);
  margin-left: -20px;
  padding: 20px;
  margin-bottom: 12vh;
}

.snipcart-cart__footer-col.cart__footer-discount-box.snipcart-cart__actions {
  display: block;
}

.snipcart-cart-header {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 40px 0 40px;
}

.snipcart-cart-header__title.snipcart__font--black.snipcart__font--secondary {
  display: none;
}

.snipcart-modal__close-icon.snipcart__icon--blue-light.snipcart__icon {
  filter: grayscale(1);
  width: 16px;
  margin-right: 6px;
}

.snipcart-modal__close-title.snipcart__font--std {
  font-style: italic;
  display: inline-block;
  white-space: nowrap;
}

.snipcart-cart-header__icon.snipcart__icon--blue-dark.snipcart__icon {
  filter: grayscale(1);
  width: 16px;
}

.snipcart-item-list {
  width: 100%;
  margin: 0 auto;
  max-width: 600px;
}

.snipcart-item-quantity__quantity.snipcart__font--std,
.snipcart-item-quantity__label.snipcart__font--tiny {
  display: none;
}

.snipcart-item-line__header {
  margin-bottom: 4px;
}

.snipcart-item-line__body {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  width: 100%;
}

.snipcart-item-line__info {
  margin: 0;
  padding: 0;
  height: 20px;
}

.snipcart-item-line__variants {
  padding: 0;
}

.snipcart-cart__content {
  width: 100%;
  max-width: 600px;
  padding: 20px 40px 20px 40px;
  margin-bottom: 12vh;
}

.snipcart-item-line__container {
  background-color: #EEF3F4;
  padding: 0;
  margin: 0;
}

.snipcart-item-line__product {
  border-top: 1px dashed;
  margin: 0;
  padding: 12px 0px 6px 0;
}

.snipcart-cart-summary-fees__notice.snipcart__font--regular {
  margin: 0;
  padding: 10px 0;
}

.snipcart-item-quantity__total-price.snipcart__font--bold.snipcart__font--secondary {
  width: 100%;
  padding-top: 2px;
  text-align: right;
}

.snipcart-item-list.snipcart-item-list--no-shadow {
  margin-bottom: -6px;
}

.snipcart-cart__footer {
  width: 100%;
  margin: 0 auto;
  max-width: 600px;
  border-top: 1px dashed;
  margin-top: 6px;
  padding: 20px 0 0 0;

  display: flex;
  flex-direction: column;

}

.snipcart-cart__footer-col {
  min-width: 100%;
  max-width: 100%;
}

.snipcart-cart-summary-fees__notice.snipcart__font--regular {
  padding-top: 4px;
}

.snipcart-cart-button.snipcart__font--bold.snipcart__font--secondary.snipcart-cart__checkout-button.snipcart-cart-button--highlight.snipcart__font--large {
  max-width: 600px;
}

footer {
  width: 100%;
}

.snipcart-cart-button__icon.snipcart-cart-button__icon--right.snipcart__icon {
  visibility: hidden;
  margin: 0;
  padding: 0;
}

.snipcart-featured-payment-methods {
  margin: 0 auto;
  padding: 22px 0 0 0;
}

.snipcart-checkout__content.snipcart-layout__content {
  max-width: 600px;
  margin: 0 auto;
}

.snipcart-checkout__content.snipcart-layout__content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.snipcart-layout__cols {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .snipcart-layout__cols .snipcart-checkout-step .snipcart__box {
    flex-grow: 1;
    margin: 0 -80px;
  }

  .snipcart-cart__footer-col.cart__footer-discount-box.snipcart-cart__actions {
    margin-bottom: 16px;
  }

}

.snipcart-cart-summary-fees__notice.snipcart__font--regular,
.snipcart-cart-summary-fees__item.snipcart__font--slim {
  display: none;
}

.snipcart-cart-summary-fees__title:after {
  padding-left: 4px;
  font-size: 12px;
  vertical-align: baseline;
  content: '(taxes incl.)';
}

.snipcart-cart-summary {
  display: none;
}

.snipcart-order__details {
  padding-top: 40px;
  margin: 0 4px;
  background-color: white;
}


.snipcart-featured-payment-methods.snipcart-featured-payment-methods--no-background {
  background-color: white;
}

.snipcart-checkout__content.snipcart-layout__content .snipcart-layout__cols {
  width: 100%;
  margin: 0;
  padding: 0;
}
