@font-face {
  font-family: Eliot Lord;
  src: url(Fonts/Eliothand-Regular.otf);
}

@font-face {
  font-family: Times1;
  src: url(Fonts/Eliotheadline-Regular.otf);
}

@font-face {
  font-family: LBCLoco;
  src: url(Fonts/LbcLoco-Regular.otf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  -webkit-user-drag: none;
}

body {
  opacity: 100%;
  font-family: LBCLoco;
  font-size: 2.2dvw;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
  cursor: url(img/background/cursors/Cursor.svg),
    url(img/background/Pointer.svg), pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  padding-left: 20px;
  padding-right: 20px;
  background: white;
  min-height: auto;
  overflow-x: hidden;
  padding-top: 160px;
  padding-bottom: 0;
}

nav {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 0 10%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: left;
  justify-content: flex-start;
  gap: 30px;
  box-sizing: border-box;
  height: 80px;
}

nav img {
  display: inline-block;
}

nav .logo {
  height: 100%;
  width: auto;
  margin: 0;
  position: absolute;
  left: 0;
}

nav a:hover {
  color: #e4003b;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

button:hover {
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

button:active:hover {
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.nav-link {
  padding: 28px 20px;
  text-decoration: none;
  color: #000000;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  border-bottom: 3px solid transparent;
  display: inline-block;
  height: 80px;
  line-height: 80px;
  padding-top: 0;
  padding-bottom: 0;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
  color: #0087dc;
}

.line {
  display: none;
}

.container {
  max-width: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  flex: 0 1 auto;
  padding: 0 20px;
  margin-bottom: 0;
}

h1 {
  font-family: Eliot Lord;
  color: #e4003b;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  color: #b50938;
  font-size: 1.1em;
  margin-bottom: 40px;
}

.fact-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 135, 220, 0.1);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.fact-text {
  line-height: 1;
  color: #2c3e50;
  text-align: center;
}

.fact-category {
  display: inline-block;
  background: #0087dc;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button {
  font-family: Eliot Lord;
  background: linear-gradient(45deg, #00bed6, #0087dc);
  color: white;
  border: none;
  outline: none;
  padding: 15px 40px;
  font-size: 1em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

button:focus {
  outline: none;
}

button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

button:active {
  transform: translateY(-1px);
}

option {
  font-size: 2em;
  font-family: Eliot Lord;
}

footer {
  font-size: 2em;
  font-family: Times1;
}
.controls {
  margin: 30px 0;
}

.category-filter {
  margin: 20px 0;
}

.category-filter select {
  font-family: LBCLoco;
  padding: 30px 20px;
  border-radius: 25px;
  border: 2px solid #3498db;
  font-size: 1em;
  color: #2c3e50;
  margin: 0 10px;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2em;
  font-weight: bold;
  color: #3498db;
}

.stat-label {
  color: #7f8c8d;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.author-portrait {
  width: 150px;
  height: 150px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-portrait img {
  display: block;
}

.author-info {
  max-width: 600px;
  text-align: left;
}

.author-info h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: white;
}

.author-info .author-title {
  font-size: 1.1em;
  color: #00bed6;
  margin-bottom: 15px;
  font-weight: 600;
}

.author-info p {
  font-size: 1em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.listen-btn {
  background: white;
  color: #012169;
  border: none;
  padding: 15px 45px;
  border-radius: 50px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 15px;
}

.author-section {
  background: linear-gradient(135deg, #012169, #0087dc);
  color: white;
  padding: 40px 20px;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 40px;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, top 0.3s ease;
}

.author-section.hidden {
  transform: translateY(-100%);
  top: 0;
}

.author-section {
  top: 60px;
}

.listen-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #f0f0f0;
}

.listen-btn:active {
  transform: translateY(-3px);
}

.question-container {
  margin-bottom: 20px;
}

p {
  color: #0087dc;
}

.question-number {
  color: red;
}

#controls {
  margin-top: 30px;
}

button.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: url(img/background/cursors/NoGo.svg), not-allowed;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 60px 10% 30px;
  font-size: 14px;
  width: 100vw;
  margin-top: 50px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  user-select: none;
  -moz-user-select: none;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-social span {
  font-size: 14px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  transition: color 0.3s ease;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.social-icons a:hover {
  color: #e4003b;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.back-to-top:hover {
  color: #e4003b;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.back-to-top::after {
  content: "↑";
  font-size: 18px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.footer-column ul li a:hover {
  color: #ffffff;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
}

.footer-copyright {
  color: #888;
}

.privacy-manager {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

.privacy-manager:hover {
  color: #ffffff;
  cursor: url(img/background/cursors/Pointer.svg), pointer;
}

@media (max-width: 768px) {
  nav {
    height: 60px;
    justify-content: space-between;
    padding: 0 10px;
  }

  nav .logo {
    height: 60px;
    left: 0;
    margin: 0;
  }

  .nav-link {
    padding: 20px 8px;
    font-size: 11px;
    height: 60px;
    line-height: 60px;
  }

  body {
    padding-top: 180px;
  }
}
