@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

* {
  margin: 0;
  padding: 0;
}
body {
  background-color: #c827fb;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  position: relative;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.7);
  transform-style: preserve-3d;
  transition: 0.1s;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 430px;
  color: #ffee04;
  padding: 20px;
  font-family: "Roboto", sans-serif;
  height: auto;
}
.box {
  display: flex;
  justify-content: space-between;
  text-align: center;
  background: rgb(252, 45, 45);
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 50px;
  border: 1px solid black;
}
.box #date {
  height: 3rem;
  background: #fff;
  color: #000;
  font-weight: 500;
  border-radius: 0.4rem;
  width: 50%;
  padding: 0 1.5rem;
  font-size: 1rem;
  border: 1px solid black;
}

h1 {
  margin-bottom: 20px;
  font-size: 29px;
}
.Converter {
  padding: 10px 20px;
  background-color: white;
  border-radius: 5px;
  cursor: pointer;
  height: 3rem;
  font-family: sans-serif;
  font-weight: bold;
  margin-inline: 8px;
  border: 1px solid black;
  font-size: 12px;
}

button:hover {
  transition: 0.5s;
  background: rgb(253, 253, 0);
}

#result {
  margin-top: 20px;
  font-size: 18px;
  color: white;
  text-transform: capitalize;
}

@media (max-width: 838px) {
  .container {
    flex-direction: column;
    width: 363px;
  }
  input {
    width: 94%;
  }
}
