/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


body, html {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-top: 0px;
    height: 100%;
    background-image: url('/background.png');
    background-size: cover; /* Ensures the background covers the whole page */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Optional: if you want the background to stay fixed during scroll */
    color: #ffffff; /* This is white, adjust as needed for readability */
}
/* Improve readability of text over the background */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Adding shadow to text for better readability */
}

header {
    position: relative;
    background: rgba(0, 0, 0, 0); /* Dark grey background */
    color: #fff; /* White text */
    padding: 1em 0;
    text-align: center;
    height: 60px;
    z-index: 10;
}
header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 2.5rem; /* Adjust size as needed */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Optional text shadow for readability */
    z-index: 2; /* Ensures it's above the background image */
}
header nav {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 10px;
    display: flex;
}

header nav ul li {
    margin-left: 40px; /* Adds spacing between the links */
}


header nav ul li a {
    color: #fff;
    text-decoration: none;
}
#server-ip-container h2, 
#server-ip-container #server-ip {
    display: inline; /* Makes the elements inline */
    margin-right: 5px; /* Adds some space between the label and the IP address */
}

#server-info, #wipe-info {
    text-align: center;
    margin: 2%;
}
#wipe-info{
    color:#ffffff;
}
#server-ip {
    color: #000; /* Black text color */
    font-weight: bold;
    
}


#countdown-timer {
    font-size: 1.5rem; /* Example font size */
    color: #fff; /* Example text color */
    /* Add more styling as needed */
}
#live-map {
    position: fixed;
    bottom: 70px; /* Distance from the bottom */
    right: 130px; /* Distance from the right */
    width: 200px; /* Adjust based on your preference */
    height: 200px; /* Adjust based on your preference */
    z-index: 100; /* Ensures it appears above other content */
    border: none; /* Optional: Removes the border */
    max-width: 100%; /* Ensure the map is responsive */
    color: #ffffff; /* Example: Change the link color */
    
    font-weight: bold; /* Optional: Make the link text bold */
    margin-top: 20px;
}
 
#live-map:hover {
    color: #0056b3; /* Darker shade of blue on hover */
    text-decoration: none; /* Remove underline on hover for a different effect */
}



.image-container {
    width: 300px; /* Desired width */
    height: 200px; /* Desired height */
    overflow: hidden; /* Hides any part of the image that exceeds this area */
    display: flex; /* Centers the image within the container */
    justify-content: center;
    align-items: center;
}

.image-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#server-features {
    text-align: left;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for readability */
    color: #ffffff; /* White text color */
    padding: 10px;
    border-radius: 10px; /* Rounded corners */
    max-width: 600px; /* Maximum width of the features box */
    margin: 20px auto; /* Centering the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Soft box shadow for depth */
    font-family: 'Roboto', sans-serif; /* Consistent font */
}

#server-features h2 {
    text-align: center;
    margin-bottom: 20px;
}

#server-features ul {
    list-style-type: none; /* Removes default list bullets */
    padding: 0;
    text-align: left;
}

#server-features ul li {
    text-align: left;
    background: rgba(255, 255, 255, 0.1); /* Slight highlight for each feature */
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px; /* Rounded corners for list items */
    
}


/* Styling the button to make it modern and appealing */
button {
    background-color: #ffcc00; /* A bright color for contrast, adjust as needed */
    color: #000000; /* Dark text color for the button */
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Subtle shadow for depth */
    border: 1px solid rgba(255,255,255,0.2); /* Subtle border for more definition */
}


button:hover {
    background-color: #e6b800; /* Darker shade when hovered for interactive feel */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* More pronounced shadow on hover */
}


button:active {
    transform: scale(0.95); /* Slightly decrease size when clicked */
}
button:focus {
    outline: none; /* Removes the default focus outline */
    box-shadow: 0 0 0 2px #ff0; /* Adds a custom focus style */
}


footer {
    /*background-color: #333;
    color: #fff;*/
    text-align: center;
    padding: 1em 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}
/* Base styles - applied to all devices as you've already done */

/* Tablet */
@media screen and (min-width: 600px) and (max-width: 1024px) {
    header nav ul li {
        margin: 0 0.5em;
    }

    button {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* Additional tablet-specific styles */
}

/* Mobile Phones */
@media screen and (max-width: 599px) {
    header {
        padding: 0.5em 0;
    }

    header nav ul li {
        display: block;
        margin: 0.5em 0;
    }

    button {
        padding: 5px 10px;
        font-size: 12px;
    }

    /* Additional mobile-specific styles */
}
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem; /* Smaller text on mobile devices */
    }
}
@media (max-width: 768px) {
    #countdown-timer {
        font-size: 1rem; /* Smaller font for mobile devices */
    }
}
@media (max-width: 768px) {
    #live-map {
        width: 150px; /* Smaller on mobile devices */
        height: 150px; /* Smaller on mobile devices */
        bottom: 5px;
        right: 5px;
    }
}
@media (max-width: 768px) {
    #server-features {
        max-width: 90%; /* More width for smaller screens */
        margin: 10px auto;
    }
}
