*,
*::before,
*::after {
  box-sizing: border-box;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  border: none;
  background-color: transparent;
}

body {
  background-color: #ffffff;
  font-family: "Ubuntu", sans-serif;
  height: 100%;
  overflow: hidden;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-area * + * {
  margin-left: 0.5rem;
}

.logo {
  width: 1.5rem;
  height: 1.5rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
}

main {
  padding: 1rem;
  margin: 1.3rem;
  border-radius: 1rem;
  border: 1px solid #ededed;
  background-color: #f9f7f7;

  height: calc(100vh - 5rem);
  height: calc(100svh - 5rem);
  overflow-y: auto;
  display: grid;
  position: relative;
}

.main-info {
  display: grid;
  place-self: center;
  width: 40rem;
}

.footer {
  display: grid;
  place-self: center;
  width: 40rem;
  background-color: #ffffff;
  border: 1px solid #ededed;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.footer p {
  text-align: center;
}

.bottom-action {
  position: -webkit-sticky;
  position: sticky;
  padding: 0.5rem;
  bottom: 0;
}

#lucaNetValue:not(:empty) {
  background-color: #ffffff;
  border: 1px solid #ededed;
  border-radius: 0.5rem;
  padding: 1rem;
}

#status:not(:empty) {
  background-color: #f9d546;
  border: 1px solid #ffdd55;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

button {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: #1f2937;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-align: center;
  color: #1d4ed8;
  background-color: #ffffff;
  border: 1px solid #1d4ed8;
  cursor: pointer;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

button:hover {
  color: #ffffff;
  background-color: #1d4ed8;
}

select {
  padding: 0.375rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

/* breakpoint for small screens*/
@media (max-width: 640px) {
  main {
    margin: 0;
    height: calc(100vh - 5rem);
    height: calc(100svh - 5rem);
  }

  .main-info {
    width: 100%;
  }

  header {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-bottom: 1rem;
  }

  header > * + * {
    margin-top: 0.825rem;
  }

  .bottom-action {
    bottom: 2rem;
  }
}
