/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
/* BRANDING VARIABLES */
/* SHADES VARIABLES */
/* BOX-SHADOW VARIABLE */
/* FONT VARIABLES */
/*--------------------------------------------------------------
# Global & General Styling
--------------------------------------------------------------*/
/* Box Model Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  scroll-behavior: smooth;
}
/* Images use all their space */
img {
  max-width: 100%;
}
/* Default color, font, size, weight, style & spacing for general text*/
body {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  max-width: 100vw;
  overflow-x: hidden;
}
body p {
  line-height: 1.5;
}
body a {
  text-decoration: none;
}
/* Font weight for headings */
h1,
h2,
h3 {
  font-weight: bold;
}
h4,
h5,
h6 {
  font-weight: 500;
}
/* Responsive font size for headings */
h4,
h5,
h6 {
  font-size: clamp(1.125em, calc(0.6007em + 1.4563vw), 1.875em);
}
h1 {
  font-size: clamp(1.375em, calc(0.1517em + 3.3981vw), 3.125em);
}
h2 {
  font-size: clamp(1.25em, calc(0.3762em + 2.4272vw), 2.5em);
}
h3 {
  font-size: clamp(1.1875em, calc(0.4885em + 1.9417vw), 2.1875em);
}
/*-----------------------------------------------------------------------
# CSS
-----------------------------------------------------------------------*/
#body {
  background-color: #333;
  /*--------------------------------------------------------------
    # Side Navigation
    --------------------------------------------------------------*/
  /*--------------------------------------------------------------
    # Header
    --------------------------------------------------------------*/
  /*--------------------------------------------------------------
    # Footer
    --------------------------------------------------------------*/
  /*--------------------------------------------------------------
    # Back To Top
    --------------------------------------------------------------*/
}
#body #side-nav {
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  right: 100%;
  width: 100vw;
  min-height: 100vh;
  z-index: 99;
  transition: right 0.3s ease;
}
#body #side-nav.active {
  right: 0;
}
#body #side-nav .button-wrapper {
  padding: 25px;
  display: flex;
  justify-content: flex-end;
  width: inherit;
}
#body #side-nav .button-wrapper .side-nav-button {
  appearance: none;
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  width: 35px;
}
#body #side-nav .button-wrapper .side-nav-button .side-nav-button-bar,
#body #side-nav .button-wrapper .side-nav-button:after,
#body #side-nav .button-wrapper .side-nav-button:before {
  content: '';
  background-color: #EB2734;
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
#body #side-nav .button-wrapper .side-nav-button.active:before {
  transform: translate(0px, 8px) rotate(-45deg);
}
#body #side-nav .button-wrapper .side-nav-button.active:after {
  transform: translate(0px, -8px) rotate(45deg);
}
#body #side-nav .button-wrapper .side-nav-button.active .side-nav-button-bar {
  opacity: 0;
}
#body #side-nav #navigation nav {
  list-style: none;
  display: grid;
  place-items: center;
}
#body #side-nav #navigation nav li {
  width: 100vw;
}
#body #side-nav #navigation nav li a {
  color: #fff;
  text-shadow: 0px 0px 5px #000000;
  display: flex;
  justify-content: center;
  gap: 5px;
  width: 100vw;
  padding: 25px 0;
  transition: background-color 0.3s ease;
}
#body #side-nav #navigation nav li a.active {
  background-color: #EB2734;
}
#body #side-nav #navigation nav li a:hover {
  background-color: #c1121f;
}
#body #header #banner {
  background-image: url(https://dnd.spotlightcreations.co.uk/imgs/banner-image.webp);
  background-position: 50% 75%;
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  place-items: center;
  border-radius: 25px;
  box-shadow: 0px 0px 5px #000000;
  margin-bottom: 25px;
}
#body #header #banner h1 {
  text-shadow: 0px 0px 5px #000000;
  display: grid;
  place-items: center;
  text-align: center;
  width: inherit;
}
#body #header #banner .header-navigation-button {
  appearance: none;
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  color: #fff;
  text-shadow: 0px 0px 5px #000000;
  transition: color 0.3s ease;
}
#body #header #banner .header-navigation-button:hover {
  color: #EB2734;
}
#body #main {
  min-height: 65vh;
  margin-bottom: 25px;
  /*--------------------------------------------------------------
    # Homepage
    --------------------------------------------------------------*/
  /*--------------------------------------------------------------
    # Rollable Tables
    --------------------------------------------------------------*/
}
#body #main .spacer {
  padding: 25px 0;
  border-top: 1px solid white;
}
#body #main .tool {
  margin: 12px 0;
}
#body #main .tool a {
  color: #fff;
  background-color: #EB2734;
  border: 10px solid #c1121f;
  border-radius: 25px;
  box-shadow: 0px 0px 5px #000000;
  text-shadow: 0px 0px 5px #000000;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 50px 0;
  transition: background-color 0.2s ease, border 0.2s ease;
}
#body #main .tool a:hover {
  background-color: #c1121f;
  border: 10px solid #EB2734;
}
#body #main #aiResult,
#body #main #lResult,
#body #main #dResult,
#body #main select#heading {
  color: #fff;
  background-color: #EB2734;
  border-radius: 5px;
  text-align: center;
  text-transform: capitalize;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  min-height: 100%;
  font-size: 1.5rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}
#body #main #aiResult:hover {
  background-color: #c1121f;
}
#body #main .add-to-table-button {
  border: 2px solid white;
}
#body #main .add-to-table-button:hover {
  color: #fff;
  background-color: #EB2734;
  border: 2px solid white;
}
@media (max-width: 768px) {
  #body #main .info p {
    margin-top: 25px;
  }
  #body #main #aiResult {
    min-height: 100px !important;
  }
}
#body #main #lResult,
#body #main #dResult {
  min-height: 100px;
}
#body #main #lResult:hover,
#body #main #dResult:hover {
  background-color: #c1121f;
}
#body #main select#heading {
  min-height: inherit;
  margin: 5px 0;
}
#body #main #likes,
#body #main #dislikes {
  color: #EB2734;
  background-color: white;
  border-radius: 5px;
  width: 100%;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 5px;
}
#body #main .add-to-table-button,
#body #main .clearTableButton {
  color: #EB2734;
  background-color: white;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 5px;
}
#body #main table.results-table {
  width: 100%;
  text-align: center;
  text-transform: capitalize;
  border: 2px solid #fff;
  margin-bottom: 25px;
}
#body #main table.results-table td,
#body #main table.results-table th {
  border-left: 2px solid #fff;
  padding: 10px 0;
}
#body #main table.results-table thead {
  background: #EB2734;
  border: 2px solid #fff;
}
#body #main table.results-table thead th {
  font-weight: normal;
  text-align: center;
  border-left: 2px solid #fff;
}
#body #main table.results-table thead th:first-child {
  border-left: none;
}
#body #main .categoryUL {
  list-style: none;
  margin: 0;
  padding: 0;
}
#body #main .categoryUL li {
  margin: 5px 0;
}
#body #main .categoryUL li a {
  color: #fff;
  display: flex;
  align-items: center;
}
#body #main .categoryUL li a:hover {
  color: #EB2734;
}
#body #main .categoryUL li a::before {
  content: '\F231';
  color: #EB2734;
  font-family: bootstrap-icons;
  margin-right: 5px;
}
#body #main .categoryUL li ul {
  display: none;
  list-style: none;
}
#body #main .categoryUL li ul li {
  display: flex;
  align-items: center;
}
#body #main .categoryUL li ul li::before {
  content: '\F234';
  color: #EB2734;
  font-family: bootstrap-icons;
  margin-right: 5px;
}
#body #footer {
  background-color: #c1121f;
  padding: 25px 0;
}
#body #footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
}
#body #footer ul a {
  color: #fff;
  border-radius: 15px;
  transition: color 0.3s ease, background-color 0.3s ease;
}
#body #footer ul a.active {
  color: #c1121f;
  background-color: #fff;
  border-radius: 15px;
}
#body #footer ul a:hover {
  color: #EB2734;
  background-color: #fff;
}
#body .back-to-top {
  position: fixed;
  bottom: 0;
  right: 0;
}
#body .back-to-top .back-to-top-a {
  color: #fff;
  border-radius: 50px;
  padding: 5px 10px;
}
#body .back-to-top .back-to-top-a:hover {
  color: #EB2734;
  background-color: #fff;
}
/* ----------------------------- Body End -----------------------------*/
/*-----------------------------------------------------------------------
# Media
-----------------------------------------------------------------------*/
@media (min-width: 1px) {
  #header {
    margin: 12px;
  }
  #banner {
    padding: 25px 0;
  }
  .back-to-top {
    font-size: 38px;
    margin: 80px 10px;
  }
  #footer ul a {
    font-size: 1em;
    padding: 5px;
  }
}
@media (min-width: 576px) {
  #footer ul a {
    font-size: 1.5em;
    padding: 15px;
  }
  .back-to-top {
    font-size: 48px;
    margin: 6px 25px;
  }
}
@media (min-width: 992px) {
  #header {
    margin: 25px 0;
  }
  #banner {
    padding: 50px 0;
  }
}
@media (min-width: 1200px) {
  #banner {
    padding: 100px 0;
  }
}
@media (min-width: 1400px) {
  /**/
}
