nav {
  background-color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  color: #f5f6fa;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav ul li a:hover, nav ul li a:focus {
  background: #16213e;
  color: #00adb5;
}

nav .logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00adb5;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo {
    width: 60px;
    height: 60px;
}

div {
    padding: 40px;
    border: 2px solid #00adb5;
    border-radius: 8px;
    background-color: #f5f6fa;
    margin: 10px;
}

header{
    background-color: #1a1a2e;
    color: #f5f6fa;
    padding: 20px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a2e;
    color: #f5f6fa;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#MatterStates {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    padding: 20px;
    max-width: fit-content;
    margin: auto;  
}

.states {
    border: black solid 2px;
    padding: 20px;
    margin: 20px;
    width: 200px;
}

.phase-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-top: 10px;
} 

.phase-section {
  border: 2px solid #00adb5;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  background-color: #f5f6fa;
  box-shadow: 0 2px 8px rgba(0, 173, 181, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phase-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 173, 181, 0.25);
}
