body {
    margin: 0;
    padding: 0;
    font-family: "Jersey 10", "sans-serif";
    font-weight: 400;
    background: url(assets/img/background.webp) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    user-select: none;
    overflow: hidden; 
    -moz-user-select: none; /* Mozilla Firefox */
    -webkit-user-select: none; /* Safari and Chrome */
    -webkit-user-drag: none;
    -webkit-app-region: no-drag;
    cursor: default;
    -ms-user-select: none; /* Internet Explorer/Edge */
    image-rendering: optimizeSpeed;             
    image-rendering: -moz-crisp-edges;         
    image-rendering: -o-crisp-edges;        
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated; 
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

.main-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 75vh;
}

.title {
    font-size: 20vmin;
    margin-bottom: 2vmin;
    color: grey;
    background-image: linear-gradient(to bottom, #e7e7e7, #777777); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* Clip the background to the text */
    color: transparent; /* Set text color to transparent */
    text-shadow: 0.5vmin 0.5vmin 0px rgba(70, 70, 70, 0.6); 
}

.main-title {
    font-size: 40vmin;
    margin-bottom: 2vmin;
    color: rgb(88, 88, 88);
    background-image: linear-gradient(to bottom, #7fd2e7, #7a6433); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* Clip the background to the text */
    color: transparent; /* Set text color to transparent */
    text-shadow: 0.5vmin 0.5vmin 0px rgba(70, 70, 70, 0.6); 
}

.button {
    font-family: "Jersey 10", "sans-serif";
    padding: 0.5vmin 1vmin;
    font-size: 10vmin;
    color: grey;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    background-image: linear-gradient(to bottom, #e7e7e7, #777777); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* Clip the background to the text */
    color: transparent; /* Set text color to transparent */
    text-shadow: 0.25vmin 0.25vmin 0px rgba(70, 70, 70, 0.6); 
}

.button:hover, .button:active {
    transform: scale(1.1);
}

.button.pressed {
    font-size: 7vmin;
    transform: scale(1.15);
    cursor: default;
    opacity: 1;
    background-image: linear-gradient(to bottom, #f0f0f0, #b0b0b0); /* Highlighted gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0.3vmin 0.3vmin 0px rgba(100, 100, 100, 0.8); /* Slightly stronger shadow */
}

.button:disabled {
    pointer-events: none;
    opacity: 1;
}

.subtext {
    font-family: "Jersey 10", "sans-serif";
    font-size: 6vmin;
    color: grey;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    background-image: linear-gradient(to bottom, #e7e7e7, #777777); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* Clip the background to the text */
    color: transparent; /* Set text color to transparent */
    text-shadow: 0.2vmin 0.2vmin 0px rgba(70, 70, 70, 0.6); 
    margin-bottom: 0.5vmin;
}

.play-menu {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center sections vertically */
    padding: 1vmin;
    flex-grow: 1;
}

.left-section, .right-section {
    width: 40%;
    display: flex;
    padding: 10vmin;
    flex-direction: column;
    align-items: center;
}

.menu-section {
    width: 140%;
    text-align: center;
    margin-bottom: 2vmin;
}

.menu-title {
    font-size: 10vmin;
    scale: 1.2;
    margin-bottom: 1vmin;
    color: grey;
    background-image: linear-gradient(to bottom, #a0bee5, #3f5b66);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0.3vmin 0.3vmin 0px rgba(70, 70, 70, 0.6);
}

.button {
    font-family: "Jersey 10", "sans-serif";
    padding: 0.5vmin 1vmin;
    font-size: 6vmin;
    color: grey;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    background-image: linear-gradient(to bottom, #e7e7e7, #777777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0.25vmin 0.25vmin 0px rgba(70, 70, 70, 0.6);
    margin: 0.5vmin;
}

.button:hover, .button:active {
    transform: scale(1.1);
}

.button:active {
    background-image: linear-gradient(to bottom, #a5a5a5, #727272);
}

.back-button {
    font-size: 8vmin;
    margin-top: 2vmin;
}
    
.difficulty-buttons .button {
    font-size: 5vmin;
    margin: 0.5vmin;
}

.footer {
    text-align: center;
    margin-bottom: 10vmin;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.map-option {
    background-size: cover;
    background-position: center;
    min-width: 0;
    cursor: pointer;
    transition: transform 0.2s; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vmin;
    box-sizing: border-box;
}

.map-option:hover {
    transform: scale(1.05);
}

.map-option img {
    width: 18vmin;
    height: 12vmin;
    object-fit: cover;
    border-radius: 1vmin;
}

.map-options-row {
    display: grid;
    gap: 10vmin;
    justify-content: center;
    align-items: flex-start;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1;
    width: 110%;
    padding: 2vmin 0;
}
