@font-face {
    font-family: 'IsaacGame';
    src: url('media/IsaacGame.ttf') format('truetype');
}

body {
    background-color: #181A18;
    font-family: Arial, sans-serif;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: pixelated; /* Chrome, Edge, and modern browsers */
}

h1 {
    color: #fafafa;
    text-align: center;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: pixelated; /* Chrome, Edge, and modern browsers */
}

p {
    color: #b9b8b8;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

button {
    background-color: #245a15;
    color: white;
    padding: 150px 150px;
    border: 2px solid #357d38;
    border-radius: 5px;
    font-size: 16px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35vh;
}

#startimage-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0vh;
    box-sizing: border-box; /* Prevents padding from breaking layout */
}

#startimage-container img {
    width: 35vw !important;
    height: auto !important;
    max-width: none;
    max-height: none;
    margin-top: 160px;
}

.hidden-content {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0);
}

.fade-element {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-element.is-visible {
    opacity: 1;
}
