body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

.center-image {
    max-width: 100%;
    max-height: 500px; /* Max height and width set to 500px */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
}

h1 {
    margin: 20px;
    font-size: 2.5rem;
    color: white; /* Set text color to white */
    text-shadow: 0 0 10px #000, 0 0 20px #000; /* Black glow effect */
}

p {
    font-size: 1.2rem;
    width: 80%; /* Controls the text width */
    margin-bottom: 50px;
    color: white; /* Set text color to white */
    text-shadow: 0 0 5px #000, 0 0 10px #000; /* Black glow effect */
}

.mod-link {
    position: relative;
    text-align: center;
    margin-top: 20px;
    max-width: 600px; /* Maximum width of the container */
    margin-left: auto; /* Centers the container horizontally */
    margin-right: auto;
}

.steam-link:hover {
    background-color: rgba(0, 173, 238, 0.8); /* Lighter blue on hover */
    color: white;
}

.overlay-text a.steam-profile-link {
    color: white; /* Maintains the white text color */
    text-decoration: none; /* Removes underline */
    text-shadow: 0 0 8px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073; /* Neon glow effect */
}

.overlay-text a.steam-profile-link:hover {
    color: #00adee; /* Changes color on hover to Steam blue */
}

.parallax-container {
    position: relative;
    height: auto; /* Allow the container to expand with content */
    background-image: url('DayzTools.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-container, .mod-link {
    text-align: center;
    padding: 20px 0;
}

.mod-banner {
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the banner */
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5em;
    text-shadow: 0 0 8px #fff, 0 0 20px #fff, 0 0 30px #e60073;
}

.steam-link {
    display: block;
    margin: 10px auto;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #00adee;
    text-decoration: none;
    border-radius: 5px;
}
