:root {
    --background-color: #8B0000;
    --shape-color: #A52A2A;
    --border-color: #610000;
    --button-color: #B22222;
    --button-hover-color: #A52A2A;
    --text-p-color: #e7e7e7;
    --text-h-color: #FFFFFF;
    --text-btn-color: #FFFFFF;

    --wave1: #A52A2A;
    --wave2: #de2d2d;
    --wave3: #fff;
}


body {
    color: var(--text-p-color);
    font-family: 'Poppins';
}

.opacity-0-5{
    opacity: 0.5 !important;
}

nav {
    background-color: var(--text-p-color) !important;
}

.btn,
#playPauseBtn {
    background-color: var(--button-color);
    color: var(--text-btn-color);
    border-color: var(--button-color);
}

.btn:hover,
#playPauseBtn:hover {
    background-color: var(--button-hover-color);
    border-color: var(--button-color);
}

.btn:active,
#playPauseBtn:active {
    background-color: var(--button-hover-color) !important;
    transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
}

.main-background h2 {
    color: var(--text-p-color);
    font-family: 'Cinzel';
    font-size: 24px;
}

.main-background h3 {
    font-family: 'Great Vibes';
    color: var(--text-h-color);
}

#frist-layer .the-box {
    border: none !important;
    background-color: transparent !important;
}

#frist-layer .the-box .frame{
    position: absolute;
    top: 65%;
    left: 60%;
    transform: translateX(-60%) translateY(-60%);
    height: 120%;
    -webkit-transform: translateX(-60%) translateY(-60%);
    -moz-transform: translateX(-60%) translateY(-60%);
    -ms-transform: translateX(-60%) translateY(-60%);
    -o-transform: translateX(-60%) translateY(-60%);
}

#frist-layer .the-box img {
    filter: drop-shadow(2px 3px 6px #00000018);
    -webkit-filter: drop-shadow(2px 3px 6px #00000018);
}

#frist-layer .the-box h2 {
    color: var(--text-p-color);
    font-family: 'Cinzel';
    font-size: 14px;
}

#frist-layer .the-box h3 {
    font-family: 'Great Vibes';
    font-size: 40px !important;
    font-weight: 400;
    color: var(--text-h-color);
}

#frist-layer .the-box .box-invitation div {
    font-weight: 400;
    color: var(--text-h-color);
}

#frist-layer .the-box .box-invitation p {
    color: var(--text-p-color);
}

#frist-layer .the-box .overlay-top {
    position: absolute;
    top: -20px;
    left: -20px;
}

#frist-layer .the-box .overlay-bottom {
    position: absolute;
    bottom: -30px;
    right: -30px;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center center;
}

.flower-br {
    position: absolute;
    bottom: -10px;
    right: -10px;
    z-index: -1;
}

.flower-tl {
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: -1;
}

#opening img.profile {
    filter: drop-shadow(2px 3px 6px #00000018);
    -webkit-filter: drop-shadow(2px 3px 6px #00000018);
}

#opening h1 {
    color: var(--text-h-color);
    font-family: 'Great Vibes';
    font-weight: 500;
}

#opening .the-date {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-p-color);
}

#opening .countdown .the-box {
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
}

#bride .the-profile {
    background-color: var(--background-color);
    padding: 8px;
    width: 210px;
    border-radius: 40%;
    -webkit-border-radius: 40%;
    -moz-border-radius: 40%;
    -ms-border-radius: 40%;
    -o-border-radius: 40%;
}

#bride .profile {
    background-color: var(--background-color);
    border: 1.4px solid var(--border-color);
    padding-top: 20px;
    border-radius: 40%;
    -webkit-border-radius: 40%;
    -moz-border-radius: 40%;
    -ms-border-radius: 40%;
    -o-border-radius: 40%;
    width: 100%;
}

#bride h2 {
    color: var(--text-h-color);
    font-size: 22px;
    font-family: 'Merriweather';
}

#the-doa .bg-white {
    background-color: var(--background-color) !important;
}

/* event layer */
.event-wrapper {
    max-width: 600px;
    width: 100%;
}

.event-card {
    background: var(--button-color);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
    position: relative;
    height: auto;
    min-height: 150px;
    overflow: hidden;
}

.event-inner {
    display: flex;
    width: 100%;
    height: 100%;
}

.event-title-vertical {
    background: var(--background-color);
    color: var(--text-btn-color);
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px;
    border-radius: 15px 0 0 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    white-space: nowrap;
    height: auto;
    flex: 0 0 auto;
}

.event-info {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vertical-text {
    transform: rotate(180deg);
    white-space: nowrap;
}

.event-info {
    padding-left: 20px;
}

.event-day,
.event-date,
.event-time,
.event-location {
    color: var(--text-primary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-action {
    margin-top: 15px;
}

.event-button {
    background-color: var(--button-color);
    color: var(--text-btn-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.event-button:hover {
    color: var(--text-btn-color);
    background-color: var(--button-hover-color);
    border-color: var(--text-btn-color);
    transform: scale(1.02);
}

/* event layer */

#mini-maps h2 {
    color: var(--text-h-color);
}

#walimah {
    background-color: var(--button-color);
}

#walimah h2 {
    color: var(--text-btn-color);
    font-size: 24;
}

#walimah p {
    font-size: 11px;
    color: var(--text-btn-color);
}

#love-story h2 {
    color: var(--text-h-color);
    font-family: 'Playfair Display';
}

#love-story .card {
    background-color: var(--background-color) !important;
    color: var(--text-h-color);
}

/* bank layer */
#bank h2 {
    color: var(--text-h-color);
    font-weight: 500;
    font-size: 32px;
    font-family: 'Cinzel', serif;
}

#bank .accordion-button.gift-button {
    background-color: var(--button-color);
    color: #f1f1f1 !important;
}

#bank .accordion-button.gift-button.collapsed {
    background-color: var(--button-hover-color);
    color: #f9f9f9;
}

/* bank layer */

/* rsvp layer */
#rsvp .card {
    background-color: var(--background-color) !important;
}

#rsvp h3{
    color: var(--text-h-color) !important;
}

#rsvp label{
    color: var(--text-h-color) !important;
}

#rsvp .btn.btn-success {
    background-color: var(--button-color);
    color: var(--text-btn-color);
    font-weight: bold;
    border: 2px solid var(--button-color);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Efek hover */
#rsvp .btn.btn-success:hover {
    background-color: var(--button-hover-color);
    color: var(--text-btn-color);
    border-color: var(--button-hover-color);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Efek saat tombol ditekan */
#rsvp .btn.btn-success:active {
    transform: scale(0.95);
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.15);
}

#rsvp small {
    color: var(--text-p-color) !important;
}

/* rsvp layer */

/* chat-room layer */
#chat-room .card {
    background-color: var(--background-color) !important;
}

#chat-room h2{
    color: var(--text-h-color) !important;
}

#chat-room label{
    color: var(--text-h-color) !important;
}

#chat-room .btn.btn-primary {
    background-color: var(--button-color);
    color: var(--text-btn-color);
    font-weight: bold;
    border: 2px solid var(--button-color);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Efek hover */
#chat-room .btn.btn-primary:hover {
    background-color: var(--text-btn-color);
    color: var(--button-color);
    border-color: var(--text-btn-color);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Efek saat tombol ditekan */
#chat-room .btn.btn-primary:active {
    transform: scale(0.95);
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.15);
}

#chat-room .the-chat {
    background-color: var(--border-color) !important;
    color: var(--text-p-color);
}

/* chat-room layer */

#closing{
    background-color: var(--background-color);
}

#closing h2 {
    font-family: 'Great Vibes';
    color: var(--text-h-color);
    font-size: 40px;
    font-weight: 500;
}

#closing h3 {
    color: var(--text-p-color);
    font-size: 17px;
    font-weight: 400;
    font-family: 'Merriweather';

}

footer{
    color: #333 !important;
}