body {
    font-family: "Gill Sans", sans-serif;
    padding: 0;
    margin: 0;
    color: #333;
    text-align: center;
    position: relative;
    z-index: 1; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative; 
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden; 
    z-index: -1; 
}

.background-container img {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto; 
    transform: translate(-50%, -50%); 
}


header {
    background-color: white;
    box-shadow: 0 5px 25px #ffffff;
    padding: 5px 0;
    z-index: 2; 
}


.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 45px;
    height: auto;
    margin-right: 10px;
}

.site-title {
    font-size: 36px;
    background: linear-gradient(to right, #975549, #e64147);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #333;
    bottom: -5px;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

.burger {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    margin-right: 30px;
    padding: 10px;
    background-color: #ffffffcc;
    border-radius: 10px;
    box-shadow: 0 2px 10px #00000033;
    transition: background-color 0.3s, transform 0.3s;
}

.burger:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.burger .line {
    width: 35px;
    height: 4px;
    margin: 4px 0;
    transition: background-color 0.3s;
    background: linear-gradient(to right, #d8269d, #f57f10);
}


main {
    flex: 1;
    padding: 20px;
}

h2 {
    margin-bottom: 20px;
}




.flex-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #ffffffef;
    border-radius: 20px;
    box-shadow: 0 4px 20px #00000033;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    animation: fadeInOnly 2s ease-out forwards; 
}


.back-button {
    position: absolute; 
    left: 20px;
    padding: 15px 25px;
    border-radius: 15px; 
    background-color: white; 
    color: black; 
    box-shadow: 0 5px 5px #0000004d; 
    text-decoration: none; 
    border: 2.5px solid #000000bd;
    transition: letter-spacing 0.3s;
    margin-left: -12px;
}

.back-button:hover {
    background-color: white;
    color: black; 
    letter-spacing: 10px;
}


h2 {
    margin: 0; 
    text-align: center; 
}

.description-box,
.facts-box,
.audio-container    {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 15px;
    flex: 1;
    margin-right: 10px; 
}

.description-box {
    font-size: 1.2em;
    line-height: 1.3;
    margin-left: 30px; 
}


table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border-bottom: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: none;
}

td + td {
    border-left: 1px solid #ddd; 
}

tr:last-child td {
    border-bottom: none;
}

.audio-container {
    margin-right: 30px; 
}

.audio-box {
    background-color: #ffffff;
    border-radius: 20px; 
    padding: 20px;
    box-shadow: 0 4px 20px #00000033; 
    margin-top: 15px;

}

.custom-audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.custom-audio-controls button {
    background-color: #91907e;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
    width: 70px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-audio-controls button:hover {
    background-color: #74725b;
}

.custom-audio-controls button.play {
    background-color: #9e8775;
}

.custom-audio-controls button.play:hover {
    background-color: #7e6857; 
}
.time-display {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.progress-bar {
    position: relative;
    margin-top: 4px;
    background-color: #ebebeb;
    border-radius: 10px;
    height: 10px;
    width: 70%;
    overflow: hidden; 
}

.progress {
    height: 100%;
    background-color: #a3a3a3;
}

.audio-text {
    font-size: 1.2em;
    line-height: 1.3;
}

.media-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}


.video-container,
.image-slider-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left; 
    margin-left: 30px; 
    max-width: 100%; 
    overflow: hidden; 
}

.video-container video {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 30px; 
}


.image-slider-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
    flex: 1.1; 
    position: relative;
    max-width: 100%;
    text-align: center;
    border-radius: 30px;
    overflow: hidden;
    flex-basis: 500px; 

}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out; 
  }

.slider-image.active {
    display: block;
    opacity: 1;
}


.image-description {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5em;
    text-align: center;
    background-color: #00000080;
    padding: 10px 20px;
    border-radius: 10px;
    transition: bottom 0.3s ease;
    z-index: 20;
}


.description-box,
.facts-box,
.audio-container,
.video-container,
.image-slider-box,
.download-container {
    background-color: #ffffffd9; 
    backdrop-filter: blur(4px); 
    border-radius: 30px;
    box-shadow: 0 4px 20px #474747; 
    padding: 15px;
    transition: background-color 0.7s ease, border-radius 0.7s ease, box-shadow 1.3s ease; 
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards; 
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0); 
    }
}

@keyframes fadeInOnly {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.title-container {
    animation-delay: 0.1s;
}

.description-box {
    animation-delay: 0.2s;
}

.facts-box {
    animation-delay: 0.3s;
}

.audio-container {
    animation-delay: 0.4s;
}

.video-container {
    animation-delay: 0.5s;
}

.image-slider-box {
    animation-delay: 0.6s;
}

.download-container{
    animation-delay: 1s;
}




.description-box:hover,
.facts-box:hover,
.audio-container:hover,
.download-container:hover,
.image-slider-box:hover,
.video-container:hover {
    background-color: #ffffffee;
    backdrop-filter: blur(5px); 
    box-shadow: 0 4px 20px #adadad; 
    border-radius: 23px;
}


.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffffcc;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    box-shadow: 0 2px 5px #0000004d; 
    transition: background-color 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background-color: #ffffff; 
}


.download-container {
    background-color: #fff;
    background-color: #ffffffd9; 
    backdrop-filter: blur(6px); 
    box-shadow: 0 4px 20px #474747; 
    border-radius: 30px;
    padding: 17px;
    margin: 70px auto; 
    max-width: 400px; 
}


.download-text {
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
}

.download {
    width: 12rem;
    height: auto;
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.download .circle {
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #1e1e20;
    border-radius: 1.625rem;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.download .circle .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.download .circle .icon.arrow::before {
    content: '';
    position: absolute;
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

.download .button-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #313138;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.download:hover .circle {
    width: 100%;
}

.download:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

.download:hover .button-text {
    color: #fff;
}

footer {
    background-color: #ffffff;
    margin-top: 40px; 
    color: #000000;
    box-shadow: 0 -5px 25px #ffffff;
    padding: 10px;
    position: relative; 
}



@media (max-width: 1400px) {

    .video-container {
        margin-left: 0;
        flex-basis: 20%;
        margin-left: 30px;
    }
}

@media (max-width: 1100px) {

    .flex-container, .media-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; 

    }

    .flex-container > div, .media-container > div {
        flex: 1 1 45%; 
        margin: 10px;
    }
    .flex-container > div, .media-container > div {
        flex: 1 1 45%; 
        margin: 10px;
    }

    .description-box,
    .facts-box,
    .audio-container, 
    .video-container, 
    .image-slider-box, 
    .download-container {
        width: 95%; 
        margin-bottom: 15px;
        box-sizing: border-box;  
    }

    .slider-container {
        width: 100%;
    }

    .description-box, .facts-box, .audio-container {
        margin-left: 0;
        margin-right: 0;
        padding: 10px;
    }

    .video-container {
        align-items: center;
        margin-left: 0;
        margin-top: -20px;


    }


    @media (max-width: 750px) {


    .flex-container, .media-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }
}
    

    @media (max-width: 500px) {
 
        .burger {
            display: block; 
        }
    
        .nav-links {
            display: none; 
            flex-direction: column;
            position: absolute;
            top: 60px; 
            left: 20px; 
            width: max-content; 
            width: 100%; 
            padding: 10px; 
            max-width: 200px; 
            background-color: #fffffff2; 
            box-shadow: 0 4px 20px #00000033; 
            border-radius: 8px; 
            transition: transform 0.3s ease, opacity 0.3s ease; 
            transform: translateY(-20px) translateX(-100%); 
            opacity: 0; 
            z-index: 1; 
        }
        
        .nav-links.active {
            display: flex; 
            transform: translateY(0) translateX(0); 
            opacity: 1; 
        }
        
        .nav-links li {
            margin: 5px 0; 
            text-align: left; 
        }
        
        .nav-links li a {
            color: #333; 
            text-decoration: none; 
            padding: 12px 15px; 
            display: block; 
            padding: 10px; 
            border-radius: 5px; 
            transition: background-color 0.3s, transform 0.3s; 
        }
        
        .nav-links li a:hover {
            background-color: #0000001a; 
            transform: scale(1.05); 
        }
        
        
        

    }
}