.result-correct {
  color: green;
}

.result-incorrect {
  color: red;
}

.play-again-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
}

form {
  display: inline-block;
}

label {
  display: inline-block;
  margin: 10px;
}

img {
  width: 200px;
  height: 200px;
  border: 2px solid #ccc;
  border-radius: 5px;
}

input[type="radio"] {
  margin-top: 10px;
}

.submit-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.image-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  justify-items: center;
}

.image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

img {
  width: 200px;
  height: 200px;
  border: 2px solid #ccc;
  border-radius: 5px;
}

input[type="radio"] {
  margin-top: 10px;
}

.submit-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.image-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.image-item {
  position: relative;
  cursor: pointer;
}

.image-item img {
  width: 100%;
  height: auto;
}

.image-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-item:hover::before {
  opacity: 1;
}

.submit-button {
  margin-top: 20px;
}
.btn-group-vertical>.btn-group:after, .btn-group-vertical>.btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .container-fluid:after, .container-fluid:before, .container:after, .container:before, .dl-horizontal dd:after, .dl-horizontal dd:before, .form-horizontal .form-group:after, .form-horizontal .form-group:before, .modal-footer:after, .modal-footer:before, .modal-header:after, .modal-header:before, .nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .panel-body:after, .panel-body:before, .row:after, .row:before {
    display: table;
    content: none;
}

.question {
  font-size: 48px;
  font-weight: bold;
}

.number {
  font-size: 72px;
}

.multiply {
  font-size: 72px;
  margin: 0 10px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#amount
{
  border: 0;
  color: #f6931f;
  font-weight: bold;
  text-align: center;
  font-size: 72px;
  width: 300px;
}

#slider-range{
  margin-bottom: 50px;
}
.buttom_oper{
  color: #f6931f;
  font-weight: bold;
  text-align: center;
  vertical-align: center;
  font-size: 72px;
  background-color: white;

}
.btn-warning{
  font-weight: bold;
  font-size: 50px;
  width: 70px;
  height: 70px;
  text-align: center;
  vertical-align: center;
  line-height: 20px;
  margin-left: 5px;
}

.container0,
.container1 {
    margin-bottom: 20px; /* Додайте відступ між контейнерами */
    border: 1px solid #ddd; /* Додайте рамку для стилізації */
    padding: 10px;
    transition: max-height 0.3s ease-out; /* Анімація сворачування/розгортання */
    overflow: hidden; /* Приховання контенту за межами контейнера */
}

.container0.collapsed,
.container1.collapsed {
    max-height: 0;
}

.res {
	padding: 5px;
}
.ras {
	padding: 5px;
	padding-left: 10px;
}