*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 2rem;
  background-image: url("homePage.jpg");
  color: #eee;
  font-family: 'Segoe UI', sans-serif;
  background-size: cover;               
  background-position: center;           
  background-repeat: no-repeat;
  position: relative;
  font-family: monospace, serif;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.7; 
  z-index: -1;  
}


h1 {
  text-align: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 45px;
  font-family: monospace, serif;
}

canvas {
  display: block;
  margin: 0 auto 1rem;
  background-color: #1e1e1e;
  border: 1px solid #444;
  border-radius: 12px;
}

.controls {
  text-align: center;
  margin-bottom: 1rem;
}

select {
  padding: 0.5rem;
  border-radius: 5px;
  border: none;
  background: #333;
  color: white;
}

#stats {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  color: #ccc;
}

#physics-info {
  max-width: 800px;
  margin: 2rem auto;
  background-color: #1f1f1f;
  padding: 1.5rem;
  border-radius: 10px;
  line-height: 1.6;
}

#physics-info h2 {
  color: #ffca28;
  margin-bottom: 1rem;
}
.paper{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.docFrame{
  margin-top: 10px;
  border-radius: 10px;
  width: 55%;
  height: 80vh;
}
.card{
  border: 3px solid #000000;
  width: 250px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin : 20px 20px;
  text-align: center;
  background-color: rgb(224, 224, 224);
  font-size: 20px;
  z-index: 100;
  position: relative;
  color : white;

}
.cards{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: white;
  border-radius: 10px;
  opacity: 0.75;
}

a{
  text-decoration: none;
}
.card:hover{
  background-color: #4fc3f7;
  box-shadow: 1px 1px 1px 1px rgb(0, 0, 0);
  transform: scale(1.05);
  transition: 0.5s ease;
}
span{
  margin: 20px 0;
  font-size: 20px;
  background-color: white;
  color : black;
  border-radius: 20px;
  padding : 10px;
}