* {
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #fd71ff transparent;
}

body {
  font-family: "Delius", cursive;
  background: radial-gradient(#f6c999, #c5915b);
  background-attachment: fixed;
  background-size: cover;
  align-items: center;
  align-content: center;
  scroll-behavior: smooth;
  /* overflow: hidden; */
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #fd71ff;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #fd71ff;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.frosting {
  position: fixed;
  width: 100vw;
  height: 300px;
  top: 0;
  left: 0;
  z-index: -1;
  background: url("../resources/frosting.svg");
  background-size: contain;
}

.flag {
  position: fixed;
  z-index: 100;
  width: 160px;
  left: 10px;
  top: -10px;
}

.flag img {
  width: 100%;
}

.flag:hover {
  animation: sway 0.8s infinite linear;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(4deg);
  }
}

.container {
  display: block;
  background-color: rgba(255, 255, 255, 0.4);
  width: 80%;
  height: auto;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  margin-top: 5vw;
  margin-bottom: 5vw;
  color: #664f2c;
}

#glaze-logo {
  width: 50%;
  height: auto;
  transition: transform 0.3s;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

.logo:active {
  transform: scale(0.95);
}

.title {
  font-size: 4rem;
  font-family: "Chango", cursive;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #fd71ff;
}

.nav {
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  z-index: 1000;
}

.nav-small {
  flex-direction: column;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: #664f2c;
  background: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.5rem;
  border-radius: 16px;
  transition: transform 0.2s, background-color 0.2s;
  width: 100%;
  margin-right: 1rem;
  margin-left: 1rem;
  backdrop-filter: blur(6px);
  text-align: center;
}

p {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.nav a:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 1);
}

.nav a:active {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(0.98) translateY(2px);
}

.subtitle {
  font-size: 2rem;
}

.card {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
  animation: zoom-in 0.5s;
}

.card-inner {
  background-color: #664f2c;
  min-height: 400px;
  border-radius: 16px;
  color: #fd71ff;
  padding: 1rem;
  /* transition: transform 0.02s; */
  display: block;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.card-inner h2 {
  font-size: 2.5rem;
  font-family: "Chango", cursive;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.card-inner p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
}

.card-inner p u {
  color: #e7b7ff;
}

.card-inner ul {
  font-size: 1.1rem;
}

.card-inner ul li {
  margin-bottom: 1rem;
  list-style: disc;
  list-style-position: inside;
  color: white;
}

a {
  display: inline-block;
  text-decoration: underline;
  color: #e7b7ff;
  cursor: pointer;
}

a:hover {
  text-underline-offset: 4px;
  transform: translateY(-2px);
}

.info {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
  min-height: 300px;
  border-radius: 24px;
  transition: transform 0.2s;
  cursor: pointer;
  padding: 1rem;
  animation: fade-in 1s;
}

.info:hover {
  transform: scale(1.02);
}

.info:active {
  transform: scale(0.98);
}

.info h2 {
  font-size: 2.5rem;
  font-family: "Chango", cursive;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.info ul {
  padding: 1rem;
  padding-top: 0;
  margin-left: 1rem;
  font-size: 1.3rem;
}

.info p {
  font-size: 1.3rem;
  padding: 0.5rem;
  width: calc(100% - 2rem);
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes zoom-in {
  0% {
    transform: scale(0) rotate3d(1, 0, 0, 90deg);
  }
  100% {
    transform: scale(1) rotate3d(0, 0, 0, 0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.gallery {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  border-radius: 24px;
  transition: transform 0.2s;
  padding: 1rem;
  animation: fade-in 1s;
  background-color: white;
  color: #664f2c;
}

.gallery-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

h1 {
  font-size: 2.5rem;
  font-family: "Chango", cursive;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.carousel-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carousel-iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-content h2 {
  font-weight: bold;
  font-family: "Chango", cursive;
  font-size: 32px;
}

.carousel-content p {
  font-size: 18px;
  margin-bottom: 10px;
}

.carousel-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #664f2c;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}

.github-link:hover {
  transform: scale(1.05);
  background-color: #fd71ff;
  text-decoration: none;
}

.github-icon {
  width: 20px;
  height: 20px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.carousel-btn {
  background-color: #664f2c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.carousel-btn:hover {
  transform: scale(1.1);
  background-color: #fd71ff;
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #c5915b;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.carousel-indicator:hover {
  transform: scale(1.2);
}

.carousel-indicator.active {
  background-color: #fd71ff;
}

.rainbow {
  transition: color 0.5s linear;
}

footer {
  width: calc(100% - 2rem);
  background-color: #664f2c;
  color: white;
  padding: 1rem;
  text-align: center;
}

footer img {
  width: 20px;
  height: 16px;
}
