* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: black;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 0px 100px;
  height: 140px;
}

.container .box-red {
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;
  background-color: red;
  color: white;
}

.container .box-green {
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;
  background-color: green;
  color: white;
}

.container .box-blue {
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;
  background-color: #0000ff;
  color: white;
}

.container .box-red h3 {
  font-size: 26px;
}
.container .box-green h3 {
  font-size: 26px;
}
.container .box-blue h3 {
  font-size: 26px;
}

.container .box-red h2 {
  font-size: 30px;
}
.container .box-green h2 {
  font-size: 30px;
}
.container .box-blue h2 {
  font-size: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form {
  margin-top: 50px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  gap: 10px;
  padding: 10px;
  background-color: #20a3d6;
  border-radius: 10px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

form label {
  font-size: 24px;
  font-weight: bold;
  line-height: 30px;
}

form label input {
  font-size: 20px;
  width: 100%;
  padding: 4px 8px;
  border: none;
  outline: none;
  border-radius: 5px;
  height: 40px;
}

.card form .buy {
  background-color: red;
  color: white;
  font-size: 22px;
  font-weight: bold;
  border: none;
  outline: none;
  padding: 7px;
  margin: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.6s ease-in-out;
}

.card form .buy:hover {
  background-color: rgb(246, 153, 153);
  color: red;
  transform: translateY(-5px);
}

.card form .sell {
  background-color: green;
  color: white;
  font-size: 22px;
  font-weight: bold;
  border: none;
  outline: none;
  padding: 7px;
  margin: 0px 10px 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.6s ease-in-out;
}

.card form .sell:hover {
  background-color: rgb(118, 227, 118);
  color: green;
  transform: translateY(-5px);
}
.result {
  border: 1px solid transparent;
  width: 200px;
  background-color: aqua;
}
.history-card {
  margin-top: 20px;
  width: 400px;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.history-card h3 {
  text-align: center;
  margin-bottom: 10px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  margin: 5px 0;
  border-radius: 5px;
  font-weight: bold;
}

.buy {
  background-color: #ffe5e5;
  color: red;
  font-size: 20px;
  font-weight: bold;
}

.sell {
  background-color: #e5ffe5;
  color: green;
  font-size: 20px;
}
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 22px;
  font-weight: bold;
}

.delete-btn {
  color: #ff4d4d;
  cursor: pointer;
  margin-left: 10px;
  transition: transform 0.2s;
}

.delete-btn:hover {
  transform: scale(1.2);
}
