body {
    font-family: "Bagoss Extended TRIAL";
}

a,
a:hover,
a:focus {
    text-decoration: none !important;
}

.sp-banner,
.bg {
    background: url(c.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
}

.sp-banner .sp-box {
    position: relative;
    background: url(a.png);
    background-size: cover;
    background-position: center;
    transform: scale(0.95194, 0.95194);
    transform-origin: 0px 0px;
    width: 436px;
    height: 478px;
    border: 2px solid black;
    border-top-left-radius: 230px;
    border-top-right-radius: 230px;

    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: self-end;
}

.sp-banner .row {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 30px;
}
.sp-banner .sp-text {
    font-family: "Playwrite CZ", cursive;
    font-family: "Caveat", cursive;
    font-family: "Bad Script", cursive;
    font-family: "Ms Madi", cursive;
    font-family: "Mrs Saint Delafield", cursive;
    color: white;
    font-size: 111px;
    line-height: 76px;
}
.sp-banner .sp-bn-text {
}
.sp-banner .sp-bn-text p {
    text-transform: uppercase;
    text-align: center;
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
}
.sp-banner .sp-bn-text h2 {
    text-transform: uppercase;
    color: white;
    letter-spacing: 1px;
    font-size: 38px;
    text-align: center;
    line-height: 1px;
    margin: 25px 0 20px 0;
}
.sp-banner .sp-bn-text h2 span {
    text-transform: lowercase;
    font-family: "Mrs Saint Delafield", cursive;
    padding: 0 10px 0 5px;
}

.heart-shape {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, 50%);
    width: 144px;
    height: auto;
    pointer-events: none;

    animation: fadeOnly 3s infinite ease-in-out;
}

@keyframes fadeOnly {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.4;
    }
}

.date-design-wrapper {
    width: 100%;
    margin-top: 30px;
    color: white;
}

.date-flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.date-side {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 150px;
}

.line-box {
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    padding: 6px 0;
    width: 100%;
    text-align: center;
    font-size: 17px;
    letter-spacing: 2px;
}

.date-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.month-text {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: -5px;
}

.day-number {
    font-size: 35px;
    font-weight: 400;
    margin: 8px 0;
}

.year-text {
    font-size: 24px;
    letter-spacing: 3px;
    margin-top: -5px;
}

.time-text {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 5px;
    color: #1a1a1a;
}
.event-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin: 5px 0;
}
.address-text {
    font-size: 10px;
    text-transform: uppercase;
    color: #000000bf;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.divider-svg {
    width: 120px;
    height: auto;
    display: block;
    opacity: 0.7;
    margin: 5px 0;
}

.timeline-container {
    max-width: 450px;
    margin: 0px auto;
    position: relative;
    padding: 20px;
    background: white;
}

.center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #333;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-row {
    display: grid;

    grid-template-columns: 1fr 35px 1fr;
    align-items: center;

    position: relative;
    z-index: 1;
}

.content-block {
    display: flex;
    flex-direction: column;
}

.align-right {
    align-items: flex-end;
    text-align: right;

    margin-top: 30px;
}

.align-left {
    align-items: flex-start;
    text-align: left;

    margin-top: 28px;
}

.node-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gold-node {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-container {
    display: flex;
    align-items: center;
}

.icon-container.justify-start {
    justify-content: flex-start;
}
.icon-container.justify-end {
    justify-content: flex-end;
}

.placeholder-icon {
    width: 65px;
    height: auto;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .center-line {
        display: none;
    }

    .timeline-row {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
        gap: 15px;
    }

    .align-right,
    .align-left {
        align-items: center;
        text-align: center;
        padding: 0;
    }
    .icon-container.justify-start,
    .icon-container.justify-end {
        justify-content: center;
        padding: 0;
    }

    .node-container {
        display: none;
    }

    .timeline-row.icon-left-layout .icon-container {
        order: 2;
    }
}

.sp-time {
    background: #f7f4f0;
}
.sp-time .row {
}
.sp-time .row .sp-title {
    background: white;
    width: 450px;
    margin: 0 auto;
    padding: 60px 0 30px;
}
.sp-time h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 65px;
    line-height: 1;
    margin: 0;
}

/* The main card container */
.card {
    position: relative;
    width: 450px;
    height: 700px;
    background-color: white; /* Clean white canvas */
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* The Content Container - Shifted slightly left to make room for line */
.content-wrapper {
    padding-right: 40px; /* Space for the line */
    text-align: center;
}

/* THE TIMELINE LINE */
.timeline-line {
    position: absolute;
    right: 80px; /* Exact horizontal position */
    top: 25%; /* Start point */
    bottom: 18%; /* End point */
    width: 1px;
    background-color: #1a1a1a; /* Dark, sharp line */
}

/* THE GOLD DOT */
.gold-dot {
    position: absolute;
    right: 70px; /* (50px line - 10px half width) to center it */
    top: 27%; /* Aligned with "DRESS CODE" */
    width: 20px;
    height: 20px;
    z-index: 10;
}

/* Typography Styles */
.section {
    margin-bottom: 50px;
}

.card h2 {
    font-weight: 400;
    margin-bottom: 10px;
    text-align: right;
    font-size: 20px;
}

.card p {
    /* Centers text block */
    text-align: right;
}

/* Specific tweak for the accommodation text to look like the image */
.accom-text {
    font-size: 14px;
}

.sp-time.bg .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: url(c.png);
    background-size: cover;
    background-position: center;
}
.card h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 1;
    margin-bottom: 88px;
}

.sp-title .sp_box {
    padding: 0 85px;
}
.bg2 {
    background: url(c.png) !important;
    background-size: cover !important;
    background-position: center !important;
}
.sp-title .sp_box .sp-line {
    border-right: 1px solid black;
    height: 60px;
    position: relative;
}
.sp-title .sp_box .sp-line img {
    width: 20px;
    position: absolute;
    right: -11px;
    bottom: 10px;
}
.sp-title .sp_box h3 {
    text-transform: uppercase;
    text-align: right;
    font-weight: 400;
}
.sp-title .sp_box p {
    text-align: right;
}

.rsvp {
    padding: 30px 10px !important;
}
.rsvp h5 {
    /* font-family: "Playwrite CZ", cursive; */
    /* font-family: "Caveat", cursive; */
    /* font-family: "Bad Script", cursive; */
    font-family: "Ms Madi", cursive;
    /* font-family: "Mrs Saint Delafield", cursive; */
    font-size: 45px;
    margin-left: 106px;
    line-height: 28px;
    color: #9f723f;
}
.rsvp h2 {
    font-size: 176px;
    font-weight: bold;
    line-height: 145px;
}
.rsvp h3 {
}
.rsvp h3 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 30px;
}
.rsvp a {
    text-align: center;
    display: table;
    margin: 40px auto 25px;
    background: #9f723f;
    color: white;
    text-transform: uppercase;
    font-size: 40px;
    letter-spacing: 3px;
    border-radius: 100px;
    padding: 5px 30px;
}
.rsvp p {
    text-align: center;
    margin-bottom: 20px;
}
.rsvp h6 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 20px;
}

.sp-date {
    background: url(96cd3f9a2836d7afa43ff8a2ab34ece5.png);
    background-size: cover;
    background-position: center;
}
.sp-date .row {
    min-height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}
.sp-date h2 {
    color: white;
    font-size: 77px;
    font-weight: 400;
    letter-spacing: 3px;
}
.sp-date h4 {
    font-family: "Mrs Saint Delafield", cursive;
    color: white;
    font-size: 45px;
}

footer {
    background: black;
    padding: 10px;
}
footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}
footer ul li {
}
footer ul li a {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.mb-3 {
    margin-bottom: 28px;
}

.sp-form {
    display: table;
    width: 700px;
    margin: 20px auto;
}
.sp-form h2 {
    text-align: center;
    text-transform: uppercase;
}
.sp-form h4 {
    text-align: center;
    line-height: 23px;
}
.sp-form p {
    text-align: center;
}
.sp-form .form-label {
    font-size: 16px;
    font-weight: 500;
}
.sp-form .form-check-label {
    font-weight: normal;
}
.sp-form .form-control {
    height: 47px;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid black;
}
.sp-form form {
    border: 1px dashed black;
    padding: 30px;
}
.sp-form button {
    background: #000000;
    color: white;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 3px;
    border-radius: 100px;
    padding: 5px 30px;
    border: none;
}

.sp-rsvp {
    background: url(bggg.jpg);
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.sp-rsvp .sp-rsbp_box {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sp-rsvp .sp-rsbp_box .sp_content {
    width: 43%;
    padding: 10px 20px 20px;
    background:url(bg22.jpg);
    background-size: cover;
}
.sp-rsvp .sp-rsbp_box .sp_content img {
    width: 370px;
    display: table;
    margin: 20px auto 50px;
	border: 2px dashed #9f723f;
}
.sp-rsvp .sp-rsbp_box .sp_content .sp_box {
    border: 2px solid #9f723f;
    padding: 25px 25px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: -12px 12px 0px 0px #12274e;
    border-radius: 15px;
    border-left: 0;
}
.sp-rsvp .sp-rsbp_box .sp_content .sp_box h2 {
    text-align: center;
    color: #12274e;
}
.sp-rsvp .sp-rsbp_box .sp_content .sp_box p {
    text-align: center;
    /* color: white; */
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 45px;
}

.sp-mb0 {
    margin: 0 !important;
}

.sp-rsvp .sp-rsbp_box .sp-btn {
    background: #9f723f;
    color: #ffffff;
    text-transform: capitalize;
    padding: 10px 10px 10px 17px;
    border-radius: 100px;
    position: absolute;
    bottom: -27px;
    border: 1px solid #12274e;
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 500;
}

.sp-rsvp .sp-rsbp_box .sp-btn:hover {
    background: #fff;
    color: #12274e; 
    border: 1px solid #12274e;
}
.sp-rsvp .sp-rsbp_box .sp-btn i {
    background: #ffffff;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}
.sp-rsvp .sp-rsbp_box .sp-btn:hover i {
    background: #12274e; 
    color: #fff; 
}

.sp-rsvp .sp-rsbp_box .sp-btn2 {
    background: #9f723f;
    color: #ffffff;
    text-transform: capitalize;
    padding: 10px 10px 10px 17px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid #9f723f;
    font-weight: 500;
}

.sp-rsvp .sp-rsbp_box .sp-btn2:hover {
     background: #fff;
	 color:#12274e;
	 border:1px solid #12274e
}
.sp-rsvp .sp-rsbp_box .sp-btn2 i {
    background: #ffffff;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}
.sp-rsvp .sp-rsbp_box .sp-btn2:hover i {
     background: #12274e;
	 color:#fff
}

.sp-rsvp .sp-rsbp_box .sp_box .sp-con {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    text-transform: capitalize;
    font-size: 20px;
    margin-bottom: 15px;
}

.sp-rsvp .sp-rsbp_box .sp_box .sp-con .sp-at-name {
    /* color: white; */
    font-size: 20px;
}

.sp-rsvp .sp-rsbp_box .sp_box .sp-con .sp-at-status {
    /* color: white; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sp-rsvp .sp-rsbp_box .sp_box .sp-con .sp-at-status i {
    color: #9f723f;
}
