/* General styles */
body {
    margin: 0;
    font-family: 'Jockey One', sans-serif; /* Apply Jockey One font */
    background-color: #D9D9D9; /* Main background color */
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes up the full height of the viewport */
}

header, main {
    flex: 1; /* Allow header and main to take up the remaining space */
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000; /* Top nav bar black */
    position: relative;
    z-index: 10; /* Ensure the header is on top */
}

.logo {
    position: relative;
    display: flex;
    align-items: flex-end; /* Align the logo with the bottom of the header */
}

.logo img {
    height: 100px; /* Adjusted height if needed */
}

.icons {
    display: flex;
    gap: 10px;
}

.icons button {
    background-color: #fff;
    border-radius: 50%;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 60%; /* Adjust the size percentage to make the icon smaller */
    background-repeat: no-repeat;
    background-position: center;
}

.download-button {
    background-image: url('./ui/frame_download_ico.png'); /* Replace with the actual path to your icon */
}

.account-button {
    background-color: #fff;
    border-radius: 50%;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover; /* Adjust this if the profile picture needs to fit the button */
}

#accountButton.logged-in {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-indent: -9999px; /* Hide text when logged in */
}

/* Main Content */
.main-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px 20px;
    background-color: #FFFFFF; /* Word document-like background */
    margin: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.youtube-video iframe {
    width: 600px;
    height: 400px;
}

.game-description {
    max-width: 400px;
}

.play-now-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 15px; /* Rounded corners */
    font-size: 1.2rem; /* Adjusted font size */
    font-family: 'Jockey One', sans-serif; /* Apply Jockey One font specifically if needed */
}

/* Songs Section */
.songs {
    padding: 50px 20px;
    text-align: center;
    background-color: #FFFFFF; /* Word document-like background */
    margin: 20px auto; /* Center the section */
    max-width: 800px; /* Set a maximum width for the section */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.songs h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.discord-widget iframe {
    width: 100%; /* Let the iframe fill the container */
    max-width: 600px; /* Set a maximum width for the iframe */
    height: 500px; /* Keep the height fixed as you mentioned */
    margin: 0 auto; /* Center the iframe */
    display: block; /* Ensure it's treated as a block-level element */
}

/* Footer */
footer {
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
    margin-top: auto; /* Push the footer to the bottom */
}

.leaderboard {
    margin-top: 50px;
    text-align: center;
}

.leaderboard h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.leaderboard .leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.leaderboard .leaderboard-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.leaderboard .leaderboard-item .leaderboard-name {
    font-size: 1.2rem;
    flex-grow: 1;
    margin-left: 20px;
    text-align: left;
}

.leaderboard .leaderboard-item .leaderboard-level {
    font-size: 1.2rem;
    color: #333;
}

