html {
  overflow-x: hidden;
}
body {
  width: 100vw;
  /* height: 100vh; */
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  color: var(--body-color);
  width: 100vw;
  overflow-x: hidden;
  /* center .container */
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  background: var(--main-gray);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--header-font);
  /* margin: 10px 0; */
}

a {
  color: var(--main-black);
  text-decoration: none;
}

/* 

  * Global Styles

*/

.body-font {
  font-family: var(--body-font-size);
}

.container {
  /* max-width: 600px; */
  /* margin: 0 auto; */
  width: 100%;
  /* space objects inside container */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item {
  width: 100% !important;
  /* margin-top: 40px;
    margin-bottom: 40px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  min-height: 60vh;
  /* padding-top: 50px !important;
    padding-bottom: 50px !important; */
  overflow: hidden;
}

.submitted {
  padding-top: 2vh;
  height: 5vh;
}

.heading {
  font-family: var(--header-font);
  font-size: var(--header-font-size);
  /* margin-bottom: var(--spacing-s); */
  text-align: center;
}


/* Hero Section */

.hero {
  background: #ffffff;
  min-height: 90vh;
}

.couple-container {
  padding-top: 30px;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  /* height: 100%; */
  /* height: 120vh; */
}

.couple-save-the-date {
  /* font-size: var(--body-font-size)+10px; */
  font-size: 40px;
  margin-bottom: -20px;
  font-family: "Calton Elegance";
  padding-bottom: 20px;
  font-style: italic;
  /* font-weight: 800; */
}

.couple-image {
  /* center */
  /* width: 50%; */
  max-height: 80vh !important;
  width: min(80vw, 400px);
  /* width: min(80vw, 400px); */
  /* max-width: 70vw; */
  margin-top: 30px;
  object-fit: cover;
  margin-bottom: 30px;
  filter: saturate(0);
}

.couple-names {
  /* move into image */
  z-index: 1;
  /* padding-top: 10px; */
  /* color: var(--type-color-christian-lindner); */
  font-family: "Calton Elegance";
  font-size: var(--header-font-size);
  font-variation-settings: "wght" 900;
  letter-spacing: -2px;
  /* text-transform: uppercase; */
  /* font-style: italic; */

  /* offset the names in this style:
        kate
            & 
              niklas
    */
  white-space: nowrap;
  display: flex;
  flex-direction: row;
}

.date {
  text-align: center;
  font-family: var(--header-font);
  font-size: var(--body-font-size);
  margin-bottom: 40px;
}

/*
 * navbar
 */

/*

.navbar {
	width: 100vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;	

	margin-bottom: 20px;


	background-color: var(--main-white);

}

.navbar-list {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;

	padding: 40px;
	font-style: Bold;

};

.navbar-link {
	color: var(--font-gray);
	text-decoration: underline;
	font-size: var(--body-font-size);
	font-family: var(--body-font);
}

*/

/* 
invitation 
*/

.invitation {
  background-color: var(--gray-bg);
  height: 80vh !important;
  padding-left: 20px;
  padding-right: 20px;
}

.invitation-text {
  /* specify 30 chars */
  /* center content */
  display: flex;
  flex-direction: column;

  text-align: center;
  line-break: loose;
  text-wrap: stable;
  max-width: 30ch;
  font-size: var(--small-font-size);
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: var(--body-font);

  /* font-style: italic; */
}

.invitation-body {
}
.invitation-signature-img {
  width: 300px;
}

.invitation-highlight {
  font-weight: 500;
  font-style: italic;
}

.invitation-signature {
  padding: 20px;
  font-family: var(--body-font);
  font-size: var(--body-font-size);
}

/* 
Venue
*/

.venue {
  padding: 50px;
  display: flex;
  text-align: center;
  background-color: white;
  width: 100%;
  height: 80vh;
  /* padding: 50px; */
  display: flex;
  flex-direction: column;

  /* overflow: hidden; */
}

/* .venue-image-container {
    height: 100vh;
    width: 100vw; 
} */

.venue-text-container {
  height: 100vh;
}

.venue-name {
  font-family: var(--header-font);
  font-size: var(--body-font-size);
  padding-top: 25px;
}

.venue-country {
  margin-top: 15px;
  /* font-style: italic; */
  font-size: var(--small-font-size);
}

.venue-subtitle {
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  margin-bottom: 20px;
}

.venue-image {
  height: min(60vh, 300px);
  width: 100%;
  object-fit: cover;
  filter: saturate(0);
  /* margin: 10px; */
}

.venue-item {
  display: flex;
  /* height: 100vh; */

  align-items: center;
  justify-content: center;
  align-self: center;
  justify-items: center;
  align-items: center;

  /* padding: 5px; */
  /* padding-top: 20px;
    padding-bottom: 20px; */

  text-align: center;
  width: 80%;
}

.venue-location {
  font-family: var(--header-font);
  font-size: var(--small-font-size);
  text-transform: capitalize;
  /* padding: 20px; */
  padding-top: 10px;
}

.venue-item.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 50%; */
  height: fit-content;
}

@media (min-width: 600px) {
  .venue {
    /* background-color: blanchedalmond; */
    display: flex;
    justify-items: normal;
    flex-direction: row;
    height: 80vh;
    padding: 0px !important;
  }
  .venue-image {
    height: 100vh;
    text-align: left;
    filter: saturate(0);
    object-fit: cover;
  }
  .venue-item.text {
    width: 50;
    padding-left: 2em;
    align-items: self-start;
    text-align: left;
  }
  .venue-item {
    width: 50%;
  }
  .venue-name {
    padding-top: 15px;
  }
}

.map-button {
  max-width: 300px;
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--main-black);
  text-decoration: none;
  color: var(--main-black);
  margin-top: 20px;
}

.map-button:hover {
  transition: 0.3s;
  background: var(--main-black);
  color: var(--main-white);
}

.dress-code {
  text-align: center;
  margin-bottom: var(--spacing-m);
}

/*
Hotels
*/

.hotel .image {
  filter: saturate(0);
  margin-bottom: var(--spacing-m);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  grid-column: 1 / 2; /* Place the image in the first column */
}

.hotels > .header {
  font-family: var(--header-font);
  font-size: var(--header-font-size);
  margin-bottom: (--spacing-m);
  text-align: center;
}

.hotel.name {
  margin-bottom: var(--spacing-s);
  font-size: var(--small-font-size);
}

.hotel.description {
  font-size: var(--very-small-font-size);
  line-height: 1.2;
  grid-column: 2 / 3; /* Place the description in the second column */
  margin-bottom: var(--spacing-s);
}

a .hotel {
  color: var(--main-black);
  text-decoration: underline;
  cursor: pointer; /* Makes it look clickable */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

a .hotel:hover {
  color: var(--type-color-christian-lindner); /* Change color on hover */
  text-decoration: underline;
}

div.hotel {
  margin: var(--spacing-m);
}

.hotels {
  margin: var(--spacing-l);
  margin-bottom: var(--spacing-xl);
}

.hotel .button {
  margin-top: var(--spacing-m);
  padding: 10px 20px;
  background: var(--main-transparent);
  border: 1px solid var(--main-black);
  color: var(--main-black);
  cursor: pointer;
  transition: all var(--transition-duration);
}

.hotel .button:hover {
  background: var(--main-black);
  color: var(--main-white);
}

@media (min-width: 600px) {
  div.hotel {
    max-width: 600px;
    width: 80%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: var(--spacing-s); /* Space between columns */
    align-items: start; /* Align items at the top */
  }
}

/* 
RSVP 
*/

.rsvp {
  height: 100vh;
}

.rsvp-section {
  height: 100vh;
  background: var(--main-black);
  color: var(--main-white);
  padding: var(--spacing-m) var(--spacing-s);
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  font-family: var(--header-font);
}

.rsvp-header {
  font-family: var(--header-font);
  text-align: center;
  font-size: var(--header-font-size);
  margin-bottom: var(--spacing-xs);
}

.rsvp-form {
  padding: var(--spacing-m);
  display: flex;
  flex-direction: column;
}

.rsvp-form > *::placeholder {
  text-wrap: wrap;
}

.more-text {
  height: 10em;
  /* align text to top */
  vertical-align: top;
}

.form-input {
  padding: var(--spacing-xxs) var(--spacing-xxs);
  background: transparent;
  border: 1px solid var(--main-gray);
  color: var(--main-white);
}

.radio-group {
  text-align: left;
  margin: var(--spacing-m) 0;
}

.submit-button {
  margin-top: var(--spacing-xxs);
  padding: var(--spacing-xs) var(--spacing-xxs);
  background: transparent;
  border: 1px solid var(--main-white);
  color: var(--main-white);
  cursor: pointer;
}

.calendar-link {
  color: var(--font-gray);
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-style: italic;
  text-decoration: underline;
}

@media (min-width: 600px) {
  .rsvp-section {
    /* height: inherit; */
    /* margin-top: 80px;
        margin-bottom: 80px; */
    transition: all var(--transition-duration);
  }

  .rsvp-section:hover {
    transform: scale(1.05);
  }

  .rsvp-header {
  }

  .rsvp-form {
    min-width: 400px;
    max-width: 500px;
  }

  .rsvp-form > * {
  }

  .more-text {
    height: 3em;
    /* align text to top */
    vertical-align: top;
  }

  .form-input {
    padding: var(--spacing-xs) var(--spacing-xs);
    margin: var(--spacing-xxs) 0;
    background: transparent;
    font-size: 0.9rem;
  }

  .form-input::placeholder {
    color: var(--font-gray);
    /* wrap text */
    text-wrap: wrap;
  }

  .radio-group {
    text-align: left;
    margin: var(--spacing-s) 0;
  }

  /* .submit-button {
    margin-top: var(--spacing-xxs);
    padding: var(--spacing-xxs) var(--spacing-xxs);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-duration);
  } */

  .submit-button:hover {
    background: var(--main-white);
    color: var(--main-black);
  }
}

/* FAQ Section */

.faq {
    width: 100% !important;
    background-color: var(--main-white);
    padding: var(--spacing-xl) var(--spacing-m);
}

.faq-container {
  /* padding: var(--spacing-m) var(--spacing-m); */
  margin-bottom: var(--spacing-l);
  max-width: min(80vw, 600px);
  text-align: left;

  /* center content */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.faq-item {
  margin-bottom: var(--spacing-xxs);
  width: 100%;
}

.faq-question {
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  /* font-weight: bold; */
  margin-bottom: var(--spacing-xs);
  cursor: pointer;
}

.faq-answer {
  font-family: var(--body-font);
  font-size: var(--very-small-font-size);
  line-height: 1.6;
  color: var(--body-color);
  font-style: italic;
  margin-bottom: var(--spacing-xs);
}

details[open] summary ~ * {
  animation: sweep 0.5s ease-in-out;
  transition: all 0.5s;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -var(--spacing-m);
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}

/* summary {
    list-style: none;
} */

/* summary::-webkit-details-marker {
    display: none;
} */

/* 
  * Dress Code
*/

.item.dresscode {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dresscode-text {
  /* 
  Legible text explaining the dress code
  */

  font-size: var(--very-small-font-size);
  margin: var(--spacing-s);
  line-height: 1.6;
  max-width: 30ch;
  text-align: center;

}
.dresscode-colorpalette {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: var(--spacing-xs);
  margin: var(--spacing-s);
}

.dresscode-colorpalette > .color {
  width: 50px;
  height: 50px;
  margin: var(--spacing-xs);
  transition: all var(--transition-duration);
}

.dresscode-colorpalette > .color1 {
  background-color: #000;
}
.dresscode-colorpalette > .color2 {
  background-color: #5e5e5e;
}
.dresscode-colorpalette > .color3 {
  background-color: #afafaf;
}
.dresscode-colorpalette > .color4 {
  background-color: #fff;
}

@media (min-width: 600px) {
  .dresscode-colorpalette > .color {
    width: 100px;
    height: 100px;
    margin: var(--spacing-xs);
  }
  .dresscode-colorpalette > .color:hover {
    transform: scale(1.1);
    transition: all var(--transition-duration);
  }  
}

/*
Program
*/

.program {
  --gap : 0px;
  --line-color: var(--main-black);
}

.program.heading {
  margin-bottom: var(--spacing-xxs);
}

.program.item {
  /* height: 80vh; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.program.outercontainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: min(80vw, 600px);
}

.program.time {
  font-family: var(--header-font);
  font-size: var(--body-font-size);

  border-right: 1px solid var(--line-color);
  /* align text to right */
  text-align: right;
  padding-right: var(--spacing-s);
  padding-left: var(--spacing-s);

  padding-top: var(--spacing-s);
  padding-bottom: var(--spacing-s);
}

.program.content {
  font-size: var(--very-small-font-size);

  padding-left: var(--spacing-s);
  line-height: 1.6;
}

.program.container {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 0px;
  margin: var(--spacing-s) 0;
  /* padding: var(--spacing-s); */
  width: 100%;
  
  background-color: var(--background-color);

  max-width: 100vw;

}

.bus {
  padding: var(--spacing-m) var(--spacing-s);
  margin-bottom: var(--spacing-l);

  /* italics */
  font-style: italic;
}

/* 
  * Debugging
  */

.debugDelimiter {
  width: 100%;
  height: 500px;
  background-color: #ffffff;
  margin: var(--spacing-m) 0;
}
