/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1E2A38; /* Dark Blue Background */
    color: #FFFFFF; /* White text color */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
}

/* Header Styles */
header {
    background-color: #002b58; /* Dark Blue Background */
    padding: 10px 20px; /* Adjust padding to suit the design */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow to separate from body */
    position: relative;
    z-index: 10; /* Ensures it stays on top of other content */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures space is distributed evenly */
}

/* Logo Image Styling */
.dc-logo {
    max-width: 100px; 
    height: auto;
}

.navbar-nav .nav-link {
    padding: 10px 15px;
    color: #FFFFFF !important; /* White text */
}

/* Active navigation link styling with a thicker underline */
.navbar-nav .nav-item.active .nav-link {
    text-decoration: underline; /* Add underline to the active link */
    text-decoration-color: #0378F2; /* Light blue underline */
    text-decoration-thickness: 4px; /* Thicker underline */
    color: #FFFFFF; /* Keep text color white */
}



.navbar-nav .nav-link:hover {
    background-color: #0378F2; /* Blue on hover */
    border-radius: 5px;
}

/* Styles specific to desktop view */
@media (min-width: 992px) { /* Applies to large screens and above */ 
    .navbar-nav {
        padding-right: +120px;
    }
}

/* Styles specific to mobile view */
@media (max-width: 991.98px) { /* Bootstrap's breakpoint for lg and below */
    .navbar-collapse {
        text-align: center; /* Center the text in mobile view */
    }

    .navbar-collapse .navbar-nav {
        flex-direction: column; /* Stack links vertically on mobile */
    }

    .navbar-nav {
        margin: 0; /* Reset margins for mobile */
        left: 0; /* Ensure the menu starts from the left */
    }
}

/* Navbar toggler */
.navbar-toggler {
    margin-left: auto;
}

/* Container Styles */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    background-color: #E0E0E0; /* Light Gray background for contrast */
    color: #1E2A38; /* Dark Blue text */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Add margin to create space between navbar and content */
    padding-bottom: 60px;
}

/* Footer Styles */
footer {
    background-color: #002b58; /* Dark Blue Background */
    color: #FFFFFF; /* Golden Yellow text */
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Image Styles */
img, video {
    border: 2px solid #0378F2;
    border-radius: 5px;
    padding: 5px;
    width: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0px 3px 6px 4px rgba(0,0,0,0.53); 
    box-shadow: 0px 3px 6px 4px rgba(0,0,0,0.53);
}

/* Text Styles */
h4 {
    margin-top: 10px;
    color: #1E2A38; /* Dark Blue */
}

.text-center h2, .text-center p {
    color: #FFFFFF; /* White text */
}

.character-section {
    padding-top: 75px; /* Adjust the padding as needed */
    margin-bottom: 25px; /* Add space between sections */
}

/* back to top button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #002b58;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}
  
#myBtn:hover {
    background-color: #0378F2;
}


.col-md-4 img:hover {
    transform: scale(1.05);
}

/* DC Universe Section */
.dc-universe {
    text-align: center;
    margin-bottom: 40px;
}

.dc-universe img {
    width: 90%;
    margin: 0 auto;
    display: block;

}

.dc-universe p{
    padding-top: 20px;
}

/* Trinity Section */
.trinity {
    padding-bottom: 80px;
}

.trinity img {
    width: 75%;
    margin: 0 auto;
    display: block;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.trinity {
    padding-bottom: 80px;
}

.trinity img {
    width: 75%;
    margin: 0 auto;
    display: block;
}

.Enemies img{
    width: 35%;
    margin: 0 auto;
    display: block;
}

.Dc-marvel img {
    width: 80%;
    margin: 0 auto;
    display: block;
}

.Differences {
    padding-top: 20px;
}

.Adaptations video{
    margin: 0 auto;
    display: block;
}

.Adaptations {
    padding-top: 20px;
}