/* Container Styling */
.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 300px;
  padding: 20px;
  background-color: #f4f7fc;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Box Styling */
.box {
  width: 150px;
  height: 150px;
  border: 5px solid #dcdcdc;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 100px;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.box.active {
  border-color: black;
  border-width: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Button Container */
.button-container {
  text-align: center;
  margin-top: 30px;
}

button {
  padding: 10px 50px!important;
  margin: 10px;
  font-size: 20px;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

button:active {
  background-color: #003f7f;
}

/* Results Box */
.results {
  text-align: center;
  margin-top: 30px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* Instructions Box */
.instructions-box {
  max-height: 70px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  padding: 10px;
  background-color: #f1f1f1;
  border-radius: 8px;
  margin: 40px;
}

.instructions-box.expand {
  max-height: 400px;
  padding: 20px;
}

/* Instruction Container */
.v-instruction-container {
  border: 2px solid #97d23d;
  border-radius: 1rem;
  width: 80%;
  margin: 30px auto;
  background-color: #f9f9f9;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Speed Box */
.speed-box {
  border: 2px solid #333;
  color: #333;
  background-color: #000000;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 1em;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  margin: 10px;
}

.speed-box:hover {
  background-color: #97d23d;
  color: white;
  transform: translateY(-3px);
}

.speed-box:active {
  transform: translateY(0);
  background-color: #7bbf2d;
}

/* Collapsible Button Arrow */
.v-collapsible:after {
  content: '\2193'; /* Downward arrow */
  scale: 2.5;
  font-weight: bold;
  color: #ff0000;
  transition: transform 0.3s ease; /* Smooth rotation */
}

.v-collapsible-active:after {
  transform: rotate(180deg); /* Rotate 180 degrees */
}

/* Text Styles */
.para {
  color: #f0f0f0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  word-wrap: break-word;
  line-height: 1.5;
  padding: 10px;
  margin: 0;
}

body {
  margin-bottom: 30px;
}

/* Instruction Text */
#instruction-title {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
}

#result {
  width: 70%;
  height: 50px;
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  line-height: 50px;
  border-radius: 10px;
  font-size: 1.2rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 20px auto;
}

.plus{
  color: red;
  font-size: 2.5rem;
  font-weight: bold;
}
