html,
body {
  font-family: "Inter", "Arial", sans-serif;
  background-color: #e7e7e7;
  scroll-behavior: smooth;
}

.content-box {
  background-color: #ffffff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.075);
  padding: 2rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

/* ALERT -- override for full-length */
.alert {
  border-radius: 0%;
  width: 100%;
}

/* NAVBAR */
.navbar {
  background-color: #ffffff;
  /* border-bottom: 2px solid #d0d0d0; */
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}

.logo-link {
  text-decoration: none;
  color: inherit;
  font-size: 0.8rem;
}

.logo-text {
  font-size: 1.8rem;
}

/* STICKY HEADER */

.sticky-header {
  width: 100%;
  background-color: #ffffff;
}

.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 2px solid #d0d0d0;
}

.header-line {
  border-bottom: 2px solid #d0d0d0;
}

footer {
  border-top: 2px solid #d0d0d0;
}

.badge-extra-padding {
  padding: 0.55rem 0.8rem;
}

/* CARD */

.header-top-gap {
  height: 2rem;
}

.card {
  transition: 0.1s;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.075);
}

.card-title {
  font-weight: bold;
}

.card-disabled,
.card-disabled:hover {
  background-color: #f4f4f4;
  transform: translateY(0px);
  box-shadow: none;
}

.category-header {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d0d0d0;
}

.badge-github {
  background-color: #24292e;
  color: white;
}

.badge-nukepedia {
  background-color: #6b46c1;
  color: white;
}

.badge-blog {
  background-color: #0d6efd;
  color: white;
}

.bg-new-today {
  background-color: rgb(0, 202, 0);
  transform: rotate(10deg) translateX(10px) translateY(-5px);
}

.archive-list {
  list-style: none;
}

/* ANIMATIONS */

/* Fade In */

.fade-in {
  animation: fadeIn 0.2s ease-out forwards;
  opacity: 0; /* Initial state */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Sparkles */

.sparkle {
  position: relative;
  display: inline-block;
}

.sparkle::before,
.sparkle::after {
  position: absolute;
  color: rgb(255, 253, 236);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  animation: starTwinkle 2s ease-in-out infinite;
}

.sparkle::before {
  content: "✶";
  top: 0px;
  right: 1px;
}

.sparkle::after {
  content: "✴";
  bottom: 0px;
  left: 1px;
  animation-delay: 0.45s;
  font-size: 8px;
}

@keyframes starTwinkle {
  0%,
  30%,
  100% {
    opacity: 0;
    transform: scale(0.25);
  }
  15% {
    opacity: 1;
    transform: scale(0.75);
  }
}

/* Contact Form Styles */

.placeholder-option {
  color: black;
  font-style: normal;
}

#message::placeholder,
.default_placeholder-option,
#contactReason:invalid {
  color: #6c757d;
  opacity: 1;
  font-style: italic;
}

#contactReason:invalid {
  color: #6c757d;
}

#contactReason:valid {
  color: #212529;
}
