::selection {
  background-color: #ecbd65;
  color: #0052d9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  padding: 0;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body.dark-mode {
  background: linear-gradient(135deg, #121212, #1e1e1e);
  color: #ffffff;
}

.no-transition * {
  transition: none !important;
}

button {
  font-family: "Courier New", Courier, monospace;
}

header {
  background-color: #0052d9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.5s ease;
}

body.dark-mode header {
  background: linear-gradient(135deg, #1e1e1e, #121212);
}

a {
  border-bottom: 2px solid #ecbd65;
}

h1 {
  color: #0052d9;
  font-size: 2rem;
}

h2 {
  color: #0052d9;
}

footer {
  background-color: #0052d9;
  padding: 1rem;
  text-align: center;
  position: sticky;
  bottom: 0;
  transition: background-color 0.5s ease;
}

body.dark-mode footer {
  background-color: #1e1e1e;
  background: linear-gradient(135deg, #1e1e1e, #121212);
}

footer p {
  color: #ffffff;
  transition: color 0.5s ease;
}

body.dark-mode footer p {
  color: #ffffff;
}

footer p:hover {
  color: #ecbd65;
}

body.dark-mode footer p:hover {
  color: #ecbd65;
}

footer p:active {
  color: #000000;
}

body.dark-mode footer p:active {
  color: #0052d9;
}

.navbar {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  flex-wrap: wrap;
}

.navbar a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

body.dark-mode .navbar a {
  color: #ffffff;
}

.navbar a:hover {
  color: #ecbd65;
}

body.dark-mode .navbar a:hover {
  color: #ecbd65;
}

.navbar a:active {
  color: #000000;
}

body.dark-mode .navbar a:active {
  color: #0052d9;
}

.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 50px;
  padding-right: 50px;
  scroll-snap-align: start;
  text-align: center;
}

.logo {
  width: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.button {
  background-color: #0052d9;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 50px;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body.dark-mode .button {
  background: linear-gradient(135deg, #1e1e1e, #121212);
  color: #ffffff;
}

.button:hover {
  color: #ecbd65;
}

body.dark-mode .button:hover {
  color: #ecbd65;
}

.button:active {
  background-color: #ecbd65;
  color: #0052d9;
  transform: translateY(2px);
}

body.dark-mode .button:active {
  background-color: #ecbd65;
  color: #0052d9;
}

#projects {
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

#projects > p {
  text-align: center;
  width: 100%;
  margin-bottom: 2rem;
}

#projects > p:last-of-type {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.project {
  list-style-type: disc;
  padding: 0;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.project li {
  display: list-item;
  margin-bottom: 1.5rem;
  text-align: left;
  padding-left: 1rem;
}

.project a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 2px solid #ecbd65;
}

body.dark-mode .project a {
  color: #ffffff;
}

.project a:hover {
  color: #0052d9;
}

body.dark-mode .project a:hover {
  color: #ecbd65;
}

.project a:active {
  color: #ecbd65;
}

body.dark-mode .project a:active {
  color: #0052d9;
}

.contact {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  flex-wrap: wrap;
}

.contact a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

body.dark-mode .contact a {
  color: #ffffff;
}

.contact a:hover {
  color: #0052d9;
}

body.dark-mode .contact a:hover {
  color: #ecbd65;
}

.contact a:active {
  color: #ecbd65;
}

body.dark-mode .contact a:active {
  color: #0052d9;
}

.qr-text {
  position: relative;
  display: inline-block;
}

.qr {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  opacity: 0.6;
}

.qr-text:hover {
  color: #0052d9;
}

body.dark-mode .qr-text:hover {
  color: #ecbd65;
}

.qr-text:hover .qr {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.qr-text:not(:hover) .qr {
  animation: fadeOut 0.3s ease-in-out;
  animation-fill-mode: forwards;
  display: block;
  pointer-events: none;
}

.qr-text:not(:hover) .qr.fade-out {
  display: none;
}

.sponsorships-direct {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
  margin: 2rem 0;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
  gap: 1rem;
}

.payment-method {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 180px;
  max-width: 250px;
}

.payment-method p {
  font-weight: bold;
  margin: 0;
  font-size: 1.2rem;
  color: #0052d9;
}

body.dark-mode .payment-method p {
  color: #ecbd65;
}

.qr-direct {
  width: min(180px, 25vw);
  height: min(180px, 25vw);
  max-width: 200px;
  max-height: 200px;
  min-width: 120px;
  min-height: 120px;
  border: 2px solid #0052d9;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.dark-mode .qr-direct {
  border-color: #ecbd65;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.qr-direct:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

body.dark-mode .qr-direct:hover {
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

/* Swiper container for mobile */
.qr-swiper-container {
  display: none;
  width: 100%;
  max-width: 350px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.qr-swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease;
  width: 300%;
}

.qr-swiper-slide {
  width: 33.333%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.qr-swiper-slide .payment-method {
  width: 100%;
  min-width: auto;
  max-width: none;
}

.qr-swiper-slide .qr-direct {
  width: 200px;
  height: 200px;
  max-width: 200px;
  max-height: 200px;
  min-width: 200px;
  min-height: 200px;
}

.qr-swiper-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.qr-swiper-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.qr-swiper-dot.active {
  background-color: #0052d9;
}

body.dark-mode .qr-swiper-dot.active {
  background-color: #ecbd65;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sponsorships-direct {
    display: none;
  }

  .qr-swiper-container {
    display: block;
  }
}

@media (max-width: 480px) {
  .qr-swiper-slide .qr-direct {
    width: 180px;
    height: 180px;
    max-width: 180px;
    max-height: 180px;
    min-width: 180px;
    min-height: 180px;
  }
}

.sponsorships {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0;
}

.sponsorships .qr-text {
  position: relative;
  display: inline-block;
  text-align: center;
}

.sponsorships .qr {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  opacity: 0.6;
}

.sponsorships .qr-text:hover .qr {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.sponsorships .qr-text:not(:hover) .qr {
  animation: fadeOut 0.3s ease-in-out;
  animation-fill-mode: forwards;
  display: block;
  pointer-events: none;
}

.sponsorships .qr-text:not(:hover) .qr.fade-out {
  display: none;
}

.copy-button {
  background-color: #0052d9;
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin-bottom: auto;
  cursor: pointer;
  border-radius: 50px;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body.dark-mode .copy-button {
  background: linear-gradient(135deg, #1e1e1e, #121212);
  color: #ffffff;
}

.copy-button:hover {
  color: #ecbd65;
}

body.dark-mode .copy-button:hover {
  color: #ecbd65;
}

.copy-button:active {
  background-color: #ecbd65;
  color: #0052d9;
  transform: translateY(2px);
}

body.dark-mode .copy-button:active {
  background-color: #ecbd65;
  color: #0052d9;
}

#theme-toggle {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.5s ease;
}

#theme-toggle:hover {
  color: #ecbd65;
}

#theme-toggle:active {
  color: black;
}

body.dark-mode #theme-toggle:active {
  color: #0052d9;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 0.6;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 0.6;
    transform: translateX(-50%) translateY(0);
  }

  to {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

.four-oh-four {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  flex-wrap: wrap;
  color: #ffffff;
}

.back-to-home {
  color: #000000;
  text-decoration: none;
}

body.dark-mode .back-to-home {
  color: #ffffff;
}
