html {
  box-sizing: border-box;
  height: 100%;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body{
  background-color: #fafafa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  -webkit-text-size-adjust: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  height: 100%;
}
main{
  margin: 0 auto 4rem;
  max-width: 100rem;
  min-height: 100%;
  padding: 1rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}
nav{
  flex-shrink: 0;
  width:10rem;
  background-color: #d9d9d9;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  padding-top: 4rem;
}
main > div {
  flex-grow: 1;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
}
header{
  flex-grow: 1;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
#menu-btn {
  display: none;
} 
@media screen and (max-width: 640px){
  nav, header > h2 {
    display: none;
  }
  #menu-btn {
    display: block;
  }
  #header-box{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
  }
  header {
    flex-flow: column nowrap;
    justify-content: center;
  }
  header > img {
    width: 63%;
  }
  body {
    font-size: 0.5rem;
  }
}
@media screen and (min-width: 640px) and (max-width: 960px){
  main{
    padding: 2rem;
  }
  header > h2{
    display: none;
  }
  header {
    flex-flow: column nowrap;
    justify-content: center;
  }
}
section {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.sect-login{
  align-items: center;
}
.sect-dash{
  flex-flow: column nowrap;
  justify-content: flex-start;
}
.stat {
  display: flex;
  flex-flow: row nowrap;
  justify-self: start;
}
.statLbl {
  flex:0 0 10rem;
  margin-left: 10px;
  margin-right: 20px;
}
.statSp {
  flex:0 0;
  margin-left: 10px;
  margin-right: 10px;
}
footer{
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h1,h2,h3,h4,h5 {
  margin: 0 0 0.5rem 0;
  font-weight: 300;
}
a {
  text-decoration: none;
  color: #146eeb;
}
a:hover {
  text-decoration: underline;
}
ul,ol {
  margin: 0.5rem 0 1rem;
  padding-inline-start: 2rem;
}
ul ul,ul ol,ol ul,ol ol {
  margin: 0;
}
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.025rem;
  border: none;
  border-radius: 0.25rem;
  border: 1px solid #aaa;
  background-color: #d89694;
  color: #444;
  outline: none;
  text-decoration: none;
  user-select: none;
  width: auto;
  height: auto;
  margin: 0 0.5rem 0.75rem 0;
}
button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:focus,
.button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  text-decoration: none;
  border-color: #555;
  color: #000;
}
.primary {
  color: #fff;
  border-color: #fed7d7;
  background-color: #fed7d7;
}
.primary:hover,
.primary:focus {
  color: #fff;
  border-color: #fed7d7;
  background-color: #fed7d7;
}
.secondary {
  border-color: #ebebeb;
  background-color: #ebebeb;
}
.secondary:hover,
.secondary:focus {
  border-color: #e0e0e0;
  background-color: #e0e0e0;
}
.round {
  border-radius: 1.25rem;
  padding: 0.5rem 1rem;
}
/* w/ an icon */
.icon-button {
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  display: flex;
}
.icon-button .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.25rem;
}
label {
  display: block;
  /* This value is a personal preference for spacing. */
  margin: 0.75rem 0;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  /* Change the height and size (padding) to match your aesthetic. */
  height: 2rem;
  padding: 0.25rem 0.5rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  outline: none;
  width: 100%;
  margin: 0.25rem 0;
}
/* Also consider a hover state. It's less common but still cool. */
input:focus,
textarea:focus,
select:focus {
  /* This is my personal choice of blue as a base theme color. */
  border-color: #146eeb;
}
textarea {
  /* I prefer to not let people resize textareas. I never use that feature. */
  resize: none;
  height: auto;
  line-height: 1.15;
}
/* Checkboxes */
.checkbox-label {
  display: flex;
  /* Get the box vertically aligned with the label. */
  align-items: center;
}
input[type="checkbox"] {
  /* Add space between the box and the label */
  margin-right: 0.5rem;
}
.card {
  /* This flex basis and max-width of 18rem is arbitrary. */
  flex: 1 0 18rem;
  max-width: 18rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  /* This margin spacing is also arbitrary. */
  margin: 1rem 1rem 0 0;
}
.card-login{
  flex: 0 0 18rem;
  max-width: 18rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  /* This margin spacing is also arbitrary. */
  margin: 1rem 1rem 0 0;
}
.card-tic {
  flex: 1 0;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  margin: 1rem 1rem 0 0;
}
.card-stat {
  flex: 1 0 32rem;
  max-width: 32rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  margin: 1rem 1rem 0 0;
}
.card-content {
  padding: 1rem;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}
.pagination {
  display: inline-block;
}
.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
}
.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}
.pagination a:hover:not(.active) {
  background-color: #ddd;
}
table, .res-cont{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
th{
  background-color: black;
  color:white;
}
tr:nth-child(even) {
  background-color: #bebebe;
}
td {
  padding-left: 10px;
}
.res-cont{
  margin-bottom: 2rem;
}
.res-disp{
  display: flex;
  justify-content: space-between;
}
.res-title{
  font-size: xx-large;
  font-weight: 500;
}
.res-disp>div{
  color:whitesmoke;
  background-color: #000;
  font-size: large;
  font-weight: 550;
  border-radius: 10px;
  padding: 7px 30px;
  margin: 0 15px;
  width:27%;
}
.cat1{
  background-color: blue!important;
  color: whitesmoke!important;
}
.cat2{
  background-color: yellow!important;
  color: #000!important;
}
.cat3{
  background-color: red!important;
  color: whitesmoke!important;
}
.backbtn{
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arcbtn{
  background-color: #4CAF50!important;
}