#about, #story, #gallery, #family, #rsvp, #contact {
    min-height: 100%;
}

.navbar {
    gap: 1rem;
}

.bg-dark-green {
    background-color: #0F3325;
}

.btn.bg-dark-green:hover {
    background-color: #0F3325;
}

.btn.bg-dark-green:active {
    --bs-btn-border-width: 0;
    background-color: #0F3325;
    border-color: #0F3325;
}

.navbar .nav-link {
    text-align: center;
}

.fa-heart:hover {
    animation: pulse 1s infinite;
}

.bottom-column a {
    display: block;
}

.map {
    height: 400px;
}

.accordion {
    --bs-accordion-btn-color: #e47a2e;
    --bs-accordion-btn-bg-first: red;

    --bs-accordion-active-color: #e47a2e;
    --bs-accordion-btn-active-bg: #ffffff;
}

.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #e47a2e;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion {
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e47a2e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.btn-event-info {
    font-size: 2rem;
    text-decoration: none;
    border: 0;
}

.btn-link {
    font-weight: 400;
    color: #E47A2E;
    text-decoration: none;
}

.btn-link:hover {
    color: #af5617;
    text-decoration: none;
}

.btn-link:focus, .btn-link.focus {
    text-decoration: none;
}

.btn-link:disabled, .btn-link.disabled {
    color: #6c757d;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.timeline {
    position: relative;
}

.timeline:after {
    content: '';
    width: 2px;
    height: 100%;
    background: #E47A2E;
    display: block;
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    z-index: -1;
}

.timeline .row::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    top: -14px;
    left: calc(50% - 15px);
    background: #FFFFFF;
    border: 2px solid #E47A2E;
    transform: rotate(45deg);
    z-index: 1;
}

.timeline .row:after {
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    position: absolute;
    top: -10px;
    left: calc(50% - 8px);
    color: #0F3325;
    z-index: 2;
}

.timeline .row:nth-child(even) {
    flex-direction: column-reverse;
}

.timeline .row .img-fluid {
    width: 100%;
}

#rspv-form {
    margin-bottom: 1.5rem;
}

#rspv-form-success,
#rspv-form-fail {
    word-break: break-all;
}

.row.portfolio-container {
    height: 100% !important;
}

.row.portfolio-container .portfolio-item {
    position: initial !important;
}

@media only screen and (min-width: 500px) {
    .timeline .row {
        max-width: 500px;
        margin: 0 auto 45px auto;
    }
}

@media only screen and (min-width: 768px) {
    .portfolio-item.first .img-fluid {
        border-radius: 12px 0 0 0;
    }

    .portfolio-item.second .img-fluid {
        border-radius: 0 12px 0 0;
    }

    .timeline .row {
        max-width: unset;
        margin: 0 0 30px 0;
    }

    .timeline .row:nth-child(even) {
        flex-direction: row;
    }

    .timeline .row .img-fluid {
        width: auto;
        max-width: 97%;
    }

    .timeline::after {
        z-index: 0;
    }

    .timeline .row::before {
        top: calc(50% - 15px);
    }

    .timeline .row::after {
        top: calc(50% - 10px);
    }
}