@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  padding: 1rem;
  background: linear-gradient(90deg, #8fb3d9, #6fa8dc, #4f93d1, #2f78b7);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.payment-box {
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
  margin: auto;
  border-radius: 1rem;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

button {
  border: solid 1px #3e7db0;
  border-radius: 1rem;
  background: #3e7db0;
  color: white;
  font-weight: 600;
  padding: 0.4rem 2rem;
  font-size: 1rem;
}

input {
  font-size: 1rem;
  border-radius: 1rem;
  padding: 0.4rem 1rem;
  border: solid 1px #3e7db0;
}

.inputs {
  display: flex;
  gap: 1rem;
}

p {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media screen and (max-width: 768px) {
  .inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  p {
    margin: 0 0 10px;
    gap: 1rem;
    line-height: 1.4;
  }

  button {
    padding: 0.6rem 2rem;
  }
}
