/* General Styles */
html, body {
  height: 100%;
  width: 100%;
  background-color: #dedede;
  color: black;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.5s ease, color 0.5s ease;
}

header {
  width: 100%;
  height: 100px;
  padding: 10px 0;
  background-color: #c8c8c8;
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease, color 0.5s ease;
}

#darkModeToggle {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.header-divider {
  width: 100%;
  height: 2px;
  background-color: #7d7d7d;
  position: fixed;
  top: 100px;
  z-index: 9;
}

main {
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main .content {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s ease, color 0.5s ease;
}

.darkLightText {
  color: #646464;
}

/* Common & Simple Styles */
.orbitron {
  font-family: 'Orbitron', sans-serif;
}
@font-face {
  font-family: 'Undertale';
  src: url('assets/8-bit_operator_mono.ttf') format('truetype');
}
.undertale {
  font-family: 'Undertale', monotype;
}
.hidden {
  display: none;
}
.center {
  align-self: center;
  text-align: center;
  align-items: center;
  vertical-align: middle;
}
.rounded {
  border-radius: 20px;
}
.scrollable {
  overflow-y: auto;
}
.divider {
  width: 100%;
  height: 2px;
  background-color: #7d7d7d;
  margin: 30px 0;
}

/* Dark Mode Styles */
html.dark-mode, body.dark-mode {
  background-color: #1e1e1e;
  color: white;
}

header.dark-mode {
  background-color: #282828;
  color: white;
}

main .content.dark-mode {
  background-color: #323232;
  color: white;
}

.header-divider.dark-mode {
  background-color: #afafaf;
}

.divider.dark-mode {
  background-color: #afafaf;
}

/* Additional Styles for Random Number Generator */
input[type=number] {
  color: #000;
  width: 50%;
}
.dark-mode input[type=number] {
  color: #fff;
}

button.orbitron {
  margin: 10px;
}

#randomResult, #specialResult {
  font-family: 'Orbitron', sans-serif;
  color: #00796b;
}

.dark-mode #randomResult, .dark-mode #specialResult {
  color: #66bb6a;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 0px #007d32;
  }
  50% {
    text-shadow: 0 0 25px #0ae119;
  }
  100% {
    text-shadow: 0 0 0px #007d32;
  }
}
.glow {
  animation: glow 1s ease-in-out;
  animation-fill-mode: forwards;
}
