html {
    scroll-behavior: smooth;
}

body {
    font-family: "Josefin Sans", sans-serif;
    padding: 0 !important;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}
.navbar-nav .nav-link {
    color: #fff; /* Default text color */
}
.navbar-nav .nav-link:hover {
    color: #ffc107; /* Highlight color on hover */
    transform: scale(1.1); /* Scale effect on hover */
}
.navbar-custom {
    background-color: #333;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
}

/* Navbar item styling */
.navbar-custom .nav-link {
    color: #bdbdbd;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s, transform 0.3s;
}

.navbar-custom .nav-link:hover {
    color: #f8f9fa;
    transform: translateY(-5px);
}

/* Icon bounce animation on hover */
.navbar-custom .nav-link i {
    font-size: 1.4rem;
    transition: transform 0.3s ease-in-out;
}

.navbar-custom .nav-link:hover i {
    color: #f8f9fa;
    transform: scale(1.2) translateY(-5px);
}

/* Text styling under icons */
.navbar-custom .nav-link span {
    font-size: 0.7rem;
}

/* font the wedding */
.letters-container {
    display: flex; /* Use flexbox to arrange images side by side */
    justify-content: center; /* Center the images horizontally */
    align-items: flex-end; /* Align images to the bottom */
}

.decorative-letter {
    transition: transform 0.3s ease;
}
.decorative-letter:hover {
    transform: scale(1.1);
}
.left-letter {
    height: 180px; /* Set specific height for the left image (Letter D) */
}

.right-letter {
    height: 180px; /* Set specific height for the right image (Letter A) */
}

/* Home */

#home {
    color: #f8f9fa;
    padding-bottom: 4rem;
    position: relative;
}

/* Text and title styling */
#home h1,
#home h4 {
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

#home .font-estetik {
    font-family: "Great Vibes", cursive;
    color: #ffddc1;
}

/* modal */
#exampleModal .modal-content {
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 0;
}

#exampleModal .modal-dialog {
    max-width: 100%;
}

/* Background and central styling */
#exampleModal .modal-body {
    background-image: url("/assets/images/bg2.jpeg");
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100vh;
}

#exampleModal .modal-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.font-estetik {
    font-family: "Playfair Display", serif; /* Include this font in your project */
    color: #fff8f0;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
.quote-text {
    animation: fadeInUp 2s ease-in-out, textGlow 3s infinite alternate;
}

.quote-source {
    animation: fadeInUp 2s 1s ease-in-out, textGlow 3s infinite alternate;
}
.cropper {
    width: 14rem;
    height: 14rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.cropper > img {
    width: 100%;
    max-width: 250px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 2;
    position: relative;
}
.cropper img:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.2);
}
.btn-light {
    color: #333;
    background-color: #f8f9fa;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 2;
    position: relative;
}
.btn-light:hover {
    background-color: #ffddc1;
    transform: scale(1.05);
}
.btn-outline-light {
    border: 1px solid #f8f9fa;
    color: #f8f9fa;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.modal-body .text-center {
    z-index: 2;
    position: relative;
}

/* Guest name and invitation message styling */
#namatamu {
    font-size: 1.1rem;
    color: #ffedd5;
    font-weight: 500;
    margin-bottom: 1rem;
}

.modal p {
    color: #ffedd5;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}
.btn-outline-light:hover {
    background-color: #f8f9fa;
    color: #333;
    transform: scale(1.1);
}

.btn-music {
    position: fixed;
    bottom: 9vh;
    right: 2vh;
    z-index: 1055;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #212529;
    z-index: 1056 !important;
}

.card-body {
    overflow-wrap: break-word !important;
}

.mousey {
    padding: 0.25rem 0.625rem;
    height: 2rem;
    opacity: 0.75;
    box-sizing: content-box;
    width: 30px;
    border: 2px solid #0b0b0b;
    border-radius: 20px;
    position: relative;
    margin-bottom: 0.5rem;
}
.text-animated {
    animation: fadeInUp 1.5s ease-in-out;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Efek untuk huruf besar secara bertahap */
.text-delay-1 {
    animation-delay: 0.5s;
}

.text-delay-2 {
    animation-delay: 1s;
}

.text-delay-3 {
    animation-delay: 1.5s;
}
.scroller {
    width: 0.25rem;
    height: 0.625rem;
    border-radius: 25%;
    animation-name: scroll;
    animation-duration: 2.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    background-color: #121313;
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}
.animated-text {
    animation: fadeInGlow 3s infinite alternate;
}
@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 20px;
        opacity: 0;
    }

    10% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(1rem);
        top: 20px;
        opacity: 0;
    }
}
@keyframes textGlow {
    from {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 215, 0, 1);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fadeInGlow {
    from {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 165, 0, 0.4);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 15px rgba(255, 165, 0, 0.8);
    }
}
