html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

.landing-page {
    padding: 0px;
    margin: 0px;
}

.landing-body {
    position: relative;
    display: flex;    
    align-items: center; 
}

.landing-image {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh; 
    object-fit: cover;
}

.landing-page-body-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 1;
    color: white;
    text-align: center;
}


.landing-page-body-div .madi {
    font-family: "Great Vibes", "Alex Brush", "Dancing Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting", cursive;
    position: absolute;
    text-shadow: 2px 2px #000000;
    width: auto;
    top: 22%;
    left: 53.5%; 
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 5rem;
    padding: 0;
    margin: 0;
}

.landing-page-body-div .and {
    font-family: "Great Vibes", "Alex Brush", "Dancing Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting", cursive;
    position: absolute;
    text-shadow: 2px 2px #000000;
    width: auto;
    top: 31%; 
    left: 67%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 4rem;
    padding: 0;
    margin: 0;
}

.landing-page-body-div .bradley {
    position: absolute;
    font-family: "Great Vibes", "Alex Brush", "Dancing Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting", cursive;
    text-shadow: 2px 2px #000000;
    width: auto;
    top: 42%; 
    left: 80%; 
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 5rem;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.landing-page-body-div .save-the-date {
    position: absolute;
    font-family: "Lora", "Georgia", serif;
    width: auto;
    top: 88.5%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 2.75rem;
    padding: 0;
    margin: 0;
}

.landing-page-body-div .date {
    position: absolute;
    font-family: "Lora", "Georgia", serif;
    width: auto;
    top: 87%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 2rem;
    padding: 0;
    margin: 0;
}

.scroll-arrow {
    position: absolute;
    width: 0;
    height: 0;
    top: 90%;
    left: 50%;
    margin: 20px auto 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid white;
}

.form-page {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.form-container {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(226, 226, 226);
}

.form-container input {
    margin: 10px 0;
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid black;
    font-size: 1rem;
    background-color: rgb(226, 226, 226);
    position: relative;
    transition: height 0.3s ease;
    height: 20px;
    padding-top: 20px;
}

.form-container input:focus {
    height: 40px;
    outline: none;
}

.form-container input::placeholder {
    color: #666;
    font-size: 1rem;
    transition: all 0.3s ease; 
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%); 
}

.form-container input:focus::placeholder,
.form-container input:not(:placeholder-shown)::placeholder {
    font-size: 0.8rem;
    color: black;
    transform: translateY(70%);
    top: 0;
}


.form-container h2 {
    font-family: "Lora", "Georgia", serif;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 3.5rem;
    color: #333; 
    font-weight: bold;
    text-align: center; 
}

#userForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wedding-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    background-image: url('./images/Tezza-4448.JPG'); 
    background-size: cover; 
    background-position: center 5%; 
    background-repeat: no-repeat;
}


.wedding-info > div {
    padding: 20px;
}

.wedding-info h2 {
    font-family: "Lora", "Georgia", serif;
    margin-bottom: 10px; 
    font-size: 1.75rem;
    color: #ffffff; 
    font-weight: bold;
    text-align: center; 
}

.wedding-info h1 {
    font-family: "Great Vibes", "Alex Brush", "Dancing Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting", cursive;
    margin-bottom: -10px; 
    font-size: 4rem;
    color: #ffffff; 
    font-weight: bold;
    text-align: center; 
}

.wedding-info p {
    font-family: "Lora", "Georgia", serif;
    font-size: 1.25rem;
    color: #ffffff;
    text-align: center; 
    line-height: 1.6; 
    margin: 0;
}

.wedding-info p br {
    content: '\A';
    white-space: pre-line; 
}

.disclaimer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Lora", "Georgia", serif;
    margin: 10px 20px;
}

.info-div {
    margin-top: 30px;
    margin-bottom: 50px;
}

.button-28 {
  appearance: none;
  background-color: transparent;
  border: 2px solid #1A1A1A;
  border-radius: 15px;
  box-sizing: border-box;
  color: #3B3B3B;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 10px 0;
  min-width: 0;
  outline: none;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  max-width: 150px;
  height: 45px;
  will-change: transform;
}

.button-28:disabled {
  pointer-events: none;
}

.button-28:hover {
  color: #fff;
  background-color: #1A1A1A;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-28:active {
  box-shadow: none;
  transform: translateY(0);
}

#response {
    margin-left: 10px;
    margin-right: 10px;
}


@media (max-width: 1300px) {
    html, body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        height: 100%;
    }
    
    .landing-page {
        padding: 0;
        margin: 0;
    }
    
    .landing-body {
        position: relative;
        display: flex;    
        align-items: center;
    }
    
    .landing-image {
        width: 100%;
        height: 90vh;
        object-fit: cover;
        object-position: 15%;
    }
    
    .landing-page-body-div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 90%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        color: white;
        text-align: center;
      }
      
      .landing-page-body-div .madi,
      .landing-page-body-div .and,
      .landing-page-body-div .bradley,
      .landing-page-body-div .std-div {
        position: static;
        transform: none;
        text-wrap: wrap;
      }

      .landing-page-body-div {
        margin: 50px 0 0;
      }
    
    .form-page {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    
    .form-container {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: rgb(226, 226, 226);
    }
    
    .form-container input {
        margin: 10px 0;
        width: 70%;
        max-width: 400px;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid black;
        font-size: 1rem;
        background-color: rgb(226, 226, 226);
        position: relative;
        transition: height 0.3s ease;
        height: 20px;
        padding-top: 20px;
    }
    
    .form-container input:focus {
        height: 40px;
        outline: none;
    }
    
    .form-container input::placeholder {
        color: #666;
        font-size: 1rem;
        transition: all 0.3s ease; 
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%); 
    }
    
    .form-container input:focus::placeholder,
    .form-container input:not(:placeholder-shown)::placeholder {
        font-size: 0.8rem;
        color: black;
        transform: translateY(70%);
        top: 0;
    }
    
    
    .form-container h2 {
        font-family: "Lora", "Georgia", serif;
        margin-bottom: 10px; 
        font-size: 3.5rem;
        color: #333; 
        font-weight: bold;
        text-align: center; 
    }
    
    #userForm {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .wedding-info {
        width: 100%;
        font-family: Arial, sans-serif;
        background-image: url('./images/Tezza-4448.JPG'); 
        background-size: cover; 
        background-position: center 5%; 
        background-repeat: no-repeat;
    }
    
    .wedding-info h2 {
        font-family: "Lora", "Georgia", serif;
        margin-bottom: 10px; 
        font-size: 1.75rem;
        color: #ffffff; 
        font-weight: bold;
        text-align: center; 
    }
    
    .wedding-info h1 {
        font-family: "Great Vibes", "Alex Brush", "Dancing Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting", cursive;
        margin-bottom: -10px; 
        font-size: 4rem;
        color: #ffffff; 
        font-weight: bold;
        text-align: center; 
    }
    
    .wedding-info p {
        font-family: "Lora", "Georgia", serif;
        font-size: 1.25rem;
        color: #ffffff;
        text-align: center; 
        line-height: 1.6; 
        margin: 0;
    }
    
    .wedding-info p br {
        content: '\A';
        white-space: pre-line; 
    }

    .info-div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
        margin-bottom: 50px;
    }
    
    .button-28 {
      appearance: none;
      background-color: transparent;
      border: 2px solid #1A1A1A;
      border-radius: 15px;
      box-sizing: border-box;
      color: #3B3B3B;
      cursor: pointer;
      display: inline-block;
      font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
      font-size: 16px;
      font-weight: 600;
      line-height: normal;
      margin: 10px 0;
      min-width: 0;
      outline: none;
      text-align: center;
      text-decoration: none;
      transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
      width: 100%;
      max-width: 170px;
      height: 45px;
      will-change: transform;
    }
    
    .button-28:disabled {
      pointer-events: none;
    }
    
    .button-28:hover {
      color: #fff;
      background-color: #1A1A1A;
      box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
      transform: translateY(-2px);
    }
    
    .button-28:active {
      box-shadow: none;
      transform: translateY(0);
    }
}


@media (max-height: 730px) {
    .landing-image {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: 15%;
    }

    .info-div {
        margin-top: 30px;
        margin-bottom: 50px;
    }

}