@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap");

html,
body {
  position: relative;
  width: 100%;
  height: 100%;
}

* {
  font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
  margin: 0;
  margin-bottom: 10px;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

a {
  color: rgb(0, 100, 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

input {
  margin-top: 5px;
  display: block;
  width: 200px;
  height: 20px;
  border: 1px solid #3a6ea6;
  border-radius: 3px;
  padding: 2px 4px;
}

button {
  display: block;
  cursor: pointer;
  font-size: 14px;
  background-color: white;
  border: 1px solid #ff9048;
  padding: 4px 8px;
  border-radius: 3px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #ff9048;
  color: white;
}

header {
  display: flex;
  background-color: #f4f0ec;
  padding: 1rem;
  align-items: center;
}

footer {
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 0;
  padding: 5px;
  color: white;
  background: #0d2440;
}

footer > a {
  color: white !important;
  z-index: -9999;
}

main {
  margin: 0.83rem 1.33rem;
  margin-bottom: 20px;
}

header > h1 {
  margin: 0;
  margin-left: 0.5rem;
}
/* 
Generic Styling, for Desktops/Laptops 
*/

table {
  width: 100%;
  border-collapse: collapse;
}
/* Zebra striping */
tr:nth-of-type(odd) {
  background: #eee;
}
th {
  background: #333;
  color: white;
  font-weight: bold;
}
td,
th {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: left;
}
@media only screen and (max-width: 760px),
  (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    border: 1px solid #ccc;
    border-top: none;
  }

  tr:first-of-type {
    border-top: 1px solid #ccc;
  }

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  td:last-of-type {
    border-bottom: none;
  }

  tr:nth-of-type(odd) > td {
    border-bottom-color: white;
  }

  td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
  }
}

button:hover:disabled {
  background-color: white;
  cursor: default;
  color: #ccc;
}
