/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
    background: rgba(255, 255, 255, 0.5) url('path-to-your-background.gif') no-repeat center center fixed; /* Replace with your gif path */
    background-size: cover;
}

body {
    display: flex;
    flex-direction: column;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999; /* Ensure it's on top */
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    transition: height 0.3s, padding 0.3s, background-color 0.3s;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.collapsed-header {
    height: 3rem; /* Collapsed height */
}

.expanded-header {
    height: 10rem; /* Expanded height */
}

nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    width: 100%;
}

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.mayt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s; /* Faster transition */
}

.header-text {
    font-size: 2rem; /* Smaller font size for initial state */
    color: white; /* Change text color to white */
    transition: font-size 0.3s; /* Transition for font size */
}

.visible-header-text {
    font-size: 3rem; /* Slightly larger font size for expanded state */
}

.new-link {
    color: neon; /* Bright neon green color */
    text-decoration: none;
    font-size: 1rem;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 15rem 0 2rem; /* Adjust padding to maintain spacing */
}

.button-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    width: 80%;
    margin-bottom: 2rem;
}

.media-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.media-label {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    font-weight: bold;
    color: black; /* Set color to black */
    transition: color 0.3s, text-shadow 0.3s;
}

.media-label:hover {
    color: yellow; /* Change color to yellow on hover */
    text-shadow: 0 0 10px yellow; /* Add yellow glow */
}

#video-player, #audio-player {
    width: 80%;
    margin-bottom: 0.5rem;
}

.placeholder-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.placeholder {
    background-color: transparent; /* Make boxes invisible */
    border: none;
    padding: 1rem;
    margin: 1.5rem;
    width: 100px;
    text-align: center;
    color: black; /* Change text color to black */
}

.audio-button {
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.audio-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.cyan-button {
    background-color: cyan;
}

.yellow-button {
    background-color: yellow;
}

.magenta-button {
    background-color: magenta;
}

.black-button {
    background-color: black;
    color: #fff;
}

.cyan-button2 {
    background-color: aquamarine;
}

.yellow-button2 {
    background-color: #E1FF00;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

.scroll-placeholder {
    height: 100vh; /* Adjust height to create scrollable content */
}