body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #252525; /* Main background color */
    color: #00ff00; /* Main text color */
    font-family: 'Courier New', Courier, monospace;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-heading {
    font-size: 5vw; /* Responsive font size */
    color: #006400; /* Main text color */
    margin-top: 40px; /* Add top margin only */
    text-align: center;
}

.mp3-player-container {
    position: relative;
    width: 40vw; /* Responsive width */
    height: auto;
    max-width: 600px;
    margin: auto; /* Center horizontally */
}

.mp3-player-image {
    width: 100%;
    height: auto;
}

.button {
    position: absolute;
    top: 47.5%; /* Adjusted to match image */
    left: 24.5%; /* Adjusted to match image */
    transform: translate(-50%, -50%);
    width: 12%; /* Proportional to container */
    height: 12%; /* Proportional to container */
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 2vw; /* Responsive font size, max value set */
    font-size: max(2vw, 20px);
    opacity: 0;
}

.display {
    position: absolute;
    top: 43%; /* Adjusted to match image */
    left: 37.6%; /* Adjusted to match image */
    width: 22.75%;
    height: 9.9%; /* Proportional to container */
    background: rgba(37, 37, 37, 0.8);
    color: #00ff00;
    overflow: hidden; /* Ensures text outside the bounds is not visible */
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 5px;
    line-height: 3vw; /* Adjusted for better alignment */
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5vw; /* Responsive font size, max value set */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.initial-text {
    font-size: 1vw; /* Decrease font size for initial text */
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee linear infinite;
    right: 0; /* Start from the right edge */
    animation: marquee linear infinite;
    animation-play-state: paused; /* Initially paused */
}

.info-box {
    position: absolute;
    top: 25%; /* Adjust as needed */
    left: 25%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1em; /* Use em units for padding */
    border-radius: 0.5em; /* Use em units for border radius */
    text-align: center;
    font-size: 1.2vw; /* Responsive font size */
    z-index: 10; /* Ensure it is above other elements */
    width: auto; /* Allow width to adjust based on content */
    max-width: 80%; /* Limit the maximum width */
    box-sizing: border-box;
}

.info-box::after {
    content: '';
    position: absolute;
    bottom: -2em; /* Position the arrow further down */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 0.5em solid transparent;
    border-right: 0.5em solid transparent;
    border-top: 2em solid rgba(0, 0, 0, 0.8); /* Match the background color of the info box */
}

@keyframes marquee {
    0% {
        transform: translateX(100%); /* Start from the right edge */
    }
    100% {
        transform: translateX(-100%); /* Move to the left edge */
    }
}

table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
}

th, td {
    border: none;
    padding: 10px;
}

footer {
    background-color: #252525; /* Match the main background color */
    color: #006400; /* Dark green text color */
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-weight: bold; /* Make the text bold */
}

@media (max-width: 600px) {
    .mp3-player-container {
        width: 80vw; /* Increase width for smaller screens */
    }
    .button {
        font-size: 4vw; /* Larger font size for smaller screens */
    }
    .display {
        line-height: 4vw; /* Adjust for better display on smaller screens */
        font-size: 3vw; /* Increase font size for smaller screens */
    }
    .initial-text {
        font-size: 2vw; /* Adjust font size for smaller screens */
    }
    .info-box {
        font-size: 2vw; /* Increase font size for smaller screens */
        padding: 1.5em; /* Increase padding for smaller screens */
    }
    .info-box::after {
        bottom: -2em; /* Adjust position of the arrow */
        border-top-width: 2em; /* Increase size of the arrow */
    }
}