/* #region Root & Reset */
:root {
  --red: #a21232;
  --blue: #1a1831;
  --tan: #dece9c;
  --green: #20615b;

  /* --title-font: vollkorn, serif; */

  --primary-weight: 400;
  --xlg-font: 2.5rem;
  --lg-font: 1.5rem;
  --md-font: 1.2rem;
  --sm-font: 0.5rem;

  --line-height: 1.5;
  --letter-space: 0.12rem;

  /* @link https://utopia.fyi/type/calculator?c=320,18,1.2,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

  --step--2: clamp(0.7813rem, 0.7747rem + 0.0326vw, 0.8rem);
  --step--1: clamp(0.9375rem, 0.9158rem + 0.1087vw, 1rem);
  --step-0: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
  --step-1: clamp(1.35rem, 1.2761rem + 0.3696vw, 1.5625rem);
  --step-2: clamp(1.62rem, 1.5041rem + 0.5793vw, 1.9531rem);
  --step-3: clamp(1.944rem, 1.771rem + 0.8651vw, 2.4414rem);
  --step-4: clamp(2.3328rem, 2.0827rem + 1.2504vw, 3.0518rem);
  --step-5: clamp(2.7994rem, 2.4462rem + 1.7658vw, 3.8147rem);
}

* {
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

input,
button,
textarea,
select {
  font: inherit;
}

image {
  max-width: 100%;
  display: block;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

/* #endregion */

/* #region Utility */
.flex {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.grid {
  --grid-width: 30vw;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-width), 1fr));
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.italic {
  font-style: italic;
}

.glass {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.background-image li,
.background-image div {
  background-size: cover;
  background-repeat: no-repeat;
}

.shadow {
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/* #endregion */

/* #region Global */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--black);
  position: relative;
  background-image: linear-gradient(-135deg, var(--green), var(--blue));
}

body,
a {
  color: var(--tan);
}

h1 {
  font-size: var(--step-2);
}

.main-section {
  padding: 2rem;
}

.section-header {
  padding-bottom: 2rem;
}

p {
  max-width: 55ch;
}

/* #endregion */

/* #region Interactive */
a {
  position: relative;
  text-decoration: none;
  font-size: var(--step--1);
  text-transform: uppercase;
}

/* #endregion */
/* #region Header */
.header {
  min-height: 10vh;

  position: sticky;
  top: 0;
  z-index: 2;
  background-image: linear-gradient(-135deg, var(--green), var(--blue));
}

.menu {
  display: none;
}

.menu-list {
  gap: 1.5rem;
}

.shift-right {
  width: 0;
  transition: 0.3s ease-out;
}

.header-left:hover .shift-right {
  width: 100%;
  height: 0.5vh;
  background: linear-gradient(70deg, var(--red) 11ch, var(--blue) 11.05ch);
}

/* #endregion */

/* #region slider */

.hero-slider {
  width: 98%;
  height: 30vh;

  margin-top: 1rem;
  padding: 0;
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  background-color: black;
  background-image: linear-gradient(-135deg, var(--blue), var(--green));
}

.slider-image {
  list-style: none;
  width: 97%;
  height: 97%;
  padding: 0;
}

.slider-image li {
  position: absolute;
  width: 97%;
  height: 97%;

  background-position: center;
}

.hero-slider,
.slider-image,
.slider-image li {
  border-radius: 10px 5px 5px 10px;
  margin: 0 auto;
}

#img-one {
  background-image: url("/img/IMG_9309.jpg");
  animation: fade-1 25s infinite;
  -webkit-animation: fade-1 25s infinite;
}

#img-two {
  background-image: url("/img/IMG_9317.jpg");
  animation: fade-2 25s infinite;
  -webkit-animation: fade-2 25s infinite;
}

#img-three {
  background-image: url("/img/IMG_9335.jpg");
  animation: fade-3 25s infinite;
  -webkit-animation: fade-3 25s infinite;
}

#img-four {
  background-image: url("/img/IMG_9322.jpg");
  animation: fade-4 25s infinite;
  -webkit-animation: fade-4 25s infinite;
}

#img-five {
  background-image: url("/img/IMG_9329.jpg");
  animation: fade-5 25s infinite;
  -webkit-animation: fade-5 25s infinite;
}

/* and more if there are more slides to show */
@keyframes fade-1 {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  25% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-2 {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-3 {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* example for a 4th slide */
@keyframes fade-4 {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* example for a 4th slide */
@keyframes fade-5 {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* #endregion */

/* #region About */
.about-section {
  justify-content: space-between;
}

.about-text {
  padding-bottom: 1rem;
}

.players-list {
  --grid-width: 30vw;
  gap: 2rem;
  padding-left: 0;
}

.players-list li {
  /* border: 1px solid antiquewhite; */
  height: 40vh;
  padding-top: 1rem;
  background-color: var(--blue);
  clip-path: polygon(0px 4px, 97.9% 1px, 100% 100%, 0px 100%);
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  background: linear-gradient(70deg, var(--red) 11ch, var(--blue) 11.05ch);
  transition: clip-path 0.3s ease;
}

.player-img {
  width: 90%;
  height: 100%;
  background-position: top;
}

.player-info {
  padding: 1rem;
  text-align: center;
}

#imgMarcia {
  background-image: url("/img/marcia.webp");
}

#imgFloyd {
  background-image: url("/img/floyd3.webp");
}

#imgGedeon {
  background-image: url("/img/gedeon1.webp");
}

#imgAlden {
  background-image: url("/img/alden.webp");
}

#imgArmand {
  background-image: url("/img/armand.webp");
}

#imgCamille {
  background-image: url("/img/camille.webp");
}

/* #endregion */

/* #region Albums */

.album-list {
  max-width: 40vw;
  display: none;
}

.album {
  justify-content: flex-start;
}

.album-art {
  margin: 25px;
  height: 20vh;
  width: 10vw;
  background-size: cover;
  background-position: center;
  border-radius: 5%;
}

.album-info {
  align-items: flex-start;
  gap: 1rem;
}

#cdOne {
  background-image: url("/img/cd-relatively.jpg");
}

#cdTwo {
  background-image: url("/img/cd-generations.jpg");
}

#cdThree {
  background-image: url("/img/cd-geodesic.jpg");
}

/* Using flex with the column direction to
      align items in a vertical direction */
.player {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 25px;
}

.track-art {
  margin: 25px;
  height: 40vh;
  width: 80vw;
  background-image: URL("/img/cd-geodesic.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 10%;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/* Changing the font sizes to suitable ones */
.now-playing {
  font-size: 1rem;
}

.track-name {
  font-size: 2rem;
}

.track-artist {
  font-size: 1.5rem;
}

/* Using flex with the row direction to
          align items in a horizontal direction */
.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.play-lg {
  display: none;
}

.playpause-track,
.prev-track,
.next-track {
  padding: 25px;
  opacity: 0.8;

  /* Smoothly transition the opacity */
  transition: opacity 0.2s;
}

/* Change the opacity when mouse is hovered */
.playpause-track:hover,
.prev-track:hover,
.next-track:hover {
  opacity: 1;
}

/* Define the slider width so that it scales properly */
.slider_container {
  width: 75%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modify the appearance of the slider */
.seek_slider,
.volume_slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background: black;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

/* Modify the appearance of the slider thumb */
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
}

/* Change the opacity when mouse is hovered */
.seek_slider:hover,
.volume_slider:hover {
  opacity: 1;
}

.seek_slider {
  width: 60%;
}

.volume_slider {
  width: 30%;
}

.current-time,
.total-duration {
  padding: 10px;
}

i.fa-volume-down,
i.fa-volume-up {
  padding: 10px;
}

/* Change the mouse cursor to a pointer
          when hovered over */
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward {
  cursor: pointer;
}

/* #endregion */

/* #region Events */

.events-list li {
  margin-bottom: 1rem;
}

.events-list h3 {
  justify-self: center;
  text-align: center;
}

.events-list li span {
  justify-self: center;
}
.event-location {
  font-weight: bold;
}

.diagonal-box {
  background-color: black;
  height: fit-content;
  padding: 1rem;

  padding-top: 2rem;
  padding-right: 50px;
  clip-path: polygon(0 20%, 90% 0, 100% 100%, 0% 100%);
  background: linear-gradient(-100deg, var(--red) 11ch, var(--blue) 11.05ch);
}

.events-list .grid {
  grid-template-columns: none;
}

/* #endregion */

/* #region Contact */
.contact-section {
  width: 100vw;
}

.contact-info {
  flex-direction: column;
  gap: 5rem;
}

.contact-links {
  gap: 1rem;
}

.social-list {
  gap: 2rem;
}

.contact-links a {
  text-decoration: underline;
  text-decoration-thickness: 0.07lh;
  text-underline-offset: 0.27lh;
}

.contact-section ul {
  padding: 0;
}

.contact-section li {
  margin-top: 0.5rem;
}

.social-list a:hover {
  color: var(--red);
}

.social-list a:hover::before {
  transform: scale(0);
}

/* #endregion */

/* #region Footer */

footer span {
  position: absolute;
  bottom: 0;
  right: 0;
  padding-right: 2rem;
  padding-bottom: 1rem;
}

/* #endregion */

/* #region Media */

/* 480px */
@media screen and (min-width: 30em) {
  .menu {
    display: block;
  }

  .players-list {
    --grid-width: 15vw;
    width: 60vw;
  }

  .play-lg {
    display: block;
  }

  .play-sm {
    display: none;
  }

  .contact-links a {
    text-decoration: none;
  }

  a {
    font-size: var(--step-0);
  }

  /* Animate the line from the left */
  a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--red);
    transform: scaleX(0);
    transform-origin: top left;
    transition: transform 0.3s ease;
  }

  a:hover::before {
    transform: scaleX(1);
  }
}

/* 640px */
@media screen and (min-width: 40em) {
  .about-section {
    flex-direction: row;
  }

  .hero-slider {
    height: 90vh;
  }
}

/* 800px */
@media screen and (min-width: 50em) {
  .track-art {
    width: 20vw;
  }

  .track-name {
    font-size: 3rem;
  }

  .album-list {
    display: block;
  }
}

/* 1040px */
@media screen and (min-width: 65em) {
  body {
    font-size: var(--step-1);
  }

  .header {
    flex-direction: row;
  }

  .players-list li {
    clip-path: polygon(0 20%, 90% 0, 100% 100%, 0% 20%);
  }

  .players-list li:hover {
    clip-path: polygon(0px 4px, 97.9% 1px, 100% 100%, 0px 100%);
    box-shadow:
      rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
      rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  }

  .player-info {
    display: none;
  }

  .players-list li:hover .player-info {
    display: block;
  }

  .grid {
    gap: 5rem;
  }

  .events-list .grid {
    --grid-width: 10vw;
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-width), 1fr));
  }

  .events-list h3 {
    justify-self: end;
    text-align: start;
  }

  .diagonal-box {
    padding-top: 20px;
  }

  .contact-info {
    flex-direction: row;
  }
}

/* #endregion */
