/* Reset some basic elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Remove list item markers (dots) */
ul {
    list-style-type: none; /* Removes the dots */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}

/* Remove underline from links */
li a {
    text-decoration: none; /* Removes the underline */
  
}

/* Ensure menu items align straight down */
li {
    margin: 0; /* Removes default margin between list items */
    padding: 0; /* Removes default padding */
}
p{
    font-size: 1rem;
}

/* Content Section */
.content {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.content-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.content-nav a {
    text-decoration: none;
    color: rgb(79, 123, 149);
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s;
    font-size: 18px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    z-index: 1000;
    /*background-color: black;*/
}

.navbar {
    position: relative;
}

.navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
    box-shadow: none;
}

.navbar-toggler {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1100;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
}

.navbar-toggler-icon {
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    display: block;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    position: absolute;
    left: 0;
    transition: none;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Updated styles */
.navbar-collapse {
    display: none;
    position: absolute;
    top: 10px;
    left: 0;
    width: 140px;
    padding: 10px;
    border-radius: 5px;
    /*background-color: black;*/
}

/* Show the menu on hover and keep it visible when hovering over the menu itself */
.navbar-toggler:hover + .navbar-collapse,
.navbar-toggler:focus + .navbar-collapse,
.navbar-collapse:hover {
    display: block;
}

.navbar .navbar-nav {
    flex-direction: column;
}

.navbar .navbar-nav .nav-item {
    margin: 0px 0;
    color: #2a9ae5;
}

.navbar-dark .navbar-nav .nav-link {
    color: #2a9ae5;
}

.nav-link:hover {
    color: rgba(157, 0, 255, 0.5);
}
ul {
    list-style-type: none; /* Removes the dots */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}

li {
    margin: 0; /* Adds some spacing between the items */
    padding: 10px 0;
}

a {
    text-decoration: none; /* Removes the underline */
}


/* Main Section */
.main-section {
    position: relative;
    text-align: center;
    color: white;
    opacity: 0;
    animation: fadeInContent 1s ease forwards;
}

/* Fade-in animation for content */
@keyframes fadeInContent {
    to {
        opacity: 1;
    }
}

.image-container {
    width: 100%;
    height: auto;
    perspective: 1000px; /* Enable 3D flip */
}

.image-container img {
    width: 100%;
    height: auto;
    /* Removed the rotation effect */
    /* No need for transition or transform-style */
}

.text-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    opacity: 0;
    animation: fadeInOverlay 1s ease forwards 0.5s; /* Delay to start after content */
}

/* Fade-in animation for overlay text */
@keyframes fadeInOverlay {
    to {
        opacity: 1;
    }
}

.text-overlay p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.links {
    margin-top: 20px;
    font-size: 1.1rem;
}

.links a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
}

.links a.active {
    font-weight: bold;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-overlay {
        width: 90%;
        font-size: 1rem;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin: 10px 0;
    }
}

/* Second Section - Podcast List */
.podcast-list {
    margin: 50px auto;
    max-width: 1300px;
    padding: 0 20px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1s ease forwards; /* Slide-in animation */
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.podcast-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.podcast-date {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 10px;
}

.podcast-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #333;
}

.podcast-content p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

.play-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 10px;
}

.play-button:hover {
    background-color: #0056b3;
}

.duration {
    margin-left: 10px;
    color: #555;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .podcast-content h3 {
        font-size: 1.2rem;
    }
    .image-container{
        height: 250px;
    }
    #images{
        height: 250px;
    }

    .podcast-content p {
        font-size: 0.9rem;
    }

    .play-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

.final-content-footer {
    background-color: #d4c9c9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 0px;
    text-align: center;
}

.final-content-footer h2 {
    margin: 0;
    font-size: 2.5rem;
    color: darkblue;
    margin-bottom: 5px;
    font-weight: bold;
}

.social-icons {
    margin-bottom: 10px;
}

.footer-link {
    font-size: 2rem;
    margin: 0 5px;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-link:hover {
    transform: scale(1.1);
}

/* Specific colors for each icon */
.footer-link i.fa-facebook-f {
    color: #3b5998;
}

.footer-link i.fa-twitter {
    color: #00acee;
}

.footer-link i.fa-instagram {
    color: #C13584;
}

.footer-link i.fa-youtube {
    color: #FF0000;
}
/* Mobile View Adjustments */
@media (max-width: 767px) {
    .navbar-collapse {
        width: 100px; /* Reduce width for mobile */
        padding: 5px; /* Reduce padding for mobile */
    }

    .navbar .navbar-nav .nav-item {
        padding: 4px 0; /* Reduce padding for each item */
        font-size: 15px; /* Reduce font size for mobile */
    }
    .text-overlay{
        display: none;
    }
}