body{
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    background: url('https://res.cloudinary.com/dvr0evn7t/image/upload/v1726468868/Screenshot_2024-09-16_144030_yd72td.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100vh;
    margin: 0;
    
}

.container {
  background: #ffff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
}

.controls {
  margin-bottom: 15px;
}

h1 {
  font-size: 24px;
  color: #222;
  font-weight: 700;
  margin-bottom: 15px;
}

.controls label {
    font-size: 12px;
    color: #333;
}

.controls input {
    font-size: 10px;
}

label {
  display: block;
  margin: 10px 0 5px;
}

input {
  width: calc(100% - 22px); 
  padding: 6px; 
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box; 
}

button {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  background-color: #28a745;
  color: white;
  cursor: pointer;
  font-size: 12px;
}

button:hover {
  background-color: #218838;
}

.result {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 12px;
}

#simulationCanvas {
  border: 1px solid #ddd;
  background-color: #eee;
  width: 600px; /* Adjust the width to your preference */
  height: 150px; /* Adjust the height to your preference */
}

#braking-intensity span {
  font-weight: normal; 
}

.show-image-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  font-size: 12px;
}

.show-image-btn:hover {
    background-color: #0056b3;
}

.image-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  border: 2px solid #ddd;
  background-color: white;
  padding: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 100;
  width: 50rem;
  height: auto;
  overflow: hidden;
}

.image-popup img {
  width: 100%; 
  height: auto;
  border-radius: 4px;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  background-color: rgb(64, 64, 64);
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  z-index: 200;
}


  
