:root {
  --filter-test: sepia(0.2) brightness(1.15) contrast(0.95) saturate(0.9);
  --border-radius: 8px;
}

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400&display=swap");

a {
  color: #7d632d;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #4a4a4a;
  line-height: 1.2;
}

p {
  margin: 0;
  padding-bottom: 1rem;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/dalkys.jpg") center/cover;
  filter: var(--filter-test);
  z-index: 1;
}

.hero-content {
  font-family: "Playfair Display", serif;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.date {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.name {
  font-size: 1.5rem;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 2rem; */
  width: 90%;
  text-align: center;
}

@media (min-width: 768px) {
  .main-content {
    width: 40%;
  }
}

@media (min-width: 992px) {
  .main-content {
    width: 50%;
  }
}

.section {
  padding: 2rem 0;
  margin: 0;
  line-height: 2;
}

.section.background {
  background-color: #f8f8f8;
}

.full-width {
  width: 100vw;
  /* margin-bottom: 0; */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

@media (min-width: 768px) {
  .full-width {
    width: 100%;
    margin: auto;
    left: auto;
    right: auto;
    border-radius: var(--border-radius);
  }

  .section.background {
    background-color: inherit;
  }
}

.full-width-text {
  margin: auto;
  width: 90%;
}

.section.image {
  height: 500px;
  background-size: cover;
  background-position: center;
  filter: var(--filter-test);
  max-height: 400px;
}

#first-image {
  background-image: url("../images/god2.png");  
  background-position: center 40%;
}

#second-image {
  background-image: url("../images/stub.webp");  
}

#third-image {
  background-image: url("../images/telt.webp");  
}

#fourth-image {
  background-image: url("../images/dal.jpg");  
}

h2 {
  font-family: "Playfair Display", serif;
  color: #9c7c38;
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin: 0;
}

ul {
  display: inline-block;
}

button:disabled,
button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.timeline {
  padding: 0 0 2rem 0;
}

.timeline-item > h4,  .overnatning-column > h4 {
  margin: .5rem 0;
}

.overnatning {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.overnatning-column {
  flex: 1;
}

/* @media (max-width: 768px) {
  .overnatning {
    flex-direction: column;
    height: auto;
  }
} */

.image-container {
  display: flex;
  gap: 1rem;
  height: 600px;
}

.image-container img {
  flex: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius); /* Optional: for rounded corners */
}

/* Responsive design */
@media (max-width: 768px) {
  .image-container {
    flex-direction: row;
    height: auto;
    display: flex;
  }
}

img {
  filter: var(--filter-test);
}

.login-form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.form-group {
  margin-bottom: 1.5rem;
  margin-right: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.login-form > button {
  width: 100%;
  padding: 0.75rem;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.rsvp-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #9c7c38;
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: background 0.3s;
  margin: 1rem .5rem 1rem;
}

@media (min-width: 768px) {
  .rsvp-btn {
    margin-bottom: 2rem;
  }
}

.rsvp-btn:hover {
  background: #7d632d;
  cursor: pointer;
}

.login-form > button:hover {
  background-color: #357abd;
}

.login-form > button:active {
  transform: translateY(1px);
}

.footer {
  background: #f8f8f8;
  padding: 2rem;
  text-align: center;
  line-height: 1.6;
}
