@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500&family=Poppins:wght@400;500;600;700&family=Roboto+Slab&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(
    128deg,
    rgba(4, 4, 201, 1) 0%,
    rgba(192, 0, 255, 1) 100%
  );
  min-height: 100vh;
  display: flex;
  justify-content: center;
  font-family: "Poppins", sans-serif;
}

.container {
  padding: 25px;
  background: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: fit-content;
  border-radius: 5px;
  width: min(90vw, 800px);
  /* min-width: fit-content; */
  margin: 25px auto;
}

header {
  font-size: 4rem;
}

.input {
  margin: 25px auto;
  font-size: 1.5rem;
  text-align: right;
}

.output {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
  word-break: break-all;
  text-align: right;
}

button {
  font-size: 1.5rem;
  background: transparent;
  outline: none;
  cursor: pointer;
  border: 1px solid black;
  padding: 2px;
  border-radius: 3px;
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-family: "Open Sans", sans-serif;
  color: #f5f5f5;
  background-color: black;
  padding: 10px 0px;
  font-size: min(2vw, 15px);
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 60%;
  }
}

@media only screen and (max-width: 400px) {
  html {
    font-size: 40%;
  }
}

@media only screen and (max-width: 300px) {
  html {
    font-size: 20%;
  }
}
