/* --- Custom Font --- */
@font-face {
  font-family: "Marjorie Italic";
  src: url("fonts/MarjorieItalic.otf") format("truetype");
  font-style: italic;
}

/* --- Base --- */
body {
  margin: 0;
  font-family: "Marjorie Italic", serif;
  color: #222;
  background: #fff;
  background-image: url("images/background4.png");
  background-size: cover;
  resize: both;
  background-overflow: scroll;

}


.container {
  max-width: 780px;
  margin: auto;
  padding: 24px;
}
/* --- Headings --- */
h1, h2, h3 {
  color: #C9A33F;
  font-family: "Marjorie Italic", serif;
  text-align: center;
}

h4 {
  color: #C9A33F;
  font-family: "Marjorie Italic", serif;
  text-align: center;
  font-size: 2em;
  letter-spacing: 0.15em;
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

p {
  font-family: "Marjorie Italic", serif;
  text-align: center;
}

.hero-date {
  font-size: 1.4rem;
  color: #666;
}

/* --- Sections --- */
section {
  padding: 40px 0;
  border-bottom: 1px solid #C9A33F;
  text-align: center;
}

/*
.schedule {
  list-style-type: circle;
  padding: 0;
}
.schedule::after {
  content: '';
  position: absolute;
  width: 3px;
  padding: 0;
  background-color: black;
}

.schedule li {
  padding: 8px 0;
}
*/
/* --- Schedule --- */


/* Set a background color */
body {
  background-color: inherit;
  font-family: Helvetica, sans-serif;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #C9A33F;
  top: 2%;
  bottom: 10%;
  left: 50%;
}

/* Container around content */
.container2 {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 35%;
}

/* The circles on the timeline */
.container2::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #C9A33F;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the right container (pointing left) 
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}*/

/* Fix the circle for containers on the right side */
.right::after {
  left: -10px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  position: relative;
  border-radius: 6px;
}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
.container2 {
  width: 100%;
  padding-left: 25px;
  padding-right: 25px;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }



/* --- Gallery --- */
.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}


.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}


/* --- My Image Controls --- */

.venue-image {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.venue-image img {
  max-width: 100%;
  height: auto;
  padding: 8px;
  object-fit: contain;
  border-radius: 2%;
  box-shadow: 10px 10px 8px 10px #888888;
}


/* --- Couple Image Controls --- */
.couple {
  text-align: center;
  padding: 60px 20px;
}

.couple-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.couple-image {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 50px;
  height: 100px;
  background-image: url("images/coupleurdd.jpg");
  border-radius: 50%;
  clip-path: ellipse(35% 50%);
  background-size: cover; /* Optional */
  object-fit: cover;
  border-radius: 50%;
}



/* Footer container */
.wedding-countdown-footer {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.85);
  border-top: 2px solid #C9A33F;
  margin-top: 40px;
}

/* Countdown styles */
#wedding-countdown-footer,
#countdown-footer {
  font-size: 1.6rem;
  font-family: inherit;
  color: #C9A33F;
  letter-spacing: 1px;
}


/* Numbers spacing */
#countdown-footer span {
  margin: 0 6px;
  font-size: 2rem;
}


/* My Table */
.myTable {
  margin-left: auto;
  margin-right: auto;
  width: 100%
  border-collapse:collapse;
  align-items: center;
}
/*
.myTable th {
  width: 50%;
  letter-spacing: 2.56m;
  font-size: 3em;
  font-family: "Marjorie Italic", serif;
  color: #C9A33F; 
}*/

.myTable td, .myTable tr { 
  padding: 5px;
  color: #C9A33F;
  font-family: "Marjorie Italic", serif;
}