@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500&family=Space+Mono:wght@400;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

header {
  font-size: 4em;
  text-align: center;
  font-weight: 900;
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
}

output {
  display: block;
  font-family: monospace;
  font-size: 0.4em;
  width: fit-content;
  margin: 12px auto;
}

form {
  padding: 12px;
  background-color: #47adf1;
  color: black;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 15px auto;
}

input[type="file"]::file-selector-button {
  outline: none;
  font-family: inherit;
  font-size: 1em;
  padding: 0.2em 0.4em;
  border-radius: 5px;
  border: 1px solid black;
  background-color: white;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
  background-color: #f3f3f3;
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  color: #f5f5f5;
  background-color: black;
  padding: 10px 0px;
  font-size: min(2vw, 15px);
  width: 100%;
  bottom: 0;
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 70%;
  }
}

@media only screen and (max-width: 400px) {
  html {
    font-size: 50%;
  }
  output {
    font-size: 4px;
  }
}
