@font-face {
    font-family: 'kindergarten';
    src: url('kindergarten.woff2') format('woff2'), /* Modern Browsers */
  }

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    background-color: #fffdf6;
}

header {
    background-color: #fffdf6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px; /* Adjust this value as needed */
    z-index: 100;
    overflow: hidden;
}

.banner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 10px; /* Space between images */
}

.banner-image {
    max-width: 30%;
    height:auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image img {
    height: 100%;
    width: 50%;

    object-fit: contain;
}

main {
    display: flex;
    margin-top: 100px;
    min-height: calc(100vh - 100px);
}

nav {
    width: 200px;
    background-color: #fffdf6;
    color:#290fca;
    font-family: 'Kindergarten', san-serif;
    padding: 20px;
    font-size: 1.8em;
    position: fixed;
    top: 100px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 3px solid #290fca;
}


nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    margin-bottom: 40px;
}

nav ul li a {
    color:#290fca;
    font-family: 'Kindergarten', san-serif;
    text-decoration: none;
}

.content {
    margin-left: 340px; /* Increased to prevent overlap */
    margin-top: 100px;
    padding: 20px;
    display: flex;
  flex-direction: column;
    overflow-y: auto;
    height: 100vh; /* Adjust as needed */
    padding: 1rem;
    flex-grow: 1;
    background-color: #fffdf6;
    color:#290fca;
    font-family: 'Kindergarten', san-serif;
}

.tracklist {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.tracklist li {
    margin-bottom: 8px;
}
.mixtitle {
    font-size:2.4em;
    text-align: center;
}

.article {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    justify-content: center;
  align-items: center
    
  }

.article-left {
    flex: 1;
    min-width: 250px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .article-right {
    flex: 1;
    min-width: 250px; /* Adjust as needed */
  }
  
  .mixtitle {
    width: 100%;
    background-color: #fffdf6; /* Dark red */
    padding: 1rem;
    vertical-align: middle;
    
  }
  
  .article-description {
    width: 100%;
    background-color: #fffdf6; /* Bright green */
    padding: 1rem;
  }
  
  .tracklist-button {
    align-self: flex-start;
    background-color: #800080; /* Purple */
    padding: 0.5rem 1rem;
  }
  
  .audio-player {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #000; /* Black */
  }

.page {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.7s ease-in-out, visibility 0s 0.7s;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.page.active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Ensure the content container has a relative positioning */
.content {
    position: relative;
    /* ... other existing styles ... */
}

.long-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 20px;
    box-sizing: border-box;
}

.long-text.visible {
    max-height: 2000px; /* Adjust this value based on your content */
    transition: max-height 0.5s ease-in;
    padding: 20px;
    border-top: 1px solid #ddd;
    margin-top: 10px;
}

.read-more {
    background-color: #fffdf6;
    font-family: 'Kindergarten', san-serif;
    border: none;
    color:#290fca;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #ffd500;
}

.audio-player {
    position: relative;
    width: 300px; /* Adjust as needed */
    margin: 20px 0;
}

.player-image {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust as needed */
    overflow: hidden;
}
.side_image_us {
    position:relative;
    margin-left:30%;
    max-width: 400px;
    max-height: 400px;
}  

.side_image_us:hover {
    transform: scaleX(-1)
}

.about_us {
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
}
.side_image_jenn {
    position: relative;
    max-width: 400px;
    max-height: 400px;
    margin-left: 8%;
}

.side_image_jenn:hover {
    transform: scaleX(-1)
}

.side_image_dane {
    position: relative;
    margin-left: 50%;
    max-width: 400px;
    max-height: 400px;
}

.side_image_dane:hover {
    transform: scaleX(-1)
}
.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.player-image:hover .play-pause-btn {
    opacity: 1;
}

.progress-container {
    width: 100%;
    height: 15px; /* Increased height for easier interaction */
    background: #ddd;
    position: absolute;
    bottom: 0;
    left: 0;
    cursor: pointer;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress {
    width: 0;
    height: 100%;
    background: #290fca;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.1s linear;
}

.highlight-container, .highlight {
    position: relative;
  }
  
  .highlight-container {
    display: inline-block;
  }
  .highlight-container:before {
    content: " ";
    display: block;
    height: 90%;
    width: 100%;
    margin-left: -3px;
    margin-right: -3px;
    position: absolute;
    background: #ffd500;
    transform: rotate(2deg);
    top: -1px;
    left: -1px;
    border-radius: 20% 25% 20% 24%;
    padding: 10px 3px 3px 10px;
  }
  .film-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1rem;
  }
  
  .film-poster {
    position: relative;
    border: 2px solid #290fca;
    aspect-ratio: 3/4;
    overflow: hidden;
  }
  
  .film-poster a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .film-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .film-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
  }
  
  .film-poster:hover img {
    transform: scale(1.05);
  }
  
  .film-poster:hover .film-title {
    transform: translateY(0);
  }

/* Responsive design */
@media screen and (max-width: 768px) {
    main {
        flex-direction: column;
    }

    nav {
        position: static;
        width: 100%;
        padding: 10px;
    }

    nav ul {
        display: flex;
        justify-content: space-around;
    }

    .content {
        margin-left: 30px;
        
    }

    .film-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    

    .article-content {
        flex-direction: column;
        font-size: 1rem;
        width: 70%;
    }

    .article-content p {
        margin-right: 0;
        margin-bottom: 10px;
        width: 40%;
        text-align: center;
    }

    .audio-right {
width: 30%;
    }
}
