
@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ephesis&family=Quicksand:wght@300..700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.old-standard-tt-regular {
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .old-standard-tt-bold {
    font-family: "Old Standard TT", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .old-standard-tt-regular-italic {
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: italic;
  }
  /* Default link color */
a {
  color: black; /* Change this to any color you like */
}

/* Hover state */
a:hover {
  color: red; /* Color when the user hovers over the link */
}



/* Active state */
a:active {
  color: orange; /* Color when the link is being clicked */
}


body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.page {
  background-color: #D3BCAE;
  max-width: 60%; /* Middle stripe for larger screens */


  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
/* Responsive Styling for Small Screens */
@media (max-width: 820px) {
  .page {
      min-width: 100%; /* Full green background on smaller screens */
      margin: 0; /* Remove margins */
  }
}

.content-section, .event-wrap, .event-wrap1 {
  max-width: 90%; /* Control the maximum width of content boxes */
  margin: 20px auto; /* Centering the boxes and adding vertical spacing */

  box-sizing: border-box;
}

.event-wrap, .event-wrap1 {
  display: inline-block; /* This will allow the boxes to fit content width and not stretch */
  width: auto; /* Adjust width to content automatically */
}

.two-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px; /* Space between the boxes */
  margin-bottom: 30px; /* Space below the row */
}

.two-columns .event-wrap {
  width: 45%; /* Ensure the boxes are equal width */
}
/* Responsive adjustment for medium screens */
@media screen and (min-width: 821px) and (max-width: 1618px) {
  .two-columns .event-wrap {
      width: 48%; /* Slightly wider boxes for medium screens */
  }
}
/* Fullscreen background */
.fullscreen-bg {
  background: url('../img/Tracht_Querformat.jpg') no-repeat center center fixed;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1; /* Ensure it stays behind content */
  overflow: hidden; /* Prevent any overflow issues */
}

/* Mobile-specific adjustments */
@media screen and (max-width: 768px) {
  .fullscreen-bg {
      background: url('../img/Tracht_Hochformat.jpg') no-repeat center center;
      background-size: cover;
      background-attachment: scroll; /* Prevent issues with fixed positioning */
      height: 100vh; /* Ensure it spans the viewport */
  }
}

.fullscreen-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none; /* Remove overlay for debugging */
  z-index: 1;
}

@media screen and (max-width: 768px) {
.fullscreen-bg::before {
background-color: rgba(127, 117, 117, 0.5); /* White overlay with 50% opacity */

}
}



#home {
  position: relative;
  width: 100%;
  height: 100vh; /* Match the viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  text-align: center;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Prevent content overflow */
  z-index: 1; /* Ensure it stays above the background */

}


#home .row {
  z-index: 2; /* Ensure text is on top of any overlays */
  position: relative; /* For proper positioning */
  width: 100%; /* Ensure the content spans full width */
}

#home h1 {

  color: rgb(255, 255, 255);
  font-size: 45px;
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-style: normal;
  

}
#home h2, #home h3 {
  color: rgb(255, 255, 255);
  font-size: 45px;
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-style: normal;

}
#home h4 {
  color: rgb(255, 255, 255);
  font-size: 60px;
  font-size: 85px;
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-style: normal;
  margin-top: -3px;
}

#home img.header-logo {
  max-width: 380px; /* Restrict the size of the logo */
  height: auto; /* Maintain aspect ratio */
  z-index: 3; /* Ensure it is above the background */
}

@media screen and (max-width: 768px) {
  #home img.header-logo {
    max-width: 250px;
    color: rgb(255, 255, 255);
    font-size: 30px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: -40px;
    opacity: 0.8;
}
}
@media screen and (max-width: 1024px) {
  #home img.header-logo {
    max-width: 200px;
    color: rgb(255, 255, 255);
    font-size: 30px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: -40px;
    opacity: 0.8;
}
}

/* Optional Overlay */
#home::before {
  content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Optional overlay */
    z-index: 0; /* Place it below text */
}
 


@media screen and (max-width: 768px) {
  #home h2, #home h3 {
    color: rgb(255, 255, 255);
    font-size: 25px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;

}
}

@media screen and (max-width: 1024px) {
  #home h2, #home h3 {
    color: rgb(255, 255, 255);
    font-size: 25px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;

}
}

@media screen and (max-width: 768px) {
  #home h4 {
    color: rgb(255, 255, 255);
    font-size: 40px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: -3px;
}
}

@media screen and (max-width: 1024px) {
  #home h4 {
    color: rgb(255, 255, 255);
    font-size: 50px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: -3px;
}
}

@media screen and (max-width: 768px) {
  #home h1 {
    color: rgb(255, 255, 255);
    font-size: 30px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
margin-top: -40px;
}
}

@media screen and (max-width: 1024px) {
  #home h1 {
    color: rgb(255, 255, 255);
    font-size: 25px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
margin-top: -30px;
}
}

@media screen and (max-height: 410px) and (min-height: 340px) {
  #home {

    padding-top: 20px; /* Add some spacing for better layout */
    padding-bottom: 20px;
  }

  #home h1, #home h2, #home h3, #home h4 {
    font-size: calc(0.9rem + 1.3vw); /* Adjust text size dynamically */
  }

  #home img.header-logo {
    max-width: 150px; /* Scale down the logo */
  }
}

.ampersand {
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    color: white;
}

.blumenwiese-image {
  display: block;
  width: 102%; /* Full width */
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
  position: relative;
  z-index: 100;
  margin-left: -10px;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
  .blumenwiese-image {
      width: 150%; /* Ensure it spans the full width on smaller screens */
      margin-bottom: 15px; /* Adjust spacing for smaller screens */
      margin-left: -100px;
  }
}



.simply-countdown > .simply-section > div {
    /* countdown block inner div */
    display: table-cell;
    vertical-align: middle;
    height: 100px;
    width: 100px;
  }
  
  .simply-countdown > .simply-section .simply-amount,
  .simply-countdown > .simply-section .simply-word {
    display: block;
    color: rgb(115, 132, 69);
    /* amounts and words */
  }
  
  .simply-countdown > .simply-section .simply-amount {
    font-size: 30px;
    /* amounts */
  }
  
  .simply-countdown > .simply-section .simply-word {
    color: rgb(115, 132, 69);
    text-transform: uppercase;
    font-size: 15px;
    /* words */
  }
  
.simply-countdown {
    /* The countdown */
    margin-bottom: 2em;
    margin-top: -100px;
  }
  
  .simply-countdown > .simply-section {
    /* coutndown blocks */
    display: inline-block;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255);
    margin: 0 4px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    position: relative;
    /* animation: pulse 1s ease infinite; */
  }

/* Box Styling */
.event-wrap,
.event-wrap3,
.event-wrap5 {
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 90%; /* Adjust width to fit the layout */
    margin: 0 auto 20px auto; /* Center the boxes and add spacing */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    padding: 20px 40px; /* Adjusted for better spacing */
    text-align: center; /* Center text inside the boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(0, 0, 0, 0.8);
}

.event-wrap3 {
  background-color: #ede8d0;
}

/* Box Heading */
.event-wrap h3,
.event-wrap3 h3,
.event-wrap5 h3 {
    font-size: 30px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
}

/* Text Inside Boxes */
.event-wrap p,
.event-wrap span,
.event-wrap3 p,
.event-wrap3 span,
.event-wrap5 p,
.event-wrap5 span {
    font-size: 18px;
    line-height: 1.6;
    display: block;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.8);
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
}

/* Responsive Adjustments for Smaller Screens */
@media screen and (max-width: 768px) {
    .event-wrap,
    .event-wrap3,
    .event-wrap5 {
        width: 95%; /* Make boxes slightly narrower on smaller screens */
        padding: 15px 20px; /* Adjust padding for smaller screens */
    }
    .event-wrap h3,
    .event-wrap3 h3,
    .event-wrap5 h3 {
        font-size: 25px; /* Adjust heading size */
    }
    .event-wrap p,
    .event-wrap span,
    .event-wrap3 p,
    .event-wrap3 span,
    .event-wrap5 p,
    .event-wrap5 span {
        font-size: 16px; /* Adjust text size */
    }
}

/* Adjust Icon Styling Inside Boxes */
.event-wrap i,
.event-wrap3 i,
.event-wrap5 i {
    font-size: 1.5rem; /* Resize icons */
    margin-right: 10px; /* Space between icon and text */
    color: rgba(51, 51, 51, 0.7); 
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
}

/* Ensure all content is aligned properly inside the stripe */
.container {
  max-width: 100%;
}

/* Text Styling (Optional, Adjust if Needed) */
h1, h2, h3, h4, h5, h6, p, span {
    color: #333; /* Dark text for readability */
}

/* Adjust Margins and Spacing */
.row {
    margin: 0; /* Remove outer margins */
}

.two-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px; /* Space between the two boxes */
  margin-bottom: 30px; /* Space below the row */
}

.two-columns .box {
  width: 45%; /* Each box takes up roughly half of the green stripe */
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.centered-box {
  width: 80%; /* A bit narrower than the full green stripe */
  background-color: #fff;
  margin: 0 auto 30px auto; /* Center horizontally and add spacing below */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}
@media screen and (max-width: 768px) {
  .stack-box,
  .centered-box {
    width: 95%; /* Slightly narrower on small screens for better layout */
    padding: 15px; /* Adjust padding for smaller devices */
  }
}
.stack-box {
  width: 80%;
  background-color: #fff;
  margin: 0 auto 30px auto; /* Center horizontally and add spacing below */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form {
  width: 100%;
  max-width: 600px;
  margin: auto; /* Center the form */
  font-size: 1.5rem;
  padding: 20px;
  background: #ede8d0; /* Greenish transparent background */
  border-radius: 15px;
  margin-top: 50px;
  animation: form-animation 0.6s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

@keyframes form-animation {
  from {
      transform: translateY(-50px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

.form h3 {
  font-size: 30px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 15px;
}

.input {
  width: 100%;
  padding: 10px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0); /* Transparent background */
  border: 2px solid rgba(255, 255, 255, 0.4); /* Light border */
  margin-bottom: 20px; /* Spacing between inputs */
  color: #333;
  transition: border-color 0.3s ease-in-out;
}

.input:focus {
  outline: none;
  border-color: rgba(177, 198, 148, 1); /* Green border on focus */
}

.btn.btn-primary {
  all: unset; /* Remove Bootstrap's default styles */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background: #9B7A6B;
  color: #000000;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.btn.btn-primary:hover {
  background: rgb(0, 0, 0);
}



@media screen and (min-width: 821px) and (max-width: 1252px) {
  .two-columns .event-wrap {
    width: 48%; /* Ensure both boxes have the same width */
  }

  .two-columns {
    justify-content: space-evenly; /* Distribute boxes evenly with equal spacing */
  }
}

@media screen and (min-width: 1200px) and (max-width: 1252px) {
  .two-columns .event-wrap {
    width: 47%; /* Slight adjustment for larger screens */
  }

  .two-columns {
    justify-content: space-around; /* Align boxes with equal spacing around */
  }
}


@media screen and (min-width: 821px) and (max-width: 1199px) {
  .hochzeitstortenanschnitt {
      display: inline-block; /* Ensure proper wrapping */
      word-wrap: break-word; /* Allow text wrapping */
      overflow-wrap: break-word; /* Allow breaking anywhere in long words */
      font-size: 10rem; /* Adjust font size as necessary */
      line-height: 1.5; /* Add spacing for readability */
      text-align: center; /* Optional: Center the text */
      font-family: "Old Standard TT", serif; /* Reapply font styling */
      font-weight: 400; /* Adjust weight if needed */
      font-style: normal; /* Reapply styling (e.g., italic, normal) */
      color: rgba(0, 0, 0, 0.8); /* Match original color */
  }
}