:root {
  --page-bg: #e8e8e8;
  --panel-bg: #f9f9f9;
  --border: #8e8e8e;
  --ink: #111;
  --title-green: #38540b;
  --photo: url("farewell-psi.jpg");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Segoe Print", "Comic Sans MS", "Bradley Hand", cursive;
}

.page {
  width: 792px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 19px 13px;
}

.site-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 36px;
  line-height: 1.75;
  color: var(--title-green);
  font-weight: 700;
  letter-spacing: 1px;
}

.mail-link {
  display: block;
  width: 24px;
  height: 15px;
  margin: -7px 8px 13px auto;
  border: 1px solid #8d8d8d;
  border-radius: 1px;
  background: linear-gradient(#9e9e9e, #777);
  position: relative;
}

.mail-link::before,
.mail-link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 2px;
  height: 8px;
  border-bottom: 1px solid rgba(255,255,255,.75);
}

.mail-link::before {
  transform: skewY(30deg);
  transform-origin: left top;
}

.mail-link::after {
  transform: skewY(-30deg);
  transform-origin: right top;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 16px;
}

.panel.hero {
  min-height: 450px;
  padding: 12px 15px 37px;
}

.company {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.ship-photo {
  width: 481px;
  height: 361px;
  margin: 0 auto;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
}

.music-panel {
  padding: 18px 0 22px;
}

.music-list {
  width: 481px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.music-player {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #eaeaea;
}

.music-title {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.music-style {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.3;
}

.audio-player {
  display: block;
  width: 100%;
}

.songtext-download {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #eaeaea;
  font-size: 13px;
  line-height: 1.25;
}

.songtext-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.pdf-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
}

.pdf-link:hover,
.pdf-link:focus-visible {
  text-decoration-thickness: 2px;
}

.letter-panel {
  padding: 32px 32px 23px;
}

.letter {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #eaeaea;
  min-height: 246px;
  padding: 20px 52px 14px 16px;
  font-size: 13px;
  line-height: 1.22;
}

.language-flag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, .35));
}

.letter.de {
  min-height: 267px;
}

.letter p {
  margin: 0 0 17px;
}

.letter .place-date {
  margin-bottom: 0;
}

.letter .salutation {
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
}

.letter .closing {
  margin-bottom: 7px;
}

.signature {
  margin-top: 0;
  font-size: 16px;
  font-weight: 700;
}

.email {
  margin-top: 0;
  font-size: 10px;
  font-weight: 700;
}


.message-panel {
  padding: 32px;
}

.message-form {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #eaeaea;
  padding: 18px 18px 16px;
  font-size: 13px;
  line-height: 1.25;
}

.message-title {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.form-intro {
  margin: 0 0 18px;
}

.form-row {
  margin-bottom: 13px;
}

.form-row label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #f9f9f9;
  color: var(--ink);
  padding: 9px 10px;
  font: 13px/1.35 Arial, sans-serif;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.send-button {
  display: inline-block;
  border: 1px solid #6f6f6f;
  border-radius: 4px;
  background: #d6d6d6;
  color: var(--ink);
  padding: 8px 14px;
  font: 700 13px/1.2 Arial, sans-serif;
  cursor: pointer;
}

.send-button:hover,
.send-button:focus-visible {
  background: #c9c9c9;
}

.form-note {
  margin: 12px 0 0;
  font-size: 11px;
}

@media (max-width: 600px) {
  .page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-title {
    font-size: 24px;
  }

  .ship-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 481 / 361;
  }

  .music-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .music-list {
    width: 100%;
  }

  .letter-panel,
  .message-panel {
    padding: 18px;
  }
}
