body {
    font-family: Poppins, Arial;
    background-color: #121416;
    color: white;
    margin: 0;
    padding: 0;
    position: relative;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    transform: scale(1.1);
    background-position: center;
    filter: blur(8px);
    z-index: -1;
    overflow: hidden;
}

.background-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.podcast-main-info {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0;
    text-align: center;
    position: relative;
    height: 20%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.podcast-info-content {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

.podcast-title {
    text-align: left;
    padding-left: 10%;
    font-size: 2vh;
    width: 65%;
    float: left;
}

.podcast-cover {
    flex: 1;
    text-align: right;
    padding: 0;
    float: right;
    margin: 0;
}

.podcast-cover img {
    max-width: 100%;
    margin: 0;
    float: right;
}

.podcast-description {
    position: absolute;
    display: none;
}

.logoandname {
    font-family: 'Poppins', sans-serif;
    display: flex;
    margin-right: 10px;
    text-align: middle;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
}
.logoandname img {
    width: 50px;
}
.logoandname div {
    margin-left: 10px;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #E0E0E0;
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none;
}
.menu {
    display: flex;
    flex: 1;
    width: 100%;
    align-items: center;
}
.menu-items {
    padding-left: 10px;
    display: flex;
    flex: 1;
}
.menu-items a {
    text-decoration: none;
    color: white;
    margin: 5px;
    border-radius: 10px;
    padding: 5px;
}
.menu-items .active a {
    text-decoration: none;
    color: #151515;
    background-color: #E0E0E0;
}
.navbar li {
    list-style: none;
    padding: 0;
    display: inline;
}
.navbar {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #1F1F1F;
    padding: 0 10% 0 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-body {
    margin: 60px 0 0 0;
    position: relative;
}

.px80-extra {
    margin: 80px 0 0 0;
    position: relative;
}

.main-content {
}

.content {
    margin-top: 50px;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 50px;
    padding-bottom: 120px;
}

h1 {
    color: white;
}

main {
    margin: 20px;
    position: relative;
    z-index: 2;
}

article {
    margin-bottom: 20px;
}

audio {
    width: 100%;
}
.audio-player {
    position: fixed;
    bottom: -90px;
    left: 0;
    right: 0;
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    height: 70px;
    z-index: 1000;
    flex-direction: row;
    transition: bottom 0.5s ease-in-out;
}

.audio-toggle {
    position: absolute;
    right: 10px; /* Adjust as needed */
    bottom: 100%; /* Position above the audio player */
    background-color: #333; /* Same as .audio-player */
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 1001; /* Above the audio player */
}


#toggleButton {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5em;
}

.audio-player.visible {
    bottom: 0;
}

.audio-player button {
    background-color: transparent;
    border: none;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
}

.audio-player input[type=range] {
    width: 100px;
}

.time-info {
    display: flex;
    align-items: center;
    width: 100%;
}

.title {
    font-weight: 600;
    font-size: 3vh;
}

.vertical-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 25%));
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.vertical-content-card {
    background: #1e1f27;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative; /* Added to position the image absolutely within this container */
    overflow: hidden;
}

.vertical-content-card:hover {
  transform: translateY(-5px);
}

.vertical-content-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.vertical-content-info {
  padding: 15px;
}

.vertical-episode-date {
    color: grey;
    font-style: italic;
    font-size: 1vh;
}

.vertical-episode-description {
    font-size: 1vh;
    padding-bottom: 20px;
}

.horizontal-content-grid {
  display: flex;
  flex-direction: column; /* Stacks items vertically */
  align-items: center; /* Centers cards horizontally */
  gap: 20px;
  margin-top: 20px;
}

.horizontal-content-card {
  display: flex; /* Use flexbox instead of grid for the card */
  width: 100%; /* Set card width to full container width */
  height: 150px; /* Set a fixed height for the card */
  background: #1e1f27;
  border-radius: 10px;
  transition: transform 0.3s ease;
  overflow: hidden; /* Maintain the overflow from your original design */
}

.horizontal-content-card:hover {
  transform: translateY(-5px);
}

.horizontal-content-card img {
  flex: 0 0 auto; /* Prevent the image from growing or shrinking */
  width: 150px; /* Set a fixed width */
  height: 100%; /* Set a fixed height to maintain aspect ratio */
  object-fit: cover;
  border-radius: 10px 0 0 10px; /* Round corners on the left */
}

.horizontal-content-info {
  flex-grow: 1; /* Allows the info area to fill the remaining space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
}

.horizontal-episode-date,
.horizontal-episode-description {
  font-size: smaller; /* Adjust as needed */
}

.horizontal-episode-bottom-right-menu {
  display: flex;
  gap: 5px; /* Adjust as needed */
  margin-top: 10px; /* Add some space above the buttons */
}

.horizontal-episode-title {
    font-size: 1.17em;
    font-weight: bold;
}

.horizontal-episode-date {
    color: grey;
    font-style: italic;
    font-size: 1vh;
}

.btn {
    border: 1px solid #0000;
    border-radius: 7px;
    cursor: pointer;
    display: inline-block;
    font-size: .9em;
    font-weight: 600;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    text-align: center;
    text-decoration: none;
    transition: .15s ease-in-out;
    transition-property: color,background-color,border-color;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    background: #ee726c;
}

.button-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    order: 2;
}

.player-left-row, .player-middle-row, .player-right-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.player-left-row {
    display: flex;
    width: 100%;
    align-items: left;
    justify-content: left;
    vertical-align: center;
}

.nowplaying {
    height: 70px;
    display: flex;
    align-items: center; /* This aligns the child elements vertically in the center */
    justify-content: start; /* This aligns the child elements to the start horizontally */
}


.nowplaying-cover {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.nowplaying-title {
    flex-grow: 1;
    float: right;
    vertical-align: center;
    max-width: 300px;
    font-weight: 300;
    font-size: 1.5vh;
}

.vertical-episode-bottom-right-menu {
    display: flex;
    position: absolute; /* Position it absolutely within content-info */
    bottom: 10px; /* Adjust as needed */
    right: 10px;
    text-align: right;
}

.mr5 {
    margin-right: 5px;
}

.playback-btns {
    color: white;
}

.bts1 {
    font-size: 2vh;
}

.bts2 {
    font-size: 3vh;
}

#progressBar {
    flex-grow: 1;
    margin: 0 10px;
    height: 5px;
    width: 300px;
}

#currentTime, #totalDuration {
    color: white;
}


@media (max-width: 600px) {
    .audio-player {
        bottom: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
    }

    .audio-player button {
        margin-bottom: 10px;
    }

    .audio-player input[type=range] {
        width: 80%;
    }
}


/* Carousel */
.carousel {
    position: relative;
    background-color: #444;
    height: 500px;
    width: 100%;
    overflow: hidden;
}
.carousel-inner {
    height: 100%;
}

.rounded-borders {
    border-radius: 10px;
}


/* Carousel */
  
  /*This is the actual carousel. Overflow hidden acts as a mask*/
  
  .lines-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: start;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
  }
  
  .line {
    border: 1px solid white;
    width: 15px;
    height: 3px;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .line-fill {
    background-color: white;
  }
  
  .text-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    bottom: 45px;
    left: 0;
    width: 100%;
    color: white;
    text-shadow: 1px 1px black;
    text-align: center;
  }
  
  .text-container p:nth-child(1) {
    margin: 10px 100px;
    font-size: 1.5em;
  }
  
  .text-container p:nth-child(2) {
    margin: 10px 100px 20px 100px;
  }
  
  .carousel-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  
  
.slide-event-show-image {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0px;
    top: 0px;
    object-fit: cover;
    filter: blur(8px);
    overflow: hidden;

}
.slide-event-shadow {
    fill: url(#slide-event-shadow);
}
.slide-event-shadow {
    position: absolute;
    overflow: visible;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}
.slide-event-show-name {
    left: 6%;
    top: 10%;
    position: absolute;
    overflow: visible;
    width: 50%;
    white-space: nowrap;
    text-align: left;
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: 64px;
    color: rgba(255,255,255,1);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.slide-event-show-description {
    left: 6%;
    top: 28%;
    position: absolute;
    overflow: visible;
    width: 430px;
    height: 72px;
    text-align: left;
    font-family: Poppins;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    color: rgba(224,224,224,1);
}
.slide-event-show-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 200px;
    height: 10%;
    left: 3%;
    bottom: 30%;
    object-fit: cover;
    overflow: hidden;
}
.slide-event-show-progressbar {
    flex-grow: 1;
    background-color: #e0e0e0;
    height: 5px;
    border-radius: 5px;
    margin: 0 5px;
}
.slide-event-show-starttime,
.slide-event-show-endtime {
    display: block;
    font-weight: 500;
    font-size: 12px;
}
.slide-even-channel-info {
    position: absolute;
    display:flex;
    align-items: center;
    width: 40%;
    height: 56px;
    left: 3%;
    bottom: 20%;
}
.slide-event-channel-logo {
    width: 56px;
    height: 56px;
    overflow: visible;
    object-fit: contain; 
}
.slide-event-channel-name {
    display: block;
    overflow: visible;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    font-size: 27px;
    color: rgba(224,224,224,1);
    margin-left: 10px;
}
.slide-event-cta {
	background-color:#EE726C;
	border-radius:21px;
	display:block;
    position:absolute;
	cursor:pointer;
	color:#ffffff;
    font-weight:500;
	font-size:16px;
	padding:15px 40px;
    bottom: 7%;
    left: 3%;
	text-decoration:none;
}
.slide-event-cta:hover {
	background-color:#c3605c;
}
.slide-event-cta:active {
	position:absolute;
	bottom: 6%;
}
  
  /* Animations */
  @keyframes toRight {
    0% {
      left: 0;
    }
    100% {
      left: 100%;
    }
  }
  
  @keyframes toLeft {
    0% {
      left: 0;
    }
    100% {
      left: -100%;
    }
  }
  
  @keyframes comeRight {
    0% {
      left: 100%;
    }
    100% {
      left: 0;
    }
  }
  
  @keyframes comeLeft {
    0% {
      left: -100%;
    }
    100% {
      left: 0;
    }
  }
  