html, body {
  height: 100%; 
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  overflow-x: hidden; 
  overflow-y: auto;   
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: right;  
  justify-content: flex-start;  
}

.nav-links {
  display: flex;
  position: static; 
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.hamburger, .close-menu, .header.active .hamburger{
  display: none;
}

h1 {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;  
  color: white;
  text-transform: none;
  padding: 1rem;
}

a.logo-link {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;  
  margin-left: 2.5vw;
  margin-right: 73vw;
}
a.logo-link:hover {
  text-decoration: none;
}

a.about-link {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
}

a.about-link:hover,a:hover  {
  text-decoration: none;
  color: #4169E1;
}

.welcome-container{
  font-family: 'Roboto', sans-serif;
  margin-top: 15vh; 
  max-width: 50%;  
  margin: 0 auto;
  margin-bottom: 1vh; 
}

.welcome-container h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: white;
  padding-top: 5vh;
}

#simulation-container {
  margin: 0;
  padding: 0;
  height: 20vh; 
  width: 100%; 
  display: block;
}

.about-container {
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  max-width: 85%; 
  margin: 0 auto;
  padding: 2rem;  
  padding-bottom: 2.5vh; 
  text-align: left; 
}

.about-container h2 {
  text-align: left;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 2rem;
  padding-top: 0; 
}

.profile-image {
  float: right;
  margin-left: 2rem;
  margin-bottom: 2rem;
  width: 15vw;  
  height: auto;
  max-width: 100%;  
}

footer {
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  color: white;
  background-color: black;
  z-index: 1000;
  margin-top: auto;
}

footer a {
  color: #f8f8f8;
  text-decoration: none;
  margin: 0 1.5rem;
  font-size: 2rem;
}

footer a:hover i {
  color: #4169E1;
}

footer a i.fas.fa-envelope,
footer a i.fab.fa-linkedin {
  color: inherit;
}

@media (max-width: 1000px) {
  .header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative; 
  }

  h1 {
    font-size: 2rem;
  }

  a.logo-link {
    margin-right: 1rem;
  }

  .profile-image {
    width: 30vw; 
    height: auto; 
    margin:0 auto;
    margin-bottom: 0.5rem;
    order: 1; 
    max-width: 100%; 
  }

  #simulation-container {
    margin: 0 auto;
    max-width: 85%; 
    padding: 1rem;
    height: 10vh; 
    display: block;
  }
  
  .welcome-container{
    max-width: 85%;  
  }

  .about-container {
    text-align: left; 
    display: flex;
    flex-direction: column; 
    align-items: left; 
    padding: 1rem; 
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: white; 
    cursor: pointer;
    z-index: 1100;
  }

  .hamburger:hover, .close-menu:hover {
    color: #4169E1; 
  }

  .close-menu {
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: auto;  
    margin-bottom: 1rem; 
    display: block;
  }

  .nav-links {
    display: none;  
    flex-direction: column;
    width: 100%; 
    text-align: center;
    position: absolute; 
    top: 3rem; 
    left: 0; 
    background-color: #333; 
    z-index: 1000; 
    padding: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.75rem 1rem; 
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #444; 
  }

  .header.active .nav-links {
    display: flex;
  }

}





