/* Custom Fonts */
@font-face {
  font-family: Comfortaa;
  src: url("../fonts/Comfortaa-Regular.ttf");
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
.nav-link {
  font-family: Comfortaa, Courier, monospace;
}

/* General */
body {
  background-color: #383838;
}

h1 {
  color: #b8500b;
  transition-timing-function: ease-in;
  transition: right 1s, font-size 1s;
}

pre code {
  background: #252525ad;
  border: 1px solid #ed6206af;
  border-left: 5px solid #ed6306;
  color: #d8d8d8;
  page-break-inside: avoid;
  font-family: monospace;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1em 0.5em;
  display: block;
  white-space: pre-wrap;
  word-wrap: break-word;
}

code {
  color: #dd8143;
}

/* Fixes for buttons on Safari and Firefox */
div[type="button"],
span[type="button"],
a[type="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.error-title {
  color: #ed6306;
  text-align: center;
}

.pokeminers-text {
  color: #b8500b;
}

.status-title {
  text-align: center;
}

.basic-link {
  color: white;
}

.basic-link:hover {
  color: white;
}

.inner-card {
  background-color: #252525;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px 0;
}

.inner-card-secondary {
  background-color: #161616;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px 0;
}

.table-dark {
  background-color: #181818 !important;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: #b8500bcc;
  box-shadow: 0 1px 1px 2px #00000013 inset, 0 0 8px 5px #b8500bb9;
  outline: 0 none;
}

/* Navbar */
.navbar {
  background-color: #252525;
}

.navbar-brand {
  height: 75px;
  transition-timing-function: ease-in;
  transition: right 1s, height 1s;
}

.navbar-nav .nav-item .nav-link {
  font-family: Comfortaa, Courier, monospace;
  color: #ed6306;
  font-size: 20px;
}

.dropdown:hover {
  display: block;
}

.dropdown-menu {
  margin-top: 0;
  background-color: #ed6306;
  animation: dropdown-fade 0.3s;
  border: 0px solid transparent;
}

@keyframes dropdown-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dropdown-item {
  color: #ed6306;
  background-color: #252525f5;
}

.dropdown-item:active {
  background-color: #e97a31;
}

.dropdown-divider {
  border: 0px;
  margin: 2px;
}

.nav-link {
  color: #ed6306;
}

.nav-link:hover {
  color: white;
}

/* Buttons */
.btn {
  margin: 5px 0;
}

.btn-dark {
  border: 1px solid;
  border-color: #252525;
  background-color: #3b3533;
}

.download-link {
  color: #c07d00;
  text-decoration: none !important;
  cursor: pointer;
}

.download-link:hover {
  color: rgb(107, 70, 0);
}

/* Tables */
table.table-striped thead tr td,
table.table-striped thead tr th {
  font-size: larger;
  padding: 1rem 0.75rem;
  color: #ed6306;
  background-color: black;
  border-bottom: 1px solid #ed6306;
}

/* Inputs */
/* For sure not copied from: https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
/* Customize the label (the checkbox-container) */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 3px;
  left: 1px;
  height: 20px;
  width: 20px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a orange background */
.checkbox-container input:checked ~ .checkmark {
  background-color: #ed6306;
}

/* When the checkbox is disabled, change the background to kinda gray */
.checkbox-container input:disabled ~ .checkmark {
  background-color: #2c2c2c;
}

/* A slightly lighter gray when it's checked and disabled */
.checkbox-container input:checked:disabled ~ .checkmark {
  background-color: #464646;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 10px;
  height: 15px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* This class is added when the checkbox is disabled, 
change the colour of the checkmark to something darker */
.checkbox-container .checkmark-disabled:after {
  left: 5px;
  top: 1px;
  width: 10px;
  height: 15px;
  border: solid #646464;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Graphic Modal */
.modal-content {
  background-color: #252525;
  border-color: #ed6306;
}

.modal-header {
  border-bottom: 0 none;
}

.modal-footer {
  border-top: 0 none;
}

.close span {
  text-shadow: none;
  color: white;
}

.graphic-modal-image {
  width: 100%;
}

/* Image Cards */
.active-clients-container {
  background-color: #2b2b2bc9;
  border-color: rgb(146, 95, 0) !important;
  border-radius: 30px;
}

.card {
  background-color: #252525;
  border-color: rgb(146, 95, 0);
}

.card-header {
  background-color: #181818;
  border-color: rgb(146, 95, 0) !important;
}

.inside-card {
  background-color: #3a3a3a;
}

.inside-card-title {
  background-color: #181818ad;
  border-color: rgb(146, 95, 0) !important;
}

/* Page Content */
.content {
  background-color: #383838;
  padding: 20px 1%;
  color: white;
}

#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 10rem; /* NOTE: Update this whenever footer gets taller */
}

hr {
  border-color: white;
}

/* Footer */
footer {
  background-color: black;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.footer-image {
  height: 50px;
}

.footer-last-image {
  margin-right: 2rem;
}

.footer-link {
  font-size: 15px !important;
  white-space: nowrap;
}

/* Toast Notification */
.toast-wrapper {
  color: white;
  position: absolute;
  top: 100px;
  right: 20px;
  min-width: 200px;
  z-index: 1000;
}

.toast {
  border-color: #e97a31;
}

.toast-header {
  color: white;
  background-color: #181818;
  border-bottom: 1px solid #888;
}

.toast-body {
  background-color: #252525;
}

.toast-icon {
  height: 20px;
  width: 20px;
  border-radius: 5px;
}

/* Fancy Scrollbar */
::-webkit-scrollbar {
  height: 5px;
  width: 5px;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #1b1e21;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Cookie Message */
#cookieConsent {
  background-color: rgba(20, 20, 20, 0.9);
  min-height: 26px;
  font-size: 14px;
  color: #ccc;
  line-height: 26px;
  padding: 8px 8px 8px 30px;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 99999;
}

#cookieConsent a {
  color: #4b8ee7;
  text-decoration: none;
}

#closeCookieConsent {
  float: right;
  display: inline-block;
  cursor: pointer;
  height: 20px;
  width: 20px;
  margin: -5px 0 0 0;
  font-weight: bold;
}

#closeCookieConsent:hover {
  color: #fff;
}

#cookieConsent a.cookieConsentOK {
  background-color: #dd8809;
  color: #000;
  display: inline-block;
  border-radius: 5px;
  padding: 0 20px;
  cursor: pointer;
  float: right;
  margin: 0 60px 0 10px;
}

#cookieConsent a.cookieConsentOK:hover {
  background-color: #e0c91f;
}

/* Ads */
.ad-container {
  margin-right: 1px;
  margin-left: 1px;
}

#nn_lb1,
#nn_mobile_lb1 {
  transition-timing-function: ease-in;
  transition: all 0.5s;
}

/* Ad Consent */
body {
  --cmpBgColor: #2b2b2b;
  --cmpTextColor: #ffffff;
  --cmpLinkColor: #c07d00;
  --cmpPurposesColor: #b9b0b0;
  --cmpBrandColor: #e97a31;
  --cmpLogo: url("https://pokeminers-warehouse.s3.us-east-2.amazonaws.com/heroku_error_pages/pokeminers_alpha_logo_flat.png");
}

/* Media Queries */
@media (max-width: 1335px) {
  .footer-image {
    height: 30px;
  }

  .footer-link {
    font-size: 10px !important;
  }
}

@media (max-width: 992px) {
  .navbar-brand {
    height: 60px;
  }

  .footer-last-image {
    margin-right: 0rem;
  }
}

@media (min-width: 992px) {
  #ad-banner-top-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: x-large;
  }

  .content {
    padding: 4%;
  }
}
