@font-face {
    font-family: "Cool-Font";
    src: url("Font.ttf");
}

* {
    font-family: "Cool-Font";
}

/* General page styles */
body {
    background-color: #2f2f2f; /* Dark grey background */
    color: white;
    margin: 0;
    padding: 0;
}

/* Ensures the header spans the full width of the screen */
header {
    width: 100%; /* Full width */
    height: 80px; /* Height of the header */
    margin: 0;
    padding: 0; /* Remove padding */
    background-color: #232323; /* Darker background color for the header */
    text-align: center;
    position: fixed; /* Keeps it at the top */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure it's on top of other elements */
    box-shadow: 0 0 3px 10px #232323;
    display: flex;
    align-items: center; /* Center the logo vertically */
    justify-content: center; /* Center the logo horizontally */
}

header .logo {
    color: #c30000; /* Dark red color */
    font-size: 50px;
    text-decoration: none;
}

header .logo:hover {
    color: #8f0000; /* Slightly lighter red on hover */
}

/* Main content area */
main {
    padding: 0 20px 20px; /* Adjusted for reduced space below the fixed header */
    margin-top: 80px; /* This ensures the content doesn't overlap with the header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Player container styles */
#player-container {
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* Fullscreen button styles */
button {
    background-color: red;
    color: white;
    border: 2px solid black;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 10px auto;
}

button:hover {
    background-color: darkred;
}

/* Homepage button styles */
.game-link {
    background-color: red;
    color: white;
    padding: 20px 40px;
    font-size: 24px;
    text-decoration: none;
    border: 2px solid black;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    margin-top: 20px; /* Add margin top to space the buttons properly */
}

/* Game link hover effect */
.game-link:hover {
    background-color: darkred;
}

/* Dynamic grid layout for homepage */
.main-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 80%;
    margin: 0 auto;
}
