@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Plus Jakarta Sans, Helvetica, Arial, sans-serif;
}

html,
body {
  height: 100%;
  background-color: rgb(21, 21, 21);
  color: #f1f1f1;
  background-color: rgb(21, 21, 21);
  overflow-x: hidden;
}

h2 {
  font-size: 3rem;
}

/* HEADER */
.header-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: rgb(21, 21, 21);
}

.logo {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 22;
  display: flex;
  justify-content: center;
}

.logo img {
  width: 50%;
  z-index: 55;
  animation: logoFadeIn 1.2s linear;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.spirograph {
  max-height: 100vh;
  animation: rotate360 60s linear infinite, grayscaleToColor linear 1.2s;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes grayscaleToColor {
    from {
     filter: grayscale(100%);
    }
  
    to {
        filter: grayscale(0%);
    }
  }

@media screen and (max-width: 768px) {
  /* CSS rules to apply when the screen width is 768 pixels or less */

  .spirograph {
    width: 100%;
  }

  .logo img {
    width: 80%;
  }
}

/* LATEST NEWS */
#latest-news-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.latest-news-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 30px;
  padding: 1rem;
}

.latest-news-card {
  border-radius: 8px;
  padding: 20px;
  flex-grow: 0;
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.latest-news-card img {
  width: 100%;
}

.latest-news-card:nth-child(1) {
  border: 1px solid rgb(93, 158, 255);
}

.latest-news-card:nth-child(2) {
  border: 1px solid rgb(221, 162, 255);
}

.latest-news-card:nth-child(3) {
  border: 1px solid rgb(255, 123, 105);
}

.latest-news-card:nth-child(1):hover {
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 8px 0 rgba(0, 72, 255, 0.2),
    0 6px 20px 0 rgba(0, 195, 255, 0.19);
}

.latest-news-card:nth-child(2):hover {
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 8px 0 rgba(174, 0, 255, 0.2),
    0 6px 20px 0 rgba(213, 73, 255, 0.19);
}

.latest-news-card:nth-child(3):hover {
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 0.2),
    0 6px 20px 0 rgba(255, 84, 84, 0.19);
}

.date-container {
  display: flex;
  gap: 10px;
  color: #838383;
}

.listen-btn {
  display: block;
  margin: 12px auto;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 10px;
  border-radius: 10px;
}

.release-listen-btn {
  display: block;
  margin: 12px auto;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 10px;
  border-radius: 10px;
  display: none;
}

.listen-btn:hover,
.release-listen-btn:hover {
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2),
    0 6px 20px 0 rgba(255, 238, 84, 0.19);
}

@media screen and (max-width: 768px) {
  .latest-news-card {
    flex-basis: 100%;
  }

  h2 {
    font-size: 2rem;
  }

  .release-listen-btn {
    display: block;
  }
}

/* TRIANGLES */

.triangle-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent; /* adjust size as needed */
  border-right: 30px solid transparent; /* adjust size as needed */
  border-top: 30px solid rgb(192, 192, 192);
}

/* OBSERVER STYLES */

.fade-in {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.fade-in.show {
  opacity: 1;
}

.fade-in-2 {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.fade-in-2.show {
  opacity: 1;
}

.fade-in-3 {
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.fade-in-3.show {
  opacity: 1;
}

/* RELEASES */
#releases-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("images/releases-background-opt.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment:fixed ;
}

#releases-section h2 {
  margin-top: 50px;
}

.releases-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 1rem;
}

.release-card {
  padding: 20px;
  flex-grow: 0;
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.release-card img {
  width: 100%;
}

.release-card img:hover {
  transition: 0.2s ease-in-out;
  filter: brightness(75%);
}

.release {
  transform: translateY(100px);
  opacity: 0;
  transition: 150ms;
}

.release.show {
  transform: translateX(0);
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .release-card {
    flex-basis: 100%;
  }

  #releases-section {
    background-image: url("images/releases-background-mobile.jpg");
  }
}

/*** MERCH ***/

#merch-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.carousel-title h3 {
  font-size: 1.5rem;
}

/*** CAROUSEL ***/
.carousel-container {
  position: relative;
  width: 100%;
  overflow: scroll;
  margin-bottom: 40px;
}

.carousel {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 25%;
}

.slide img {
  width: 100%;
}

.prev-button,
.next-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  margin: 0 3px;
}

.prev-button i,
.next-button i {
  font-size: 1.3rem;
}

.prev-button:hover,
.next-button:hover {
  cursor: pointer;
  filter: brightness(85%);
  transition: 0.3s ease-in-out;
}

.prev-button {
  left: 10px;
  background: gray;
}

.next-button {
  right: 10px;
}

@media screen and (max-width: 600px) {
  .carousel-container {
   padding: 0 16px;
  }

  .carousel-title {
    padding: 16px;
  }

  .slide {
    flex: 0 0 60%;
  }

  .prev-button,
  .next-button {
    display: none;
  }
}

/*** FOOTER ***/
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px 0;
  font-size: 0.7rem;
}

footer img {
  width: 200px;
}

.social-icons i {
  color: #fff;
  font-size: 26px;
  margin: 0 8px;
}

.credit a {
  text-decoration: none;
  color: #fff;
}

.copyright-container {
  text-align: center;
}
