body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: url('landing.png') center/cover no-repeat fixed;
  margin: 0;
  padding: 0;
  height: 100vh;
  position: relative;
}

.header-container, .class-info, .login-container, .login1-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: 'Georgia', serif;
}

.header-container {
    top: 5vh;
}

.title {
    padding-top: 10vh;
    font-size: 90px;
    max-width: 90%;
    font-weight: bold;
    color: #ffb81c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    white-space: nowrap;
    -webkit-text-stroke: 2px black;
    margin-bottom: 0;
}

.class-info {
    top: calc(15vh + 100px);
    font-size: 36px;
    color: #ffb81c;
    margin-top: 0;
}

.simulations {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simulation {
  position: relative;
  top: 15vh;
  font-size: 36px;
  font-weight: bold;
  color: #009cde;
  transition: font-size 0.3s ease;
  white-space: nowrap;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  margin: 10px auto;
  cursor: pointer;
}

.simulation:hover, .login-link:hover, .logout-link:hover {
  font-size: 60px;
}

.login-container, .login1-container {
  text-align: center;
}

.login-container {
  bottom: calc(35vh + 20px);
}

.login-container h2, .login1-container h2 {
  font-size: 30px;
  color: #ffb81c;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.login-container label, .login-container a, .login1-container label, .login1-container a, .or {
  font-size: 30px;
  font-weight: bold;
  color: #009cde;
  margin: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.keep-username, .keep-username a {
    font-size: 30px;
    font-weight: bold;
    color: #ffb81c;
    margin: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    text-decoration: none;
}

.login-container input, .login1-container input {
  font-size: 20px;
  font-weight: bold;
  color: #0f0f0f;
  margin: 10px;
}

.login-button, .login-container input[type="submit"] {
  background-color: #009cde;
  color: white;
  border: none;
  font-size: 15px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login1-container input[type="submit"]:hover {
  background-color: #007aa3;
}

.login-container .error-message, .login1-container .error-message {
  color: red;
  font-size: 18px;
}

.login-link, .logout-link, .back-link{
  font-size: 36px;
  font-weight: bold;
  color: #009cde;
  text-align: center;
  margin: 30px auto;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  cursor: pointer;
  position: absolute;
  bottom: 70px;  /* Or use a percentage like 2% to move it up */
  left: 50%;
  transform: translateX(-50%);
}

.login-link a, .logout-link a {
  text-decoration: none;
  color: inherit;
}

.login1-container {
  bottom: calc(25vh + 20px);
}

.links-container {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;  /* This will ensure vertical alignment */
    width: 80%;
    line-height: 1.2;  /* Adjust if necessary */
}

.about-link, .description-link {
    font-size: 30px;
    color: #ffb81c;  /* Gold color */
    margin: 0;  /* Reset any margins */
    padding: 0;  /* Reset any paddings */
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    text-align: center;
}

.back-link {
    font-size: 30px;
    color: #009cde;  /* Blue color */
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    text-align: center;
}

.back-link a {
    display: inline-block; /* Ensures it behaves like the other links */
}


.container {
    max-width: 800px;
    margin: 10px auto; /* keep this as is since it already has a 20px top and bottom margin */
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    font-size: 15px;
}

.header-container {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 250;
    background-size: cover;
    top: 10px;
}

.header-title {
    text-align: center;
    margin: 10px;
    font-size: 90px;
    font-weight: bold;
    color: #ffb81c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    transition: font-size 0.3s ease;
    white-space: nowrap;
    font-family: 'Georgia', serif;
    -webkit-text-stroke: 2px black;
    text-stroke: 2px black;
}


.header-container h1 {
    font-family: 'Futura', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-container h2 {
    font-family: 'Futura', sans-serif;
    font-size: 2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #000000;
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

h2 {
    color: #1a237e;
    font-size: 28px;
    text-align: center;
}

h3 {
    color: #1a237e;
    font-size: 20px;
    text-align: center;
}

.description-title {
    font-size: 50px;
    font-weight: bold;
    color: #ffb81c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.about-title {
    font-size: 50px;
    font-weight: bold;
    color: #ffb81c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}
.blue-button {
    background-color: #003da5;
    color: white;
    border: none;
    padding: 10px 14px;
    text-align: center;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 150px;
}
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.go-back-container {
    position: fixed;
    bottom: 20px; /* Adjust this to move it further up or down */
    width: 100%;
    text-align: center;
}

.go-back-container button {
    padding: 10px 20px; /* Adjust for padding */
    font-size: 16px; /* Adjust for font size */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    background-color: #333; /* Adjust for desired background color */
    color: #fff; /* Adjust for desired text color */
}

.game-categories {
    display: flex;
    flex-direction: column;
    align-items: center; /* This will center its children horizontally */
    justify-content: center; /* This will center its children vertically */
    position: absolute;
    top: 50%; /* Adjusted from 50% to 40% to move it up */
    left: 50%;
    transform: translate(-50%, -50%); /* This will center the container on the screen */
}

.game-category {
    font-size: 42px;  /* Slightly larger than simulations for prominence */
    font-weight: bold;
    color: #009cde;  /* Can keep the color consistent or change it */
    margin: 20px auto;
    cursor: pointer;
    transition: font-size 0.3s ease;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

.game-category:hover {
    font-size: 50px;  /* A larger hover effect */
}


@media only screen and (max-width: 768px) {
  .header-container {
    top: 2vh;
  }

  .simulations {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 15vh; /* half of the viewport height */
}

  .simulation {
    font-size: 24px;
    margin: 10px auto;
  }

  .title {
    font-size: 40px;
    padding-top: 7vh;
    white-space: normal;
    width: 90%;
    -webkit-text-stroke: 0;
    text-align: center;
  }

  .login-container h2 {
    font-size: 20px;
    padding-top: 15px;
  }

  .login-container label, .login-container a, .login1-container label, .login1-container a, .or, .keep-username, .keep-username a {
    font-size: 15px;
  }

  .login-container input {
    font-size: 14px;
  }

  .login-link, .logout-link, .back-link {
    font-size: 24px;
    margin: 20px auto;
    bottom: 20%;
  }

  .class-info {
    top: calc(15vh + 60px);
    font-size: 24px;
  }
  .description-title {
    text-align: center;
    margin: 5px; /* Reduced margin */
    font-size: 36px;
    font-weight: bold;
    color: #ffb81c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    transition: font-size 0.3s ease;
    white-space: nowrap;
    font-family: 'Georgia', serif;
    -webkit-text-stroke: 1px black;
    text-stroke: 1px black;
  }

  .about-title {
    text-align: center;
    margin: 5px; /* Reduced margin */
    font-size: 36px;
    font-weight: bold;
    color: #ffb81c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    transition: font-size 0.3s ease;
    white-space: nowrap;
    font-family: 'Georgia', serif;
    -webkit-text-stroke: 1px black;
    text-stroke: 1px black;
    }

  .links-container {
      display: flex;
      justify-content: space-around; /* Changes here to better manage space */
      align-items: center; /* Centers items vertically */
      width: 100%;  /* Changes here to take full width */
}


.about-link {
  font-size: 24px;
  font-width: bold;
  color: #009cde;
  text-decoration: none;
  grid-row: 1 / 3;  /* Spans from row 1 to row 3 */
    -webkit-text-stroke: 0.2px black;
    margin-right: 40px;
    text-align: center;
}

.description-link {
  font-size: 24px;
  font-width: bold;
  color: #009cde;
  text-decoration: none;
  grid-row: 3 / 5;  /* Spans from row 3 to row 5 */
    margin-left: 70px;
        -webkit-text-stroke: 0.2px black;
    text-align: center;
}


  .login-link, .logout-link {
    font-size: 28px;
    font-weight: bold;
    color: #009cde;
    text-align: center;
    margin: 10px auto;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
    cursor: pointer;
    position: absolute;
    bottom: 150px;  /* Or use a percentage like 2% to move it up */
    left: 50%;
    transform: translateX(-50%);
  }

    .blue-button {
    background-color: #003da5;
    color: white;
    border: none;
    padding: 4px 8px;
    text-align: center;
    display: inline-block;
    font-size: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 150px;
}
  .container {
        max-width: 100%;  /* Full width */
        margin: 10px auto;  /* Smaller margin */
        padding: 10px;  /* Smaller padding */
        font-size: 10px;
}
  .game-category {
        font-size: 28px;
        margin: 10px auto;
        text-align: center; /* Ensure the text is centered */
    }

  .game-categories {
        top: 50%; /* Adjusted from 40% to 30% to move it further up */
    }

}

