/* Basic Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global Styles */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e1e1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;  /* reduced vertical padding */
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header .logo {
  font-size: 1.3em;  /* slightly smaller logo */
  font-weight: bold;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-menu li {
  position: relative;
  margin-left: 15px;
}

.nav-menu li a {
  text-decoration: none;
  color: #e0e0e0;
  transition: color 0.3s;
  padding: 5px 8px;
}

.nav-menu li a:hover {
  color: #4caf50;
}

/* Dropdown Menu Styles */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e1e1e;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  list-style: none;
  min-width: 150px;
  z-index: 1000;
}

.dropdown-content li a {
  display: block;
  padding: 8px 10px;
  color: #e0e0e0;
}

.dropdown-content li a:hover {
  background: #333;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Main Content */
main {
  padding-top: 60px;  /* space for fixed header */
}

.experiment {
  padding: 40px 20px;
  border-bottom: 1px solid #333;
}

.experiment h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Experiment Container */
.experiment-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Iframe Styles */
.experiment-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #1e1e1e;
  margin-top: 40px;
}
