/* GENERAL  */

body {
  background-color: hsl(30, 45%, 91%);
}

td {
  padding: 0.5em;
}

.hidden {
  display: none;
}

input:focus {
  outline: none;
}

html {
  overflow-y: scroll;
}

/* TABLE MENU */

.table-menu {
  margin-top: 2em;
}

.table-menu-options {
  display: flex;
  flex-direction: column;
}

.table-menu-options label {
  margin-right: 0.5em;
}

.table-menu .table-menu-options select {
  margin-bottom: 1em;
}

#row-tally {
  font-size: 1em;
  margin-right: 0.5em;
}

.table-sub-menu {
  padding: 0.5em 0;
  align-items: center;
}

button {
  font-size: 1em;
  margin: 0.2em;
  font-family: "Times New Roman", Times, serif;
}
.wiggle {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

.category-triangle {
  position: absolute;
  top: -32px;
  left: 64px;
}

.new-page-triangle {
  position: absolute;
}

.new-page-text {
  position: absolute;
  text-decoration: none;
  color: #f8312f;
  font-weight: 800;
}

@media only screen and (min-width: 768px) {
  .table-menu-options {
    flex-direction: row;
    align-items: flex-end;
  }

  .table-menu .table-menu-options select {
    margin-right: 1.5em;
    margin-bottom: 0;
  }

  .category-triangle {
    position: absolute;
    top: -30px;
    left: 64px;
  }
}

#custom-table {
  background-color: hsl(30, 65%, 81%);
}

/* Navigation */
.nav-link {
  font-family: monospace;
  white-space: nowrap;
  line-height: 2em;
  margin-inline: 0.3em;
  position: relative;
}

.nav-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* New Quotes */
.new-quote {
  background-color: rgb(186, 224, 166);
}
/* Useful Links */
.useful-link {
  justify-content: center;
  width: 150px;
  text-align: center;
  margin: 10px;
  padding: 10px;
  background-color: hsl(30, 65%, 81%);
  text-decoration: none;
}

.useful-link img {
  height: 150px;
  width: 150px;
  background-color: white;
}

.useful-link-title {
  text-decoration: underline;
  font-size: 1.25em;
  margin-top: 5px;
  margin-bottom: 0px;
}

.useful-link-description {
  text-align: center;
  color: black;
  margin-top: 5px;
  margin-bottom: 0px;
}

/* Category Triangle wiggler */
.category-dropdown-container {
  position: relative;
  display: inline-block;
}

@keyframes shake {
  0% {
    transform: translate(0px, 0px);
  }
  50% {
    transform: translate(0px, -6px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}
