html {
  height: 100%;
  width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
    color: #333;
}


header {
    background-image: url('image.png');
    background-size: cover;
    color: #fff;
    padding: 70px;
    display: flex;
    text-align: center; /* Center the header content on small screens */
    justify-content: center;
    align-items: center; 

}

.login-btn {
    background-color: #808080;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #555;
}

h1 {
    margin: 0; /* Remove default margin to ensure proper alignment */
}

/* Additional styling for the login button */
.login-container {
    margin-left: 10px; /* Adjust the margin as needed */
}

nav {
    background-color: #555;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    display: inline-block;
}

nav a:hover {
    background-color: #808080;
}


section {
    max-width: 1200px; /* Adjust the value accordingly */
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

button {
    background-color: #333;
    color: #fff;
    padding: 10px 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
}

#home {
    overflow: hidden; /* Clear the float */
}

#home h2 {
    clear: both; /* Clear the float on h2 */
}

#discord-widget {
    float: right; /* Float the Discord widget to the right */
    margin-left: 20px; /* Adjust the margin as needed */
}

#discord-widget iframe {
    width: 270px; /* Adjust the width of the Discord widget */
    height: 500px;
    border: 0;
}


@media only screen and (max-width: 900px) {
  /* Styles for mobile devices */
  body {
    font-size: 14px; /* Adjust the font size for mobile devices */
  }

  header {
    text-align: center; /* Center the header content on small screens */
    justify-content: center;
    align-items: center; 
    font-size: 14;
  }

  #discord-widget iframe {
    display: none;
  }
  
  .login-btn {
    display: none;
  }

  nav a {
      width: 20%; /* Set the width to 50% for two links per line */
      display: inline-block;
      justify-content: center;
      align-items: center; 
  }

  .nav {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust the minmax values as needed */
      grid-gap: 10px; /* Adjust this value as needed */
  }
}
