/* bds-wing-tsjun.css */
body {
    font-family: 'Roboto Slab', sans-serif;
    background: #121212;
    color: #fff;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.title-text3 {
    font-size: 2rem;
    color: #00f7ff;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
    font-family: 'Roboto Slab', serif;
    transition: transform 0.3s ease;
    transform-origin: center; /* Center the zoom effect */
    display: inline-block; /* Ensure the element behaves as an inline block */
}

.title-text3:hover {
    transform: scale(1.1); /* Zoom in */
}

.title-text2 {
    font-size: 3rem;
    color: #00f7ff;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
    font-family: 'Roboto Slab', serif;
    transition: transform 0.3s ease;
}

.title-text2:hover {
    transform: scale(1.1);
}

.p-text1 {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ddd;
}

section {
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('resources/story/background.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

figure {
    transition: transform 0.3s ease;
}

figure:hover {
    transform: scale(1.05);
}

.breadcrumb {
    background: transparent;
    color: #00f7ff;
}

.breadcrumb-item a {
    color: #00f7ff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #f9f9f9;
}

/* Parallax Scrolling Effect */
.detailed-texts-section1 {
    position: relative;
    overflow: hidden;
    background-color: #333;
}

.detailed-texts-section1::before {
    content: '';
    background: url('resources/story/parallax-bg.jpg') center center no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    z-index: -1;
    transform: translateY(0);
    animation: parallax 10s infinite linear;
}

@keyframes parallax {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(50%);
    }
}

.d-flex.justify-content-center {
    display: flex;
    justify-content: center;
}

.parent-element {
    overflow: visible;
}


/* Additional padding to maintain space around the images */
section {
    padding: 20px;
}

/* Ensure that the image container is centered properly */
.row.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;  /* Ensure no extra margin */
    padding: 0;      /* Remove any unwanted padding */
}

.col-12, .col-md-8, .col-lg-7 {
    display: flex;
    justify-content: center;
}

/* Make sure the image itself is centered */
.tech-fig {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
}

/* Center the caption */
.figure-caption {
    text-align: center;
    margin-top: 10px;
}

/* Optional: Adjust image sizes for larger screens */
@media (min-width: 992px) {
    .tech-fig {
        max-width: 80%;
    }
}