/* #region global and fonts */
html,
body,
.container {
  width: 100%;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  background-color: rgb(24, 27, 58);
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: newromantics;
  src: url(newromantics.ttf);
}
@font-face {
  font-family: edensor;
  src: url(edensor.otf);
}
/* #endregion */

/* #region welcome screen */
#welcome {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.85), black);
  cursor: pointer;
  animation: fadeIn 1s ease;
}
.welc-content {
  text-align: center;
  color: white;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}
#welcText {
  font-family: edensor;
  letter-spacing: 1px;
  font-weight: 500;
}
#smallWelcText {
  font-family: edensor;
  letter-spacing: 4px;
}
#muteMusic {
  width: 2.35rem;
  height: 2.35rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
  background: rgba(54, 57, 77, 0.25);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  backdrop-filter: blur(3px);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease-out;
}
#muteMusic:hover,
#muteMusic:focus {
  -webkit-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  -moz-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
}
#audioControls {
  position: fixed;
  top: 2%;
  right: 2%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#muteMusic i {
  font-size: 1rem;
}
#sliderWrapper {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.2rem;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(54, 57, 77, 0.25);
  box-shadow: 0 0 8px 4px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease-out,
    visibility 0.4s ease-out;
}
#audioControls:hover #sliderWrapper,
#audioControls:focus #sliderWrapper {
  opacity: 1;
  visibility: visible;
}
#audioControls:hover #muteMusic,
#audioControls:focus #muteMusic {
  box-shadow: 0 0 8px 4px rgba(255, 255, 255, 0.15);
}
#volumeSlider {
  --thumb: 0.55rem;
  --track: 0.1rem;
  -webkit-appearance: none;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  width: var(--thumb);
  height: 70%;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
/* chrome, safari, edge */
#volumeSlider::-webkit-slider-runnable-track {
  width: var(--track);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  margin-left: calc((var(--track) - var(--thumb)) / 2);
}
/* firefox */
#volumeSlider::-moz-range-track {
  width: var(--track);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
#volumeSlider::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#welcome.fade-out {
  opacity: 0;
  transition: opacity 1.5s ease-out;
  pointer-events: none;
}
/* #endregion fuck my life. */

/* #region menu things */
.sparkle {
  background: rgba(54, 57, 77, 0.25);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  position: fixed;
  top: 2%;
  left: 2%;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: box-shadow 0.2s ease-out;
}
.sparkle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}
.sparkle:hover,
.sparkle:focus {
  -webkit-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  -moz-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
}
.sparkle a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
}
.sparkle-drop-content {
  background: rgba(54, 57, 77, 0.25);
  -webkit-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.1);
  -moz-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.1);
  box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease-out,
    visibility 0.4s ease-out;
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.25rem;
  border-radius: 30px;
  z-index: 1000;
}
.sparkle-drop-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}
.sparkle:hover .sparkle-drop-content,
.sparkle:focus .sparkle-drop-content {
  opacity: 1;
  visibility: visible;
}
.sparkle-drop-content a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 3px 0;
  color: #f2f2f2;
  text-decoration: none;
  font-size: 0.77rem;
}
.sparkle-drop-content a:hover,
.sparkle-drop-content a:focus {
  color: white;
  transition: color 150ms ease-out;
}
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip:hover::after,
.tooltip:focus::after {
  content: attr(data-title);
  position: absolute;
  bottom: 100%;
  transform: translateX(50%);
  background: rgba(54, 57, 77, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 10px;
  border-radius: 15px;
  font-size: 0.5rem;
  white-space: nowrap;
  z-index: 10;
}
.navigation {
  background: rgba(54, 57, 77, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  position: fixed;
  top: 2%;
  left: calc(2% + 46px);
  border-radius: 30px;
  display: flex;
  align-items: center;
  z-index: 999;
  transition: box-shadow 0.2s ease-out;
}
.navigation a {
  display: block;
  color: #f2f2f2;
  text-decoration: none;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  mix-blend-mode: difference;
  align-items: center;
}
.navigation:hover {
  -webkit-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  -moz-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
}
.navigation a:hover {
  color: white;
  transition: color 150ms ease-out;
}
#navControls:hover .sparkle-drop-content,
#navControls:focus-within .sparkle-drop-content {
  opacity: 1;
  visibility: visible;
}
#navControls:hover .sparkle {
  box-shadow: 0 0 8px 4px rgba(255, 255, 255, 0.15);
}
#trackControls {
  height: 2.35rem;
  background: rgba(54, 57, 77, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  position: fixed;
  top: 2%;
  right: calc(2% + 46px);
  border-radius: 30px;
  display: flex;
  align-items: center;
  z-index: 999;
  transition: box-shadow 0.2s ease-out;
}
#trackControls span,
#trackControls button {
  display: block;
  color: #f2f2f2;
  text-decoration: none;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  mix-blend-mode: difference;
  align-items: center;
}
#trackControls:hover {
  -webkit-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  -moz-box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
  box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.15);
}
#nextTrack {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#nextTrack:hover {
  opacity: 1;
  transform: translateX(2px);
}
/* #endregion
AHHHHHHHHHHHHHHHHHHHHHHHHHh */

/* #region landing page */
#landing {
  height: 100vh;
  background-image: url("https://cdn.dyl.blue/img/Zbk5w");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
#landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
#introtext {
  position: absolute;
  right: 5%;
  top: 40%;
  display: flex;
  flex-direction: column;
  color: white;
  margin: 0;
}
.name {
  font-size: 3rem;
  text-align: right;
  font-family: newromantics;
  letter-spacing: 5px;
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}
.desc {
  color: #f2f2f2;
  font-size: 0.9rem;
  text-align: right;
  max-width: 20rem;
  animation: float 6s ease-in-out infinite;
}
/* #endregion */

/* #region events */
.blog-heading h2 {
  font-family: newromantics;
  letter-spacing: 2px;
  font-size: 1.5rem;
  margin: 0;

}
.blog-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0;
}
.blog-card {
  scroll-snap-align: start;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  background:rgb(93, 78, 134)
}
.blog-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-card-content {
  padding: 0.5rem;
}
.blog-card a {
  text-decoration: none;
  color: inherit;
}
.blog-card a:hover {
  text-decoration: underline;
}
.blog-card h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
}
.blog-card p {
  font-size: 0.9rem;
  margin: 0;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.blog-control button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
@media (max-width: 800px) {
  .blog-carousel {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}
@media (max-width: 500px) {
  .blog-carousel {
    grid-auto-columns: 80%;
  }
}
/* #endregion events */