.title { 
  color: black; 
  text-align: center; 
  opacity: 50; 
  font-weight: bold; 
  font-size: 30px; 
  font-family: 'cambria'; 
}
.music-control {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: beige;
  border: 2px solid darkred;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}
.music-control:hover {
  transform: scale(1.1);
  background-color: darkred;
}

div { 
  border: double; 
  display: inline-block; 
  text-align: center; 
  padding: 5px 5px; 
  font-family: 'georgia'; 
} 

button{ 
  background-color: #ffffff; 
  font-family: 'georgia'; 
transition: all 0.2s ease;
  cursor: pointer;
}
button:hover {
  background-color: #af4c4c;
  color: white;
  transform: scale(1.1);
}

button:active {
  background-color: #8045a0;
  transform: scale(0.95);
}

body::before { 
  content: ""; 
  position: fixed; /* Changed from absolute to fixed */
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: url("maths.jpg") no-repeat center/cover; 
  opacity: 0.3; 
  z-index: -10; 
} 

html, body { 
  height: 100%; 
  margin: 0; 
  text-align: center; 
} 

video { 
  display: block;
  margin: 0 auto; 
  width: 60%; 
  border-radius: 20px; 
}
.credits {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1px 0;
    text-align: center;
    font-family: 'georgia';
    font-size: 14px;
    color: #2d3436;
    z-index: 50;
    border-top: 2px solid darkred;
}

.credits p {
    margin: 5px 0;
    font-size: 14px;
}