@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* font-family: 'Nunito', sans-serif;
    font-size: 20px; */
  color: #fff;
}

body {
  min-height: 100vh;
  /* background-color: dodgerblue; */
}

/* .App {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem 0.5rem;
} */

section {
  width: 100%;
  max-width: 420px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-shadow: 10px 10px 5px rgb(176, 176, 176);
}

form {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  flex-grow: 1;
  padding-bottom: 1rem;
}

a,
a:visited {
  color: blue;
  padding-left: 0.5rem;
}

/* input[type="text"],
input[type="password"],
button,
textarea {
  font-size: 18px;
  padding: 0.25rem;
  border-radius: 0.5rem;
} */

label,
button {
  margin-top: 1rem;
}

button {
  padding: 0.5rem;
}

.instructions {
  font-size: 0.75rem;
  border-radius: 0.3rem;
  background: #000;
  color: #fff;
  padding: 0.25rem;
  position: relative;
  bottom: -10px;
}

.instructions > svg {
  margin-right: 0.25rem;
}

.offscreen {
  position: absolute;
  left: -9999px;
}

.hide {
  display: none;
}

.valid {
  color: limegreen;
  margin-left: 0.25rem;
}

.invalid {
  color: red;
  margin-left: 0.25rem;
}

.errmsg {
  background-color: lightpink;
  color: firebrick;
  font-weight: bold;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}

.line {
  display: inline-block;
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.print-preview-button {
  @media print {
    display: none;
  }
}

.table-header {
  @media print {
    display: none;
  }
}

.print-component {
  /* display: none; */
  width: 100%;
  @media print {
    display: table;
    .table-footer > tr > td {
      text-align: center;
      background-color: grey;
      color: white;
    }
  }
}
