:root {
  /* Color */
  --text-color: #222222;
  --surface: #c0c0c0;
  --button-highlight: #ffffff;
  --button-face: #dfdfdf;
  --button-shadow: #808080;
  --window-frame: #0a0a0a;
  --dialog-blue: #000080;
  --dialog-blue-light: #1084d0;
  --dialog-gray: #808080;
  --dialog-gray-light: #b5b5b5;
  --link-blue: #0000ff;

  /* Spacing */
  --element-spacing: 8px;
  --grouped-button-spacing: 4px;
  --grouped-element-spacing: 6px;
  --radio-width: 12px;
  --checkbox-width: 13px;
  --radio-label-spacing: 6px;
  --range-track-height: 4px;
  --range-spacing: 10px;

  /* Some detailed computations for radio buttons and checkboxes */
  --radio-total-width-precalc: var(--radio-width) + var(--radio-label-spacing);
  --radio-total-width: calc(var(--radio-total-width-precalc));
  --radio-left: calc(-1 * var(--radio-total-width-precalc));
  --radio-dot-width: 4px;
  --radio-dot-top: calc(var(--radio-width) / 2 - var(--radio-dot-width) / 2);
  --radio-dot-left: calc(
    -1 * (var(--radio-total-width-precalc)) + var(--radio-width) / 2 - var(
        --radio-dot-width
      ) / 2
  );

  --checkbox-total-width-precalc: var(--checkbox-width) +
    var(--radio-label-spacing);
  --checkbox-total-width: calc(var(--checkbox-total-width-precalc));
  --checkbox-left: calc(-1 * var(--checkbox-total-width-precalc));
  --checkmark-width: 7px;
  --checkmark-top: 3px;
  --checkmark-left: 3px;

  /* Borders */
  --border-width: 1px;
  --border-raised-outer: inset -1px -1px var(--window-frame),
    inset 1px 1px var(--button-highlight);
  --border-raised-inner: inset -2px -2px var(--button-shadow),
    inset 2px 2px var(--button-face);
  --border-sunken-outer: inset -1px -1px var(--button-highlight),
    inset 1px 1px var(--window-frame);
  --border-sunken-inner: inset -2px -2px var(--button-face),
    inset 2px 2px var(--button-shadow);

  /* Window borders flip button-face and button-highlight */
  --border-window-outer: inset -1px -1px var(--window-frame),
    inset 1px 1px var(--button-face);
  --border-window-inner: inset -2px -2px var(--button-shadow),
    inset 2px 2px var(--button-highlight);
  --border-toolbar-outer: inset 0px -1px var(--button-shadow);

  /* Field borders (checkbox, input, etc) flip window-frame and button-shadow */
  --border-field: inset -1px -1px var(--button-highlight),
    inset 1px 1px var(--button-shadow), inset -2px -2px var(--button-face),
    inset 2px 2px var(--window-frame);

  /* Tabs */
  --border-tab: inset -1px 0 var(--window-frame),
    inset 1px 1px var(--button-face),
    inset -2px 0 var(--button-shadow),
    inset 2px 2px var(--button-highlight)
}

@font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("fonts/converted/ms_sans_serif.woff") format("woff");
  src: url("fonts/converted/ms_sans_serif.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("fonts/converted/ms_sans_serif_bold.woff") format("woff");
  src: url("fonts/converted/ms_sans_serif_bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Bahnschrift";
  src: url("fonts/converted/bahnschrift.woff") format("woff");
  src: url("fonts/converted/bahnschrift.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Segoe Script";
  src: url("fonts/converted/segoe_script.woff") format("woff");
  src: url("fonts/converted/segoe_script.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "DancingScript";
  src: url("fonts/converted/DancingScript-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "PerfectDOS";
  src: url("fonts/converted/PerfectDOSVGA437Win.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Bahnschrift", Arial;
  font-size: 12px;
  color: var(--text-color);
  overflow: hidden;
}

a {
  color: var(--link-blue);
}

a:hover {
  color: var(--link-blue);
  text-decoration: underline;
}

details {
  text-align: left;
  font-size: 20px;
  margin-bottom: 30px;
}

details summary {
  font-weight: bold;
  margin-bottom: 5px;
  cursor: pointer;
}

summary::before {
  content: "⊕"; /* circled plus */
  margin-right: 0.5em;
  font-size: 1.2em;
  display: inline-block;
  text-align: center;
  line-height: 1;
}

details[open] summary::before {
  content: "⊖"; /* circled minus */
}

.hidden-field {
  display: none;
}

.navbar a {
  color: #fed136;
}

.navbar a:hover {
  color: #fed136;
  text-decoration: underline;
}

.contact-form-container h3:first-of-type {
  margin-bottom: 20px;
}

.contact-form-container h3:nth-of-type(2) {
  margin-bottom: 20px;
}


.wedding-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 10px;
  max-width: 1000px;
  margin: 0 auto 50px auto;
  font-size: 20px;
  line-height: 30px;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  text-shadow: 0 0 var(--text-color);
}

.contact-column .headline {
  text-decoration: underline;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact-card {
  margin-bottom: 10px;
}

.contact-card img {
  vertical-align: middle;
  padding-right: 5px;
}

@media (max-width: 700px) {
  .wedding-contacts {
    grid-template-columns: 1fr;
  }
}


button {
  box-sizing: border-box;
  border: none;
  color: transparent;
  text-shadow: 0 0 var(--text-color);
  background: var(--surface);
  box-shadow: var(--border-raised-outer), var(--border-raised-inner);
  border-radius: 0;
  font-weight: bold;
  font-size: 20px;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
}

@media (min-width: 768px) {
  p {
    font-size: 20px;
    line-height: 30px;
  }
}

@media (max-width: 768px) {
  p {
    font-size: 18px;
    line-height: 28px;
  }
}

#photobook-upload .dropzone .dz-preview .dz-error-message {
  top: 160px;
}

button[type="submit"] {
  padding: 12px 24px;
}

button:disabled {
  color: gray;
}

button:not(:disabled):active,
input[type="submit"]:not(:disabled):active,
input[type="reset"]:not(:disabled):active {
  box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
  text-shadow: 1px 1px var(--text-color);
}

button:not(:disabled):hover,
input[type="submit"]:not(:disabled):hover,
input[type="reset"]:not(:disabled):hover {
  background: white;
}

.form-field .checkboxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 15px;
}

.form-field .checkboxes label {
  display: inline-block;
  vertical-align: middle;
}

.form-field .checkboxes label:before {
  position: relative;
}

.radio {
    display: inline-block;

    label {
        display: inline;
        cursor: pointer;
        position: relative;
        padding: 0 0 0 20px;
        margin-right: 15px;

        &:before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            position: relative;
            border-radius: 10px;
            border: 1px dotted #000000;
            margin-right: 10px;
            margin-bottom: 5px;

            font-size: 20px;
            line-height: 0.9;
            text-align: center;
            vertical-align: middle;
        }
    }

    input[type=radio] {
        opacity: 0;
        position: absolute;
    }

    input[type=radio]:checked + label:before {
        content: "⏺";
        color: #000000;
    }

    &.toggleable label {
        margin-right: 0;
    }
}

.checkbox {
    display: inline-block;

    label {
        display: inline;
        cursor: pointer;
        position: relative;
        padding: 0 0 0 20px;
        margin-right: 15px;

        &:before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            position: relative;
            border-radius: 3px;
            border: 1px dotted #000000;
            margin-right: 10px;
            margin-bottom: 5px;

            font-size: 20px;
            line-height: 1;
            text-align: center;
            vertical-align: middle;
        }
    }

    input[type=checkbox] {
        opacity: 0;
        position: absolute;
    }

    input[type=checkbox]:checked + label:before {
        content: "\2713";
        color: #000000;
    }

    &.toggleable label {
        margin-right: 0;
    }
}

.row {
  margin: 0;
}

.navbar-header {
  display: flex;
  align-items: center;
}

h1, h2, h3, h4, h5 {
  font-family: Arial;
}

header .intro-text h1 {
  font-family: "DancingScript", Arial;
  font-style: normal;
}

header .intro-text h2 {
  margin-bottom: 25px;
  text-transform: uppercase;
  font-family: Arial;
}

@media (min-width: 768px) {
  header .intro-text h2 {
    font-size: 50px;
    line-height: 60px;
  }
}

@media (max-width: 768px) {
  header .intro-text h2 {
    font-size: 30px;
    line-height: 40px;
  }
}

h2 {
  text-transform: none;
}

section h2 {
  font-family: "DancingScript", Arial;
}

section h3 {
  font-family: "Pixelated MS Sans Serif", Arial;
  font-style: normal;
  color: black;
  -webkit-font-smoothing: none;
}

h4 {
  font-weight: normal;
}
h5 {
  font-weight: normal;
}

.form-info {
  font-size: 17px;
}

@media (min-width: 768px) {
  header .intro-text h1 {
    font-size: 70px;
    line-height: 85px;
  }
  section h2 {
    font-size: 55px;
    line-height: 70px;
  }
  section h3 {
    font-size: 30px;
    line-height: 40px;
  }
  h4 {
    font-size: 25px;
    line-height: 35px;
  }
  h5 {
    font-size: 20px;
    line-height: 30px;
  }
}

@media (max-width: 768px) {
  header .intro-text h1 {
    font-size: 50px;
    line-height: 65px;
  }
  section h2 {
    font-size: 40px;
    line-height: 55px;
  }
  section h3 {
    font-size: 20px;
    line-height: 30px;
  }
  h4 {
    font-size: 20px;
    line-height: 25px;
  }
  h5 {
    font-size: 16px;
    line-height: 22px;
  }
}

.title-bar {
  background: linear-gradient(
    90deg,
    var(--dialog-blue),
    var(--dialog-blue-light)
  );
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  font-size: 22px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-bar.inactive {
  background: linear-gradient(
    90deg,
    var(--dialog-gray),
    var(--dialog-gray-light)
  );
}

.title-bar-controls {
  margin-left: 15px;
  pointer-events: none;
}

.navbar .title-bar-controls {
  pointer-events: auto;
}

.title-bar-controls ul {
  list-style-type: none;
  float: left;
  margin: auto;
}

.title-bar-controls ul li {
  padding-right: 20px;
  float: left;
}

.title-bar-controls ul li:last-child {
  padding-right: 0;
}

.title-bar-controls ul li a {
  color: silver;
}

.title-bar-controls button {
  box-sizing: border-box;
  border: none;
  color: transparent;
  text-shadow: 0 0 var(--text-color);
  background: var(--surface);
  box-shadow: var(--border-raised-outer), var(--border-raised-inner);
  border-radius: 0;

  min-width: 75px;
  min-height: 23px;
  padding: 0 12px;
}

#register-guests {
  margin: auto;
}

.add-guest {
  height: 100%;
  display: grid;
  align-items: center;
  flex-grow: 1;
}

.add-guest button {
  box-sizing: border-box;
  border: none;
  color: transparent;
  text-shadow: 0 0 var(--text-color);
  background: var(--surface);
  box-shadow: var(--border-raised-outer), var(--border-raised-inner);
  border-radius: 0;

  min-width: 75px;
  min-height: 23px;
  padding: 12px;
}

.title-bar button {
  min-width: 0 !important;
}

@media (min-width: 768px) {
    .navbar-default {
        padding: 0;
    }
}

.container {
    padding: 0;
    width: auto;
}

.rsvp-container,
.photobook-container,
.photobook-container .text-center,
.contact-form-container .text-center,
.rsvp-container .text-center {
  max-width: 800px;
  padding: 0 inherit;
  margin: auto;
}

.contact-form-container {
  margin: auto;
  max-width: 800px;
}

@media (min-width: 768px) {
    .navbar-default.navbar-shrink {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .title-bar {
      padding: 0 15px;
    }
    .navbar-collapse {
      position: absolute;
      top: 74px;
      left: 0;
      background-color: black;
      width: 100%;
    }
    .title-bar-controls ul {
      list-style-type: none;
      float: left;
      margin: auto;
      padding: 15px 40px;
    }
    .title-bar-controls ul li {
      float: none;
      padding: 10px 15px;
    }
}

label {
  font-size: 16px;
  font-weight: normal;
}


.outer-wrapper {
  display: flex;
  align-items: center;
  column-gap: 20px;
  overflow: hidden;
}







.window input,
.window textarea {
  width: 100%;
}

.window .title-bar-text.paint {
  padding-left: 35px;
  background: url("../img/paint-icon.png") no-repeat;
  background-size: 25px;
  background-position: left top;
}

.window .title-bar-text.paperclip {
  padding-left: 38px;
  background: url("../img/clippy-icon.png") no-repeat;
  background-size: 25px;
  background-position: left center;
}

.window .title-bar-text.addressbook {
  padding-left: 38px;
  background: url("../img/addressbook-icon.svg") no-repeat;
  background-size: 25px;
  background-position: left center;
}

.window .title-bar-text.child {
  background: url("../img/child-icon.png") no-repeat;
  background-size: 25px;
  background-position: right center;
  width: 100%;
  text-align: left;
}

.window .title-bar-text.camera {
  padding-left: 38px;
  background: url("../img/camera-icon.svg") no-repeat;
  background-size: 25px;
  background-position: left center;
}

.window .title-bar-text.tip {
  padding-left: 35px;
  background: url("../img/tip-icon.svg") no-repeat;
  background-size: 20px;
  background-position: left center;
}

.window .window-toolbar.disabled {
  text-shadow: .0833333333333333em .0833333333333333em 0 #fff;
  color: grey;
}

.window .window-toolbar ul {
  padding: 8px 10px;
  float: left;
  margin: 0;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  font-size: 14px;
  cursor: not-allowed;
}

.window .window-toolbar ul li {
  list-style-type: none;
  float: left;
  margin-right: 10px;
}

.window .window-toolbar ul li::first-letter {
  text-decoration: underline;
}

.window .window-toolbar {
  box-shadow: var(--border-toolbar-outer);
}

.guests-swipe-info {
  font-family: "Pixelated MS Sans Serif", Arial;
  font-style: normal;
  color: black;
  -webkit-font-smoothing: none;
  font-size: 16px;
  margin-top: 15px;
}

@media (min-width: 681px) {
  .guests-swipe-info {
    display: block;
  }

  .pagination-forward,
  .pagination-back {
    display: none;
  }

  .guests {
    display: grid;
    grid-template-columns: repeat(1, 630px);
    column-gap: 30px;
    overflow-x: scroll;
    max-width: 630px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    transition: scroll-left 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guests:has(.window-group:nth-child(2)) {
    grid-template-columns: repeat(2, 630px);
  }

  .guests:has(.window-group:nth-child(3)) {
    grid-template-columns: repeat(3, 630px);
  }

  .guests:has(.window-group:nth-child(4)) {
    grid-template-columns: repeat(4, 630px);
  }

  .guests:has(.window-group:nth-child(5)) {
    grid-template-columns: repeat(6, 630px);
  }

  .guests:has(.window-group:nth-child(5)) {
    grid-template-columns: repeat(6, 630px);
  }

  .guests .window-group {
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    height: 100%;
    width: 630px;
    scroll-snap-align: start;
  }

  .guests .window-group:has(.window:only-child) {
    justify-content: center;
  }

  .window {
    box-shadow: var(--border-window-outer), var(--border-window-inner);
    background: var(--surface);
    padding: 3px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .window .title-bar-text {
    padding-top: 2px;
    cursor: default;
  }

  .guests .window {
  width: 300px;
  }

  .guests-wrapper {
    flex-wrap: wrap;
    align-items: center;
    display: flex;
    margin-top: 15px;
    flex-grow: 1;
    justify-content: center;
  }
}

@media (max-width: 681px) { /*768px*/
  .guests-swipe-info {
    display: block;
  }

  .pagination-forward,
  .pagination-back {
    display: none;
  }

  .guests {
    display: grid;
    grid-template-columns: repeat(1, calc(2 * (100vw - 52px) + 30px)); /*630px;*/
    column-gap: 30px;
    overflow-x: scroll;
    max-width: calc(100vw - 8px - 8px - 15px - 15px); /*630px;*/
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    transition: scroll-left 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guests:has(.window-group:nth-child(2)) {
    grid-template-columns: repeat(2, calc(2 * (100vw - 52px) + 30px));
  }

  .guests:has(.window-group:nth-child(3)) {
    grid-template-columns: repeat(3, calc(2 * (100vw - 52px) + 30px));
  }

  .guests:has(.window-group:nth-child(4)) {
    grid-template-columns: repeat(4, calc(2 * (100vw - 52px) + 30px));
  }

  .guests:has(.window-group:nth-child(5)) {
    grid-template-columns: repeat(6, calc(2 * (100vw - 52px) + 30px));
  }

  .guests:has(.window-group:nth-child(5)) {
    grid-template-columns: repeat(6, calc(2 * (100vw - 52px) + 30px));
  }

  .guests .window-group {
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    height: 100%;
    width: calc(2 * (100vw - 52px) + 30px); /*630px;*/
  }

  .window {
    box-shadow: var(--border-window-outer), var(--border-window-inner);
    background: var(--surface);
    padding: 3px;
    display: flex;
    flex-direction: column;
    height: 100%;
    scroll-snap-align: start;
  }

  .guests .window {
    width: calc(100vw - 52px); /*300px;*/
  }

  .guests-wrapper {
    flex-wrap: wrap;
    align-items: center;
    display: flex;
    margin-top: 15px;
    flex-grow: 1;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .guests-swipe-info {
    display: none;
  }

  .pagination-forward,
  .pagination-back {
    display: block;
  }

  .pagination-forward {
    height: 40px;
    width: 40px;
    font-size: 20px;
    padding: 7px 0 7px 7px;
  }

  .pagination-back {
    height: 40px;
    width: 40px;
    font-size: 20px;
    padding: 7px 0;
  }

  .pagination-forward:disabled,
  .pagination-back:disabled {
    color: gray;
  }
}

.guests .add-guest {
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
}

.guests .add-guest div {
  font-size: 30px;
  width: 100%;
}

.window .title-bar {
  padding: var(--element-spacing);
  font-size: 18px;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.window-body {
  margin: var(--element-spacing);
  color: black;
  font-size: 18px;
}

.appointment-container {
  margin: 30px 0 10px 0;
}

.appointment-container.first {
  margin-top: 5px;
}

.appointment-container .row {
  min-height: 30px;
  margin: 0;
  display: flex;
  align-items: center;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  text-align: left;
}

.appointment-container .guests {
  background: url("../img/guests.png") no-repeat;
  background-size: 20px;
  background-position: left center;
}

.appointment-container .headline {
  font-weight: bold;
  padding-bottom: 10px;
}

.appointment-container .calendar {
  padding-left: 30px;
  background: url("../img/calendar.png") no-repeat;
  background-size: 20px;
  background-position: left center;
}

.appointment-container .location {
    display: flex; /* Aktiviert Flexbox */
    align-items: flex-start; /* Vertikale Ausrichtung oben */
    padding-left: 30px; /* Platz für das Icon */
    background: url("../img/location.png") no-repeat; /* Icon als Hintergrund */
    background-size: 20px; /* Größe des Icons */
    background-position: left top; /* Position des Icons oben links */
    text-align: left; /* Text links ausrichten */
}





.toggleContainer {
   position: relative;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   width: fit-content;
   border: 1px dotted #000000;
   background: silver;
   color: #343434;
   cursor: pointer;
   font-family: "Pixelated MS Sans Serif", Arial;
   -webkit-font-smoothing: none;
 }
 .toggleContainer::before {
    content: '';
    position: absolute;
    width: calc(50% - 6px);
    height: calc(100% - 6px);
    left: 0%;
    background: white;
    transition: all 0.3s;
    margin: 3px;
    box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;
}
 .toggleCheckbox:not(:checked) + .toggleContainer::before {
    left: 50%;
 }
 .toggleContainer div {
   padding: 6px 12px;
   text-align: center;
   z-index: 1;
 }
 .toggleCheckbox {
   display: none;
 }
 .toggleCheckbox:not(:checked) + .toggleContainer div:first-child{
   color: white;
   transition: color 0.3s;
 }
 .toggleCheckbox:not(:checked) + .toggleContainer div:last-child{
   color: #343434;
   transition: color 0.3s;
 }
 .toggleCheckbox + .toggleContainer div:first-child{
   color: #343434;
   transition: color 0.3s;
 }
 .toggleCheckbox + .toggleContainer div:last-child{
   color: white;
   transition: color 0.3s;
 }



 label {
   font-size: 20px;
   font-family: "Pixelated MS Sans Serif", Arial;
   -webkit-font-smoothing: none;
 }

 .form-group {
   margin-top: 60px;
 }

 .form-input-wrapper,
 .form-textarea-wrapper {
   margin-top: 15px;
 }

 #register-guests input,
 #register-guests textarea {
   width: 100%;
 }
 
 #register-guests-form .button {
  position: relative;
  padding-left: 60px;
}
 
 #register-guests-form .button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-image: url("../img/clippy-note.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

 #contact-form-form textarea {
   height: 300px;
 }


 input::placeholder,
 textarea::placeholder {
   color: white;
 }

 input[type="text"],
 input[type="password"],
 input[type="email"],
 input[type="number"],
 select,
 textarea {
   font-size: 20px;
   font-family: "Pixelated MS Sans Serif", Arial;
   -webkit-font-smoothing: none;

   padding: 30px 15px;

   border: 1px dotted #000000;
   border-radius: 0;
   background: silver;
   color: #343434;
 }

 textarea {
   padding: 15px;
 }

 input[type="text"],
 input[type="password"],
 input[type="email"],
 select {
   height: 21px;
 }
 input[type="number"] {
   /* need this 1 pixel to fit the spinner controls in box */
   height: 22px;
 }

 input[type="text"],
 input[type="password"],
 input[type="email"],
 input[type="number"] {
   /* For some reason descenders are getting cut off without this */
   line-height: 2;
 }

 input[type="email"]:disabled,
 input[type="password"]:disabled,
 input[type="text"]:disabled,
 input[type="number"]:disabled,
 input[type="email"]:read-only,
 input[type="password"]:read-only,
 input[type="text"]:read-only,
 input[type="number"]:read-only,
 textarea:disabled {
   background-color: var(--surface);
 }
 select:focus,
 input[type="text"]:focus,
 input[type="password"]:focus,
 input[type="email"]:focus,
 input[type="number"]:focus,
 textarea:focus {
   outline: none;
 }

.language-selector .btn {
  padding: 10px !important;
}

.language-selector .btn {
  color: black;
}

.language-selector .btn img {
  padding-right: 5px;
  padding-bottom: 3px;
}

.select-language {
  position: absolute;
  right: 15px;
  background-color: silver;
  padding: 0 10px;
  font-size: 14px;
}

.select-language li {
  list-style-type: none;
  padding: 10px 0;
}

.select-language li a {
  color: black;
}

.select-language li a img {
  padding: 0 10px 4px 0;
}

.control-lang-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#rsvp {
  background-color: lightpink;
}

.section-icon {
  width: 100px !important;
}

.ticket-rendering {
  width: 425px;
  height: 325px;
  background: url('../img/ticket.png') no-repeat;
  background-size: 425px 325px;
  margin: auto;
  text-align: left;
}

#ticket-rendering-type {
  position: absolute;
  left: 225px;
  top: 90px;
  font-size: 24px;
  font-weight: bold;
}

#ticket-rendering-location {
  position: absolute;
  left: 225px;
  top: 125px;
  font-size: 24px;
  font-weight: bold;
}

#ticket-rendering-owners {
  position: absolute;
  left: 225px;
  top: 180px;
  font-size: 12px;
  width: 320px;
  text-align: left;
}

#ticket-rendering-validity {
  position: absolute;
  left: 225px;
  top: 240px;
  font-size: 24px;
  font-weight: bold;
}

#ticket-rendering-id {
  position: absolute;
  left: 225px;
  top: 295px;
  font-size: 12px;
}

#ticket-rendering-date {
  position: absolute;
  left: 225px;
  top: 315px;
  font-size: 12px;
}

#ticket-rendering-time {
  position: absolute;
  left: 400px;
  top: 315px;
  font-size: 12px;
}

@media (max-width: 681px) { /*768px*/
    .ticket-rendering {
        width: 283px;
        height: 217px;
        background-size: 283px 217px;
        padding-left: 25px;
    }
    
    #ticket-rendering-type {
        font-size: 16px;
        top: 80px;
        left: auto;
    }
    
    #ticket-rendering-location {
        font-size: 16px;
        top: 103px;
        left: auto;
    }
    
    #ticket-rendering-owners {
        font-size: 8px;
        top: 140px;
        left: auto;
    }
    
    #ticket-rendering-validity {
        font-size: 16px;
        top: 180px;
        left: auto;
    }
    
    #ticket-rendering-id {
        font-size: 8px;
        top: 217px;
        left: auto;
    }
    
    #ticket-rendering-date {
        font-size: 8px;
        top: 230px;
        left: auto;
    }
    
    #ticket-rendering-time {
        font-size: 8px;
        top: 230px;
        left: auto;
        padding-left: 100px;
    }
}

#rsvp-confirmation,
#photobook-confirmation,
#contact-form-confirmation {
  display: none;
}

#rsvp-form {
  display: inline;
}

#faq .window .title-bar-text {
  cursor: pointer;
}

#faq .accordion-wrapper {
  max-width: 800px;
  margin: auto;
}

#faq h4 {
  margin-top: 50px;
}

#faq .accordion-wrapper .window {
  margin-bottom: 10px;
}

#faq .accordion-wrapper .window .title-bar {
  cursor: pointer;
}

#faq .accordion-wrapper .window .window-body {
  text-align: left;
  padding: 0 10px;
}

#faq {
  background-color: lightpink;
}

#contact-form {
  background-color: lightpink;
}





#getting-there .callout-marker {
  font-family: "Bahnschrift", Arial;
  font-weight: bold;
  cursor: default;
  background: #2094e9;
  box-shadow: 2px 2px 0px 0 rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
  background-color: black;
  z-index: 2;
  width: 40px;
  height: 40px;
  line-height: 36px;
  color: white;
  text-align: center;
  vertical-align: middle;
  font-size: 23px;
  cursor: pointer;
}

#getting-there .callout-marker.highlight {
  background-color: red;
}

#getting-there img {
  width: 100%;
}

#getting-there .container .row {
  max-width: 1000px;
  margin: auto;
}

#getting-there .window-body {
  margin: 0;
}

#ceremony-program .timeline:before {
  z-index: -1;
}

@media (min-width: 768px) {
  .timeline {
    background: url('../img/program-stripe.png') no-repeat;
    background-position: center top;
    background-size: 660px;
  }
  .timeline li {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .timeline-heading {
    margin-bottom: 15px;
  }
}

@media (min-width: 768px) {
  .timeline-heading {
    margin-bottom: 20px;
  }
}

.timeline-heading h4 {
  margin: 0;
}

.timeline-heading-event {
  text-transform: uppercase;
  font-weight: bold;
}




/* POLAROID PHOTOBOOK */

.wedding-line-container {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  position: absolute;
  z-index: 1;
  opacity: 0.3;
  }

.clothes-line {
  background-image: url("../img/clothes-line.svg");
  background-repeat: no-repeat;
  z-index: 2;
  position: relative;
  }

.wedding-photos {
  position: absolute;
  left: 0px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  z-index: 2;
  pointer-events: none;
  padding-top: 0px;
  }

.polaroid-wrapper.left {
  float: left;
}

.wedding-photos .polaroid-wrapper {
  position: relative;
}

.washing-peg {
  background-image: url("../img/washing-peg2.svg");
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: top;
  z-index: 2;
  position: relative;
}

.polaroid-wrapper .polaroid {
  background-color: rgb(250, 250, 249);
  box-shadow: rgba(0, 0, 0, 0.1) 2px -2px 20px 0px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(238, 238, 238);
  border-right-color: rgb(238, 238, 238);
  border-bottom-color: rgb(238, 238, 238);
  border-left-color: rgb(238, 238, 238);
  backface-visibility: hidden;
}

.polaroid {
  transform: rotate(0deg);
  z-index: 1;
  position: relative;
}

.polaroid-wrapper .polaroid-img {
  position: absolute;
  background-color: rgb(238, 238, 238);
  overflow-x: hidden;
  overflow-y: hidden;
}

.polaroid-wrapper .polaroid .gloss {
  position: absolute;
  top: 0px;
  left: 0px;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.6), transparent 70%, rgba(0, 0, 0, 0.1) 99%);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px 1px inset;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.polaroid-wrapper .polaroid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  margin-top: 0px;
  display: inline-block;
}

@media (min-width: 768px) {
  .wedding-line-container {
    height: 600px;
    margin-top: 100px;
  }

  .clothes-line {
    height: 100px;
    background-position-x: -40px;
    top: 115px;
    background-size: auto 15px;
  }

  .wedding-photos {
    top: 30px;
    padding-right: 20px;
  }

  .washing-peg {
    background-size: 30px auto;
    height: 360px;
  }

  .wedding-photos .polaroid-wrapper .polaroid {
    width: 300px;
    height: 360px;
    margin: -240px 0 0 0;
  }

  .wedding-photos .polaroid-wrapper .polaroid-img {
    top: 20px;
    left: 10px;
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .wedding-photos .polaroid-wrapper .polaroid {
    width: 150px;
    height: 180px;
  }

  .wedding-line-container {
    height: 300px;
    margin-top: 65px;
  }

  .clothes-line {
    height: 50px;
    background-position-x: -20px;
    top: 57.5px;
    background-size: auto 7.5px;
  }

  .wedding-photos {
    top: 15px;
    padding-right: 10px;
  }

  .washing-peg {
    background-size: 15px auto;
    height: 180px;
  }

  .wedding-photos .polaroid-wrapper .polaroid {
    width: 150px;
    height: 180px;
    margin: -120px 0 0 0;
  }

  .wedding-photos .polaroid-wrapper .polaroid-img {
    top: 10px;
    left: 5px;
    width: 140px;
    height: 140px;
  }
}








#countdown {
  margin-bottom: 60px;
}

/* Countdown list styles */
#countdown ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px; /* Abstand zwischen den Countdown-Elementen */
}

#countdown li {
  display: flex;
  flex-direction: column; /* Zweizeiliges Layout */
  align-items: center; /* Zentriert die Zahlen und Labels */
  text-align: center;
}

#countdown .value {
  font-weight: bold;
  color: #333; /* Hauptfarbe für die Zahlen */
}

#countdown .label {
  color: #666; /* Sekundärfarbe für Labels */
  margin-top: 5px; /* Abstand zwischen Zahl und Label */
}

@media (min-width: 768px) {
  #countdown .value {
    font-size: 60px;
  }

  #countdown .label {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  #countdown .value {
    font-size: 35px;
  }

  #countdown .label {
    font-size: 12px;
  }
}

.intro-text h1, header .intro-text h2, #countdown {
  text-shadow: white 0px 0px 10px;
}

header {
  text-align: center;
  color: black;
  background-attachment: scroll;
  background-image: none;
  background-color: lightpink;
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
  }


#photobook-form .form-label {
  display: none;
}

#photobook-form .form-input-wrapper {
  min-height: 200px;
}

#photobook-gallery {
  margin-top: 50px;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
}

#photobook-gallery p {
  margin: 20px;
}














/* Lade-Overlay */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--surface);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
}

#loading-overlay .wrapper {
  background: url("../img/crt-model-background.png") no-repeat;
  display: block;
}

#loading-overlay .wrapper .wrapper-inner {
  position: relative;
  justify-content: center;
  align-items: center;
  display: none;
  background-color: #008282;
}

#loading-overlay .wrapper .loading-countdown {
  position: relative;
  color: #fff;
  font-family: "PerfectDOS", Arial;
  letter-spacing: -10%;
  -webkit-font-smoothing: none;
}

#loading-overlay .wrapper .loading-countdown .grey {
  color: color(srgb 0.5058 0.5059 0.5059);
}

#loading-overlay .window {
  height: auto;
}

@media (min-width: 768px) {
  #loading-overlay .wrapper {
    width: 600px;
    height: 600px;
    background-size: 600px 600px;
  }
  #loading-overlay .wrapper .wrapper-inner {
    height: 316px;
    width: 414px;
    top: 61px;
    left: 93px;
  }
  #loading-overlay .window {
    width: 400px;
  }
  #loading-overlay .wrapper .loading-countdown {
    top: 376px;
    left: 102px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  #loading-overlay .wrapper {
    width: 300px;
    height: 300px;
    background-size: 300px 300px;
  }
  #loading-overlay .wrapper .wrapper-inner {
    height: 157px;
    width: 206px;
    top: 31px;
    left: 47px;
  }
  #loading-overlay .window {
    width: 200px;
  }
  #loading-overlay .wrapper .loading-countdown {
    top: 188px;
    left: 51px;
    font-size: 7px;
  }
}

.wrapper-inner {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background: black;
  color: white;
  font-size: 20px;
  overflow: hidden;
  position: relative;
}

.wrapper-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 4px
  );
  z-index: 1;
  pointer-events: none;
}

@keyframes crtEffect {
  0% {
    transform: scaleY(0.01);
    opacity: 0.2;
  }
  25% {
    transform: scaleY(0.5);
    opacity: 0.6;
  }
  50% {
    transform: scaleY(0.9);
    opacity: 0.9;
  }
  75% {
    transform: scaleY(1);
    opacity: 1;
  }
  85% {
    transform: scaleY(0.98);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.95;
  }
}

.wrapper-inner.animate {
  display: flex;
  animation: crtEffect 0.8s ease-out;
}

.wrapper {
  display: flex;
  animation: flicker 1.5s infinite alternate;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.login-wrapper .window {
  height: auto;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
}

@media (min-width: 768px) {
  .login-wrapper .window {
    width: 400px;
  }
}

@media (max-width: 768px) {
  .login-wrapper .window {
    width: 300px;
  }
}

.login-wrapper .window .window-body {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 10px;
}

.login-wrapper .window .window-body .key-icon {
  background: url("../img/keys.png") no-repeat;
  width: 120px;
  height: 50px;
  margin-top: 5px;
}

.login-wrapper .window .window-body .content {
  width: 100%;
}

.login-wrapper .window .window-body .content input[type="text"] {
  margin: 15px 0;
}

.window-body .note {
  font-size: 14px;
  line-height: 20px;
}

.login-wrapper .window .window-body .buttons {
  width: auto;
  margin-top: 20px;
}

/* Windows 98 Ladebox */
.win98-loader {
  width: 300px;
  background: #f0f0f0;
  border: 2px solid #808080;
  box-shadow: 2px 2px 0px #ffffff, -1px -1px 0px #404040;
  padding: 20px;
  text-align: center;
}

#status-message {
  color: #fff;
}

/* Ladebalken */
.progress-bar {
  width: 100%;
  height: 20px;
  background: #c0c0c0;
  border: 2px inset #ffffff;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

/* Fortschrittsanzeige */
.progress {
  height: 100%;
  width: 0;
  background: #000080;
  animation: win98Progress 5s linear forwards; /* 5 Sekunden Animation */
}

/* Animation für den Fortschrittsbalken */
@keyframes win98Progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Lade-Text */
.loader-text {
  font-size: 14px;
  color: #fff;
  text-shadow: 1px 1px 0px #fff, -1px -1px 0px #404040;
}





.progress-indicator {
  height: 32px;
  position: relative;
  box-shadow: var(--border-sunken-inner);
  padding: 4px 4px;
  border: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

.progress-indicator > .progress-indicator-bar {
  height: 100%;
  display: block;
  background-color: var(--dialog-blue);
}

.progress-indicator.segmented > .progress-indicator-bar {
  width: 100%;
  background-color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--dialog-blue) 0 16px,
    transparent 0 2px
  );
  background-repeat: repeat;
  background-size: 18px 100%;
}




#zzaCanvas {
  z-index: 2;
  position: relative;
  transform-origin: top center;
}








.clippy-icon {
    padding-left: 38px;
    background-position: left center;
    position: absolute;
    top: 2px;
    left: 260px;
    height: 70px;
    width: 70px;
    z-index: 0;
    background-size: 70px auto !important;
}

@media (min-width: 768px) {
  .clippy-icon {
    left: 210px;
  }
}

.clippy-icon.wave {
  background: url("../img/clippy-wave.png") no-repeat;
}

.clippy-icon:hover {
    transform: scale(1.1);
}

/* Speech Bubble Styles */
.speech-bubble {
    position: fixed;
    top: 83px;
    left: 60px;
    max-width: 280px;
    min-width: 200px;
    background: #ffffcc;
    border: 1.5px solid #000;
    padding: 12px 16px;
    font-size: 11px;
    font-family: "Pixelated MS Sans Serif", Arial;
    color: black;
    z-index: 1002;
    display: none;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

@media (min-width: 768px) {
  .speech-bubble {
    left: 10px;
  }
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: -16px;
    right: 32px;
    margin-left: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-bottom-color: #ffffcc;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 30px;
    margin-left: -10px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom-color: #000;
}

.speech-bubble.show {
    display: block;
    animation: popIn 0.3s ease-out;
}

#speechText {
    font-size: 13px;
    line-height: 20px;
    margin: 0;
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
















#contact-form-form .button {
  position: relative;
  padding-left: 70px;
}

#contact-form-form .button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-image: url("../img/clippy-send.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

@media (min-width: 768px) {
  #zzaCanvas {
    scale: 0.5;
    margin-bottom: -180px;
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  #zzaCanvas {
    scale: 0.8;
    margin-top: -88px;
    margin-top: 0px;
    width: 100%;
  }
}