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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom, #aaaaaa, #eeeeee);

  display: flex;
  flex-direction: row;
  gap: 10rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1200px) {
  body {
    flex-direction: column;
    height: auto;
    padding: 2rem 0;
    gap: 2rem;
  }

  @media (max-width: 768px) {
  .box1 {
    transform: scale(0.65);
    height: 500px;
  }
}

  @media (max-width: 400px) {
  .box1 {
    transform: scale(0.55);
    height: 500px;
  }
}
}

#spin_the_wheel {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.result {
  max-width: 600px;
  text-align: center;
}

.box2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

#wheel {
  display: block;
}

#spin {
  font-family: 'Poppins';
  font-size: 30px;
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: #fff;
  color: #fff;
  box-shadow:
    0 0 0 8px currentColor,
    0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;
}

#spin::after {
  content: "";
  position: absolute;
  top: -20px;
  border: 20px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

textarea {
    font-family: 'Poppins';
    height: 320px;
    width: 350px;
    font-size: large;
    padding: 10px;
    border-radius: 10px;
    outline: black solid 1px;
    resize: none;
}

button {
  font-family: 'Poppins';
  width: 150px;
  font-size: 14px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #009578;
  color: white;
}

p {
  font-family: 'Poppins';
  font-size: 30px;
}