body {
  margin: 0;
  color: #eee;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background-image: url("homePage.jpg");
  background-size: cover;                
  background-position: center;           
  background-repeat: no-repeat;
  position: relative;
}
body::before {
  content: "";
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.7; 
  z-index: -1;  
}
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #80d6ff;
}
.Pane{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}
.leftPane{
    margin: 0 40px;
    border: 1px solid white;
    padding: 10px;
    border-radius: 10px;
}
#stats{
    margin : 50px 0px;
    padding: 10px;
    color : lightgreen;
    text-align: center;
}
canvas {
  border: 2px solid #333;
  border-radius: 10px;
  background: black;
  max-width: 100%;
  margin: 1rem 0;
  box-shadow: 0 0 10px #00ffc84d;
}
.controls {
  background: #1e1e2f;
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.controls label {
  font-weight: 600;
}

select {
  padding: 0.5rem;
  border-radius: 6px;
  border: none;
  background: #292942;
  color: #fff;
  font-size: 1rem;
}

#themeToggle {
  background: #f9d342;
  border: none;
  color: #000;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}
#themeToggle:hover {
  transform: scale(1.05);
}
#stats-box {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(30,30,48,0.8);
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
}
#physics-info {
  background: #181a25;
  padding: 1rem 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  max-width: 800px;
  width: 100%;
  line-height: 1.6;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  animation: fadeInUp 0.6s forwards;
}

#physics-info summary {
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  color: #80d6ff;
  padding: 0.5rem 0;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.light-mode {
  background: #f2f2f2;
  color: #111;
}
.light-mode #physics-info {
  background: #ffffff;
  color: #000;
}
.light-mode select,
.light-mode .controls {
  background: #e1e1e1;
  color: #000;
}
.light-mode #themeToggle {
  background: #292942;
  color: #fff;
}











#physics-details {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #1e1e1e;
  color: #e6e6e6;
  border-radius: 12px;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.08);
}

#physics-details h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00ffc3;
}

.columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.column {
  flex: 1 1 45%;
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.03);
}

.column h3 {
  color: #ffffff;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5rem;
}

.column h4 {
  margin-top: 1rem;
  color: #ffd700;
}

.column code {
  background-color: #111;
  color: #0ff;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
  display: inline-block;
  margin: 0.3em 0;
}

.constants {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: #292929;
  border-radius: 8px;
}

.constants h3 {
  color: #00f7ff;
  margin-bottom: 1rem;
}

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

.constants li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.constants code {
  background-color: #111;
  color: #0ff;
  padding: 0.15em 0.4em;
  border-radius: 4px;
}
