/* Reset default styles */
* {
    padding: 0;
    margin: 0;
    font-family: "Arsenal SC", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* For larger screens */
main {
    padding-top: 80px; /* Adjust this to fit the desktop layout */
}

.arsenal-sc-regular {
    font-family: "Arsenal SC", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html, body {
    background-color: #333333; /* Updated background color */
    color: #c69832; /* Updated font color */
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Header styling */
header {
    padding: 0;
    margin: 0;
    text-align: center;
    padding-top: 10px; /* General spacing to avoid hidden content */
}

h1 {
  padding: 10px;
  margin: 10px;
}

/* Logo container */
.logo {
    margin: 80px 0 10px 0; /* Added margin-top to push it below the nav */
    padding: 20px 0 1px 0; /* Optional: Slight padding to prevent the image from being too close to the top */
}

/* Logo image */
.logo img {
    width: 25%;
    max-width: 100%; /* Ensures the logo scales well on smaller devices */
    display: block;
    margin: 0 auto; /* Centers the logo */
}

/* Navigation bar */
nav {
    padding: 20px;
    background-color: #333333;
    position: fixed;
    right: 0;
    left: 0;
    width: 90%;
    margin: 0 auto; /* Centers the nav bar horizontally */
    top: 0; /* Ensures the nav is at the top */
    z-index: 1000; /* Keeps the nav above other content */
  }

nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    color: #c69832;
    text-decoration: none;
    font-size: 1.2em;
}

nav ul li a:hover {
    text-decoration: underline;
    color: #780606;
}

/* Basic styles for displaying the stats */
.stats {
  font-family: Arial, sans-serif;
  margin: 20px;
}
.stats p {
  font-size: 18px;
  margin: 10px 0;
}

.marquee {
    width: 100%; /* Full width */
    overflow: hidden; /* Hide the overflow */
    white-space: nowrap; /* Prevent line breaks */
    box-sizing: border-box;
}

.marquee span {
    display: inline-block;
    padding-left: 100%; /* Start the animation off-screen */
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.aboutbody {
    color: white;
    text-align: center;
    width: 75%;
    max-width: 100%;
    margin: auto;
    padding: auto;

    /* display: contents; */
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #444;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%; /* Positioned directly below the dropdown button */
    left: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #555;
}

/* Show the dropdown content when the user hovers over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 10px 30px; /* Increased padding for a larger button */
    margin: 10px; /* Margin between buttons */
    font-size: 1.2em;
    color: #c69832; /* Button text color */
    background-color: transparent; /* Transparent background */
    border: 2px solid #c69832; /* Border matching the text color */
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Add some padding and margin between the buttons and other elements */
.button-container {
    top: 0;
    margin: 5px auto; /* Adds margin to the container (space between buttons and other elements) */
    text-align: center; /* Center the buttons in the container */
    flex: 1 1 300px;
    align-self: flex-start; /* Forces the column content to start at the top */
    padding: auto;
}

.button:hover {
    background-color: #c69832; /* Button hover background color */
    color: #54595f; /* Text color when hovering */
}

/* Game image */
.splash {
    float: none; /* Removed 'center', unnecessary */
    margin: 10px;
    padding: 10px;
    width: 60%;
    max-width: 100%; /* Adjust to desired size */
    height: auto; /* Maintains aspect ratio */
}
.splash2 {
    float: none; /* Removed 'center', unnecessary */
    margin: 10px;
    padding: 10px;
    width: 25%;
    max-width: 100%; /* Adjust to desired size */
    height: auto; /* Maintains aspect ratio */
}
.game-image {
    top: 0;
    float: none; /* Removed 'center', unnecessary */
    margin: 20px;
    width: 75%;
    max-width: 100%; /* Adjust to desired size */
    height: auto; /* Maintains aspect ratio */
}
.game-image2 {
    top: 0;
    width: 70%;
    max-width: 100%; /* Adjust to desired size */
    height: auto; /* Maintains aspect ratio */
    padding: auto;
}

.stl_image {
    margin: 20px;
    width: 25%;
    max-width: 100%; /* Adjust to desired size */
    height: auto; /* Maintains aspect ratio */
    padding: auto;
}
.mmlogo {
    margin: 20px;
    width: 25%;
    max-width: 100%; /* Adjust to desired size */
    height: auto; /* Maintains aspect ratio */
    margin: auto;
    padding: auto;
}

/* Class for images with a border */
.image-border {
    border: 5px solid #c69832; /* Adjust the thickness and color of the border */
    border-radius: 10px; /* Optional: Adds rounded corners */
    padding: 5px; /* Optional: Adds space between the image and the border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow for extra depth */
}

/* Flexbox for download container */
.downloadcontainer, .row {
    top: 0;
    display: flex;
    justify-content: center; /* Centers the columns horizontally */
    align-items: flex-start; /* Centers the columns vertically */
    flex-wrap: wrap; /* Ensures content wraps on smaller screens */
    text-align: center;
    margin: auto;
    width: 90%; /* Ensures it's not too wide on larger screens */
    max-width: 100%;
}


/* Create three equal columns that sits next to each other */
.column {
  top: 0; /* Ensures the column data is at the top */
  flex: 1 1 300px; /* Responsive flex-grow and base width */
  text-align: center;
  margin: auto;
  padding: auto;
}


/* Create 2 equal columns that sits next to each other */
.column2 {
    flex: 1 1 300px;
    text-align: center;
    align-self: flex-start; /* Forces the column content to start at the top */
    margin: auto;
    padding: auto;
}


.ruleapproach {
      color: white;
      text-align: center;
      width: 35%;
      max-width: 100%;
      margin: auto;
      padding: auto;
}


/* Footer styling */
footer {
    text-align: center;
    padding: 1em 0;
    background-color: #333333;
    color: #c69832;
    width: 100%;
    bottom: 0;
    left: 0;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    main {
        padding-top: 5px; /* Adjust this value based on the height of your navbar */
    }

    header {
    padding-top: 20px; /* Adjust based on the actual height of your nav on smaller screens */
    }

    .downloadcontainer, .row {
        flex-direction: column; /* Stack the items vertically */
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul {
        padding: 10px;
    }

    .button {
        width: 80%;
    }

    .logo img {
        max-width: 50%; /* Adjust for smaller devices */
        padding-top: 20px;
    }
}
