/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif; /* Modern Font */
  background: linear-gradient(
    to bottom,
    #ffc0cb 0%,
    #ffb6c1 50%,
    #ffc0cb 100%
  ); /* Smoother gradient */
  text-align: center;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 10px 0;
  color: #333;
  font-weight: bold; /* Bold text for headings */
}

/* Paragraphs */
p {
  margin: 0;
  padding: 10px 0;
  color: #666;
  text-align: center;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

a:hover {
  color: #ffffff; /* Darker blue on hover */
}

/* Container */
.container {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #c21807; /* Dark red background */
  color: #fff; /* White text color */
  padding: 10px 20px;
  border-radius: 10px; /* Rounded Corners */
  text-align: center;
  position: -webkit-sticky; /* For better browser compatibility */
  position: sticky; /* Make the header sticky */
  top: 0; /* Stick to the top of the page */
  z-index: 1000;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger Shadow */
}

.photo-container {
  display: flex;
  align-items: center; /* Center items vertically */
  gap: 10px; /* Adjust the gap between images as needed */
  justify-content: center; /* Center the images horizontally */
}

/* Container for 2 photos */
.photo-container-two {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Adjust the gap between images as needed */
  justify-content: center; /* Center the images horizontally */
}

.photo-container-two .main-photo {
  width: 200px; /* Set explicit width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger shadow */
  border: 5px solid #800020; /* Frame-like border */
}

.photo-container .main-photo {
  width: 200px;
  height: auto;
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger shadow */
  border: 5px solid #800020; /* Frame-like border */
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  font-weight: bold; /* Bold text */
}

header nav {
  margin-top: 10px;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: #fff; /* White text color */
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold; /* Bold text */
  transition: background-color 0.3s ease, color 0.3s ease; /* Hover Effect */
}

header nav ul li a:hover {
  text-decoration: none; /* Remove underline on hover */
  background-color: #2c0707; /* More suitable hover color */
  color: #fff; /* Ensure text color remains white */
  border-radius: 5px; /* Rounded Corners on Hover */
}

/* Main photo */
.main-photo {
  max-width: 100%;
  height: auto;
  width: 25%; /* Adjust the width as needed */
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger shadow */
  border: 5px solid #800020; /* Frame-like border */
}

.placeholder-image {
  width: 300px; /* Or whatever the width of your images is */
  height: 318px;
}

/* Styles for landscape photos */
img.main-photo.landscape-photo {
  width: 400px !important; /* Set larger width for landscape photos with important rule */
  height: auto; /* Maintain aspect ratio */
}

img.main-photo.idk-photo {
  width: 305px !important; /* Set larger width for landscape photos with important rule */
  height: auto; /* Maintain aspect ratio */
}

.video-frame {
  max-width: 20%;
  height: "120";
  width: "160"; /* Adjust the width as needed */
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger shadow */
  border: 5px solid #800020; /* Frame-like border */
}

/* Button styles */
button {
  background-color: #c21807; /* Dark Red */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px; /* Rounded Corners */
  cursor: pointer;
  transition: background-color 0.3s ease; /* Hover Effect */
}

button:hover {
  background-color: #800020; /* Dark Red on Hover */
}

/* Additional styles for a modern touch */
.card {
  background-color: #fff;
  border-radius: 10px; /* Rounded Corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle Shadow */
  padding: 20px;
  margin: 20px;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the top */
  margin-bottom: 20px;
}

.timeline-item {
  width: 48%; /* Adjust the width as needed */
  display: flex;
  flex-direction: column;
  align-items: center; /* Align items to the center */
  text-align: center; /* Center text alignment */
}

.timeline-item.left h3,
.timeline-item.right h3 {
  margin-top: 0; /* Ensure there is no top margin */
  margin-bottom: 10px; /* Adjust bottom margin as needed */
}

.timeline-item.left .main-photo,
.timeline-item.right .main-photo {
  margin-bottom: 10px;
}

.timeline-item.left p,
.timeline-item.right p {
  margin-top: 0; /* Ensure there is no top margin */
  margin-bottom: 10px; /* Adjust bottom margin as needed */
  align-self: center; /* Align paragraphs to the center */
}

.timeline-item.left {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}

.timeline-item.right {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}

.timeline-item img.main-photo {
  max-width: 100%;
  height: auto;
  width: 25%; /* Adjust the width as needed */
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger shadow */
  border: 5px solid #800020; /* Frame-like border */
  margin-bottom: 10px;
}

.timeline-item.left p {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}

.timeline-item.right p {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}

.hidden {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.visible {
  display: block;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
/* Updated button styles to match the header */
button {
  background-color: #c21807; /* Dark Red */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px; /* Rounded Corners */
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* Hover Effect */
  font-weight: bold; /* Bold text */
  font-size: 1.2em;
  margin: 20px 0;
}

button:hover {
  background-color: #2c0707; /* More suitable hover color */
  color: #fff; /* Ensure text color remains white */
}

.gallery-container {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 500px; /* Set a fixed height for the gallery container */
  position: relative; /* Ensure the buttons are positioned relative to the container */
  margin-top: 60px;
}

.gallery {
  display: flex;
  justify-content: center; /* Center the gallery content horizontally */
  align-items: center;
  width: 80%;
  text-align: center;
  position: absolute; /* Position the gallery absolutely within the container */
  top: 50%;
  transform: translateY(-50%); /* Center the gallery vertically */
}

.nav-button {
  background-color: #c21807;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  position: absolute; /* Position the buttons absolutely within the container */
  top: 50%;
  transform: translateY(-50%); /* Center the buttons vertically */
}

.nav-button#prev-button {
  left: 10px; /* Position the previous button on the left */
}

.nav-button#next-button {
  right: 10px; /* Position the next button on the right */
}

.nav-button:hover {
  background-color: #a00030;
}

.gallery-photo {
  max-width: 100%;
  max-height: 100%; /* Ensure the image fits within the container */
  width: 30%;
  height: auto;
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger shadow */
  border: 5px solid #800020; /* Frame-like border */
  opacity: 0;
  transition: opacity 0.5s ease-in-out; /* Fade-in effect */
}

.gallery-photo.visible {
  opacity: 1;
}

.note-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; /* Ensure the notes are positioned relative to this container */
  width: 220px; /* Adjusted width for the container */
  height: 220px; /* Adjusted height for the container */
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto; /* Center the container horizontally */
}

.note {
  width: 200px; /* Fixed width for the notes */
  height: 200px; /* Fixed height for the notes */
  padding: 20px;
  background-color: #ffeb3b; /* Lighter yellow color */
  border: 2px solid #d3a625; /* Border color similar to sticky note */
  border-radius: 5px; /* Slightly rounded edges */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Smaller shadow for subtle lift */
  position: absolute; /* Position the notes absolutely */
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  text-align: center;
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  transition: opacity 0.5s ease-in-out, transform 0.3s; /* Fade-in and slight tilt */
}

@keyframes peelOffLeft {
  0% {
    transform: rotate(0) scale(1) translateX(0);
    opacity: 1;
  }
  50% {
    transform: rotate(-15deg) scale(0.8) translateX(-50%);
    opacity: 0.5;
  }
  100% {
    transform: rotate(-30deg) scale(0.5) translateX(-100%);
    opacity: 0;
  }
}

@keyframes peelOffRight {
  0% {
    transform: rotate(0) scale(1) translateX(0);
    opacity: 1;
  }
  50% {
    transform: rotate(15deg) scale(0.8) translateX(50%);
    opacity: 0.5;
  }
  100% {
    transform: rotate(30deg) scale(0.5) translateX(100%);
    opacity: 0;
  }
}

.peel-off-left {
  animation: peelOffLeft 1s forwards;
}

.peel-off-right {
  animation: peelOffRight 1s forwards;
}

.next-note-button {
  margin-top: 360px;
  padding: 10px 20px;
  background-color: #c21807;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 0;
}

.next-note-button:hover {
  background-color: #a00030;
}

/* Bucket List Container */
/* Bucket List Container */
.bucket-list-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* Bucket List Section */
.bucket-list-section {
  width: 45%;
  padding: 0 40px; /* Add padding to the left and right */
}

/* List Styling */
.list {
  list-style-type: none;
  padding: 0;
}

.list li {
  background-color: #c21807; /* Darker red */
  margin: 10px 0;
  padding: 15px;
  border: 1px solid #a00030; /* Darkest red for border */
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1.2em;
  color: #ffffff; /* White text color */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-weight: bold; /* Make the text bold */
  text-align: left; /* Align text to the left */
  text-shadow: -1px -1px 0 #2c0707, 1px -1px 0 #2c0707, -1px 1px 0 #2c0707,
    1px 1px 0 #2c0707; /* Thin black border around the letters */
}

.list li:nth-child(2n) {
  background-color: #800020; /* Wine red */
  border: 1px solid #2c0707; /* Darkest red for border */
}

/* Form Container Styling */
.form-container {
  max-width: 400px; /* Set a maximum width for the form */
  margin: 0 auto; /* Center the form horizontally */
  padding: 20px;
  background-color: #c21807; /* Darker red */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form Elements Styling */
form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 10px;
  color: #ffffff; /* White text color */
}

form input,
form textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

form button {
  margin-top: 20px;
  padding: 10px;
  background-color: #a00030; /* Darkest red */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #2c0707; /* Dark red hover */
}
