:root {
  --html-background: #fbefbb;
  --primary: #ffcc00;
  --primary-hover: #ffc000;
  --colour-on-primary: #000;
  --font-colour: #000;
  --accent: #0070c0;
  --accent-hover: #005eab;
  --colour-on-accent: #fff;
}

@font-face {
  font-family: SaltedMocha; /* set name */
  src: url(saltedmocha-regular.otf); /* url of the font */
}

.salted-mocha {
  font-family: SaltedMocha;
  font-size: 3rem;
}

.font-big {
    font-size: 4.8rem;
    line-height: 1.2;
}

.salted-mocha-small {
  font-family: SaltedMocha;
  font-size: 1.8rem;
}

#logo {
  max-width: 600px;
}

html {
  scroll-behavior: smooth;
}

body,
label {
  font-size: 2rem;
}

.main-navigation {
  font-size: 2.4rem;
  font-weight: bold;
}

.footer-border {
  border-top-width: 0.2rem;
}

h2,
table > thead,
.psalm-index {
  font-size: 2.2rem;
}

.psalm-index {
  margin-left: 2.2rem;
}

h2.latest {
  font-weight: normal;
  font-size: 2rem;
}

.page-footer h3 {
  font-size: 2.2rem;
}

.page-footer img {
  max-height: 96px;
}

.text-right {
  text-align: right;
}

.bold {
  font-weight: bold;
}

.card {
  box-shadow: 0 1.6px 3.6px 0 rgba(var(--shadow-colour), 0.132),
    0 0.3px 0.9px 0 rgba(var(--shadow-colour), 0.108);
}

.active {
  /* text-decoration: underline; */
  border-bottom: 0.3rem solid var(--black);
}

.active:hover {
  cursor: default;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.sketchy {
  transform: rotate(3deg);
  font-size: 1.75rem;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
}

.sketchy ul {
  list-style: none;
}

.sketchy ul > li {
  margin-left: 0;
}

iframe {
  height: 400px;
}

.medley-container {
  max-width: 70%;
  width: 70%;
  min-width: 70%;
}

.igtm-text::first-letter {
  font-size: 3rem;
  font-weight: 350;
}

.igtm-text.bold::first-letter {
  font-weight: 600;
}

.psalm-entry {
  display: table-row;
}

.psalm-entry > span {
  display: table-cell;
}

.psalm-entry > span:first-child {
  width: 14rem;
}

.psalm-entry > span:nth-child(2) {
  width: 10rem;
}

.psalm-title {
  font-weight: normal;
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.psalm-title > .igtm-text::first-letter {
  font-size: 3rem;
  font-weight: 350;
}

.psalm-title > .igtm-text.bold::first-letter {
  font-size: 3rem;
  font-weight: 600;
}

.psalm-title > .igtm-prefix {
  width: 235px;
}

.order {
  max-width: 200px;
}

.inleiding {
  justify-self: flex-start;
}

.inleiding > p {
  max-width: 750px;
}

.missie section {
  width: 70%;
}

#psalm-viewport {
  max-width: 96vw;
}

input[type='text'],
input[type='email'] {
  max-width: 255px;
  width: 58%;
}

label[required] {
  min-width: 10rem;
}

label[required]::after {
  position: absolute;
  font-size: 1.8rem;
  left: -1.5rem;
}

.signature {
  font-size: 1.2rem;
}

.authors {
  font-size: 1.8rem;
}

.authors p {
  text-align: right;
  padding-right: 0;
}

.contact span > span {
  display: none;
}

#order-form-submitted {
  height: 100%;
}

@media (max-width: 1600px) {
  .hide-until-1600 {
    display: none;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  #logo {
    max-width: 500px;
  }

  .missie section {
    width: 80%;
  }
}

@media (min-width: 1138px) and (max-width: 1198px) {
  #logo {
    max-width: 500px;
  }

  .sketchy {
    margin-right: 10rem;
  }

  .missie section {
    width: 80%;
  }
}

@media (max-width: 1198px) {
  #logo {
    max-width: 500px;
  }

  .banner .row {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between !important;
  }

  .missie section {
    width: 80%;
  }
}

@media (min-width: 1081px) and (max-width: 1198px) {
  #logo {
    max-width: 500px;
  }

  .psalm-index {
    margin-left: -2.1rem;
  }

  .missie section {
    width: 80%;
  }

  .sketchy {
    margin-right: 10rem;
  }
}

@media (max-width: 1080px) {
  #logo {
    max-width: 650px;
  }
  .sketchy {
    margin-top: 1rem;
    margin-right: 1rem;
  }

  .psalm-index {
    margin-left: -2.1rem;
  }

  .w-75 {
    max-width: calc(90% - 0.5rem);
    min-width: calc(90% - 0.5rem);
    width: calc(90% - 0.5rem);
  }

  .missie section {
    width: 80%;
  }
}

@media (max-width: 1056px) {
  .sketchy {
    display: none;
  }

  .missie section {
    width: 80%;
  }
  .psalm-title-text {
    margin-left: 3rem !important;
  }
}

@media (max-width: 878px) {
  .flex-layout.two-columns
    > :not(.w-100):not(.w-50):not(.w-33):not(.w-25):not(.w-16):not(.w-8) {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .flex-layout.two-columns img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .missie section {
    width: 90%;
  }
  .psalm-title-text {
    margin-left: 3rem !important;
  }
}

@media (max-width: 800px) {
  .psalm-index {
    max-width: 90% !important;
    width: 90% !important;
  }

  .inleiding {
    width: 95% !important;
    max-width: 95% !important;
    min-width: 95% !important;
  }
}

@media (max-width: 574px) {
  #logo {
    max-width: 100%;
  }

  .psalm-index {
    max-width: 350px !important;
    width: 100% !important;
    /* margin-left: 2.2rem !important; */
    margin-left: 1rem !important;
  }

  .igtm-text {
    display: none !important;
  }

  main h2:first-child {
    margin-left: 1rem;
  }

  main.pl-2 {
    padding-left: 0 !important;
  }

  .missie section {
    width: 80%;
  }
  .psalm-title-text {
    margin-left: 3rem !important;
  }
}

/** New psalm styling **/

.psalm-table tr:hover {
  background-color: transparent !important;
}

.psalm-table td:first-child {
  padding-left: 0;
}

.psalm-container {
  width: 100%;
}

.psalm-container audio {
  max-width: 200px;
}

.psalm-contents {
  width: 68%;
  box-shadow: 0 1.6px 3.6px 0 rgba(var(--shadow-colour), 0.132),
    0 0.3px 0.9px 0 rgba(var(--shadow-colour), 0.108);
  background-color: white;
  padding-left: 2rem;
}

.authors {
  max-width: 250px;
  white-space: break-spaces;
}

.psalm-aside {
  flex-grow: 1;
  margin-right: 1rem;
}

.psalm-contents p {
  margin: 0 auto;
}

@media (max-width: 1060px) {
  .psalm-contents {
    width: 98%;
  }

  .psalm-contents-container {
    flex-direction: column-reverse;
  }

  .psalm-aside {
    margin-left: auto;
    margin-right: 2.5rem;
  }
}

@media (min-width: 540px) {
  .psalm-contents.psalm-42 p {
    min-width: 310px;
  }

  .psalm-contents.psalm-103 p {
    min-width: 480px;
  }

  .psalm-contents.psalm-116 p {
    min-width: 450px;
  }

  .psalm-contents.psalm-122 p {
    min-width: 380px;
  }

  .psalm-contents.psalm-130 p {
    min-width: 520px;
  }

  .psalm-contents.psalm-131 p {
    min-width: 360px;
  }
}
