* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Delius', 'Roboto', sans-serif;
  color: inherit;
  z-index: 1;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

*:not(input, textarea) {
  -khtml-user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

html {
  height: 100%;
  min-height: 100%;
}

a {
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

li > a,
p > a {
  filter: brightness(75%);
  transition: filter 0.5s;
}

li > a:hover,
p > a:hover {
  filter: none;
  text-decoration: underline;
}

body {
  color: #fff;
  min-height: 100%;
}

.hidden {
  display: none !important;
}

.opaque {
  opacity: 0 !important;
  pointer-events: none;
}

#background {
  background: #262d28 url(../img/background.jpg) top/cover no-repeat fixed;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: -1;
}

#logo {
  position: fixed;
  height: 50vh; /* → 15vh after animation */
  top: 15vh; /* → 5vh after animation */
  left: 50vw; /* → 5vh after animation */
  transform: translateX(-50%);
}

#logo-btn {
  position: fixed;
  height: 5vh;
  top: 75vh; /* → 5vh after animation */
  left: 50vw; /* → 5vh after animation */
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: Martel;
  font-variant: small-caps;
  letter-spacing: .4vh;
  text-align: center;
  color: #4a6741;
  background: #fff;
  padding: 0 4vh;
  font-size: 3vh;
  border-radius: 0.5vh;
  transition: background 0.5s, color 0.5s, transform 0.2s;
  box-shadow: 0.2vh 2vh 5vh 0.2vh black;
}

#logo-btn:hover {
  transform: translateX(-50%) scale(0.95);
}

#simple-logo {
  position: fixed;
  height: 15vh;
  top: 7.5vh;
  right: 5vh;
}

#top {
  position: absolute;
  top: 50px;
}

/* Menu */
#menu {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  height: 100%;
  font-size: 3vh;
  font-weight: lighter;
  transition: transform .5s;
  transform: translate(-100%) translate(7vh);
}

#menu.open {
  transform: translate(0);
}

#menu > #nav {
  overflow-y: auto;
  padding: 2vh 8vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

#menu > #nav > * {
  display: block;
  text-align: center;
  padding: 1.5vh 1.5vh 0 1.5vh;
  transition: background .5s;
}

#menu > #nav > a:hover,
#menu > #nav > a:focus {
  background: rgba(127, 127, 127, 0.2);
}

#menu > #nav > a::after {
  content: "";
  display: block;
  width: 80%;
  margin: 2.5vh 0 0 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

#menu > #nav > a:last-of-type::after {
  background: none;
}

#menu > #nav > #social {
  position: absolute;
  display: flex;
  bottom: 2vh;
  width: 18vh;
  right: 7vh;
}

#menu > #nav > #social > * {
  flex: 1;
  transition: opacity .4s;
}

#menu > #nav > #social > *:hover {
  opacity: 0.6;
}

#menu > #nav > #social img {
  width: 4vh;
}

/* Menu Toggle Button */
#menu > #menu-toggle {
  float: right;
  display: inline-block;
  width: 5vh;
  height: 5.2vh;
  margin: 2vh 0 0 2vh;
  padding: 1vh 0;
}

#menu > #menu-toggle:hover {
  cursor: pointer;
}

#menu > #menu-toggle > .burger {
  width: 100%;
  margin-bottom: 1vh;
  height: .4vh;
  border-radius: 17%;
  background: #fff;
  transition: transform .5s;
}

#menu > #menu-toggle > .burger:last-child {
  margin-bottom: 0;
}

#menu.open > #menu-toggle > .burger-1 {
  transform: translate(0%, 360%) rotate(45deg);
}

#menu.open > #menu-toggle > .burger-2 {
  transform: scale(0.1, 1);
}

#menu.open > #menu-toggle > .burger-3 {
  transform: translate(0%, -360%) rotate(-45deg);
}

/* Language Toggle */
#change-lang {
  position: fixed;
  right: 2vh;
  top: 3.5vh;
  font-size: 2vh;
  letter-spacing: 0.5vh;
  display: flex;
  flex-direction: row;
}

#change-lang.currentlang-en {
  flex-direction: row-reverse;
}

#change-lang > * {
  line-height: 3vh;
}

#change-lang img {
  height: 2vh;
}

/* CONTENT */
.content {
  padding: 0;
  width: 100%;
  transition: padding .5s, width .5s;
  font-size: 2.5vh;
}

@media screen and (min-width: 981px) {
  .content.compressed {
    padding-left: 20%;
  }

  .content.compressed.narrow {
    width: 68% !important;
  }
}

.chapter {
  background: rgba(255, 255, 255, 0.65);
  color: #333;
  padding: 5vh;
}

.chapter.inverted {
  background: rgba(0, 0, 0, 0.7);
  color: inherit;
  border: none;
}

.chapter.narrow {
  width: 50vw;
  margin: 0 auto;
}

.section {
  max-width: 55vw;
  margin: 0 auto;
}

h1, h2, h3, h4, h5 {
  font-family: Martel;
  font-variant: small-caps;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2vh;
  max-width: 100%;
  word-wrap: break-word;
  hyphens: auto;
}
h1 {
  font-size: 8vh;
  line-height: 1.5;
}
h2 {
  font-size: 5vh;
  line-height: 1;
  margin-bottom: 3vh;
}
h3 {
  font-size: 4vh;
  line-height: 1;
  letter-spacing: 1vh;
}
h4, h5 {
  font-size: 3vh;
  margin: 2.5vh 0;
  font-weight: bold;
  letter-spacing: .5vh;
  line-height: 1.2;
}
h5 {
  font-size: 2.5vh;
  font-weight: normal;
  text-align: left;
}

p {
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  margin-bottom: 1.5vh;;
}

p:last-of-type {
  margin-bottom: 0;
}

.right {
  float: right;
}

.btn {
  border: none;
  outline: none;
  text-align: center;
  color: #fff;
  background: #4a6741;
  padding: 1vh 2vh;
  font-size: 2vh;
  border-radius: 0.5vh;
  transition: background 0.5s, color 0.5s;
}
.btn:hover {
  cursor: pointer;
  background: #2b4c20;
  color: #d8d8d8;
}

form {
  width: 100%;
}

form input,
form textarea {
  outline: none;
  border: 1px solid #000;
  border-radius: 0.3vh;
  background: #d8d8d8;
  color: #333;
  padding: 1vh;
  font-size: 2vh;
  transition: border 0.5s, box-shadow 0.5s;
}

form .invalid {
  border: 1px solid #f00;
  box-shadow: 0 0 0.5vh 0.1vh #f00;
}

.form-group {
  display: table;
  width: 100%;
  margin-top: 1vh;
}

.form-group > * {
  display: table-cell;
}

.form-group > label {
  vertical-align: middle;
  padding-right: 2vh;
  width: 10vw;
  text-align: right;
}

.form-group > input {
  width: 49%;
}
.form-group > input:first-of-type {
  margin-right: 1.8%;
}

.form-group > input.wide {
  width: 100%;
}

.form-group > textarea {
  width: 100%;
  min-width: 100%;
  max-width: max-content;
}

/* Landing Page */
#landing {
  text-align: center;
}

#logo-space {
  height: 90vh;
}

#enter-page {
  display: block;
  margin: 0 auto;
  height: 5vh;
  width: 5vh;
  margin-bottom: 5vh;
  background: url(../img/chevron-thin-down.png);
  background: url(../img/chevron-thin-down.svg) transparent center/100% no-repeat;
}

#enter-page:hover {
  cursor: pointer;
}

/* Services section */
#services > div.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#services > h1 {
  margin: 0 auto;
}

#services > div.section > div.service {
  flex: 1;
  width: 48%;
  min-width: 400px;
  text-align: center;
  padding-top: 4vh;
  padding-bottom: 6vh;
}

#services > div.section > div.service {
  padding-right: 2vh;
  padding-left: 2vh;
}

/* Upload section */
#upload {
  margin: 0 auto;
  text-align: center;
}

#upload-form-price-wrapper {
  position: absolute;
  right: 0;
  text-decoration: underline;
}

#upload-form-services-popover {
  position: fixed;
  top: 10vh;
  left: 10vw;
  bottom: 10vh;
  z-index: 10;
  width: 80vw;
  min-height: 80vh;
  background:rgb(0 0 0 / 0.7);
  backdrop-filter: blur(2vw);
  transition: opacity 500ms;
  padding: 5vh;
  padding-top: 10vh;
  display: flex;
  flex-direction: column;
  gap: 5vh;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}

#upload-form-service-standard-popover,
#upload-form-service-standard-popover > image,
#upload-form-service-stem-popover,
#upload-form-service-stem-popover > image,
#upload-form-service-instrumental-popover,
#upload-form-service-instrumental-popover > image,
#upload-form-service-ddp-popover,
#upload-form-service-ddp-popover > image,
#upload-form-service-apple-popover,
#upload-form-service-apple-popover > image,
#upload-form-service-vinyl-popover,
#upload-form-service-vinyl-popover  > image {
  width: 1.25rem;
  height: 1.25rem;
}

#transfer-btn,
#testmaster-btn {
  font-family: Martel;
  font-variant: small-caps;
  letter-spacing: .4vh;
  display: inline-block;
  margin: 0 auto 4vh auto;
  text-align: center;
  color: #fff;
  background: #4a6741;
  padding: 2vh 4vh;
  font-size: 3vh;
  border-radius: 0.5vh;
  transition: background 0.5s, color 0.5s;
}

#transfer-btn:hover,
#testmaster-btn:hover {
  background: #2b4c20;
  color: #d8d8d8;
}

#upload > p {
  hyphens: none;
  text-align: center;
}

/* References Sections */
#all-references {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap-reverse;
  justify-content: space-around;
}

#all-references > .tile {
  flex: 1;
  padding: 1vw 1vw 0 1vw;
  margin-bottom: 2vw;
  text-align: center;
  flex-grow: 0;
  transition: background 0.5s;
}

#all-references > .tile:hover {
  background: #2b2b2b;
}

#all-references > .tile > img {
  width: 20vw;
}

#all-references > .tile > h4 {
  font-size: 2.5vh;
}

/* Contact Section */
#submit-btn {
  float: right;
}

.upload-form-feedback {
  position: absolute;
  margin-top: 1vh;
  transition: opacity 0.5s;
  color: #f00;
  opacity: 0;
}

#upload-form-success {
  color: #0f0;
}

.upload-form-feedback.show {
  opacity: 1;
}

/* Footer */
#footer {
  background: #4a6741;
  color: #fff;
  font-size: 1.5vh;
  padding: 0.5vh;
  text-align: center;
  box-shadow: inset 0 0.2vh 1.5vh 0 #333;
}

#footer > ul {
  list-style: none;
}

#footer > ul > li {
  display: inline-block;
}

#footer > ul > li::after {
  content: "|";
  margin: 0 1.5vh;
}
#footer > ul > li:last-of-type::after {
  content: none;
}

/* Impress, FAQ */
#impress,
#faq,
#after-faq {
  padding-bottom: 10vh;
  transform-origin: top;
  transition: transform 0.5s, height 0.5s, padding 0.5s;
}

#impress.hidden {
  display: none;
}
#faq.hidden,
#after-faq.hidden {
  height: 0;
  padding-bottom: 0;
  padding-top: 0;
  transform: scaleY(0);
}

#faq,
#faq .btn {
  font-size: 2vh;
}

#faq h4 {
  font-size: 3vh;
  margin-top: 8vh;
}

#faq h5 {
  font-size: 2.5vh;
  margin: 3vh 0 1vh 0;
}

#faq ul {
  /* list-style: none; /*square inside;*/
  display: table;
}

#faq li {
  display: table-row;
}

#faq ul li:before {
  content: '\25AA'; /* small square, arrow would be 2192 */
  padding: 0 1vh;
  display: table-cell;
}

#faq .btn {
  margin-top: 2vh;
}

/* Chapter separtors */
.separator {
  height: 40vh;
  width: 100%;
}

.slim-separator {
  height: 5px;
  width: 100%;
  background: url(../img/slim-separator.png) center/contain repeat-y;
  background: linear-gradient(90deg, #000 20%, transparent 50%, #000 80%);
  opacity: 0.6;
}
