@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  /* margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; */
  background: #181818;
  color: #e6e6e6;
}

/* Navigation */
nav {
  position: fixed; /* changed from sticky */
  top: 0;
  left: 0;
  right: 0;
  background-color: #181818;
  display: flex;
  justify-content: center;
  width: 100vw;
  /* height: var(--nav-height); */
  padding: 20px 0;
  z-index: 99999; /* much higher than anything else except modal */
}

nav .navbar-container {
  width: 100%;
  /* max-width: 1200px; */
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .burger {
  /* position: absolute;
    top: 20px;
    right: 40px; */
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 999999;
}

nav .burger #pic1 {
  width: 100%;
  height: 100%;
  z-index: 999999;
  /* transform: scale(1); */
  /* filter: invert(100%); */
  /* filter: grayscale(0); */
  /* transition: 0.5s; */
}

nav .burger .active #pic1 {
  /* filter: invert(100%); */
  z-index: 9999999999 !important;
}

/* nav .burger.active #pic1 {
  filter: invert(100%);
} */

nav .burger #pic2 {
  width: 100%;
  height: auto;
  transform: scale(1);
  filter: saturate(5);
  transition: 0.5s;
  z-index: 99999;
}

nav .burger #pic2.active {
  transform: scale(1);
}

nav ul {
  width: 50%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--main-color);
  list-style-type: none;
}

nav ul li a {
  color: #36a0cd;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #cd3636;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.342);
}

@media screen and (max-width: 700px) {

    nav .navbar-container {
        width: 100%;
        padding: 0 20px;
        justify-content: end;
    }
    nav .burger {
        display: block;
    }
    /* nav .burger span {
    background-color: #ffffff;
    } */
    nav ul {
        position: absolute;
        top: calc(-100vh + 80px);
        left: 0;
        width: 100%;
        /* height: 100%; */
        /* background-color: #000000; */
        transition: 0.5s;
        z-index: 1000; 
        display: block;
        text-align: center;
    }

    nav ul.active {
        top: 0px;
        left: 0;
        width: 100%;
        padding-top: 80px;
        /* height: 100%; */
        /* height: 60vh; */
        z-index: 10001;
        
    }

    nav ul li {
        padding: 30px 10px;
        /* background-color: #000000; */
        background-color: #222;

    }
  }


/* End of Navigation */

section {
  min-height: 100vh;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 2rem;
  gap: 2rem; */
}

section#main {
  padding-top: 80px; /* to offset the fixed nav height */
}

img#logo {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

a#luna {
    color: #36a0cd;
    text-decoration: none;
    font-weight: bold;
    transition: .8s;
}

a#luna:hover {
    color: #ec2424;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.342);
}

.grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  /* justify-content: center;
  align-items: center; */
}

/* ≥ 768px: 2 columns */
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ≥ 1024px: 3 columns */
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: 2fr 1fr 2fr;
  }
}

.grid-item {
  display: flex;
  background: #222;
  /* background: transparent; */
  /* color: #fff; */
  padding: 1.5rem;
  border-radius: 0.5rem;
  justify-content: center;
  align-items: center;
}

.grid-item #coverImg {
  width: 100%;
  height: auto;
}

img#cytropic {
  max-width: 500px;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

@media (max-width: 768px) {
  img#cytropic {
    /* max-height: 400px; */
    height: 100%;
  }
}

.grid-item p {
  text-align: justify;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* PLAYER design */
.player {
  width: 100%;
  max-width: 420px;
  background: #111;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
}

.title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  opacity: 0.9;
}

canvas {
  width: 100%;
  height: 90px;
  background: #000;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
}

.progress {
  height: 4px;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ffd5, #7b5cff, #ff4ecd);
}

.controls,
.visual-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

button {
  background: #222;
  border: none;
  color: #fff;
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button.toggle {
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
}

button:hover {
  background: #333;
}
button:active {
  transform: scale(0.95);
}
/* END of PLAYER design */

.socialMatrix {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    flex-wrap: wrap;
    padding: 2em 0;
}

.socialMatrix div {
  background-color: #1b1b1b;
    width: 80px;
    height: 80px;
}

.socialMatrix div a {
    display: block;
    padding: 10px;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    border-radius: 3px;
    box-shadow:
    0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075),
    0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075),
    0 16px 16px hsl(0deg 0% 0% / 0.075)
  ;
  transform: scale(1);
}

.socialMatrix div:nth-child(1) a:hover {
    transform: scale(1.05);
    background-color: #1877F2;
}

.socialMatrix div:nth-child(2) a:hover {
    transform: scale(1.05);
    background-color: #E4405F;
}

.socialMatrix div:nth-child(3) a:hover {
    transform: scale(1.05);
    background-color: #d60a0a;
}

.socialMatrix div:nth-child(4) a:hover {
    transform: scale(1.05);
    background-color: #FF3300;
}


/* GALLERY */

.gallerypic {
      max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

section#gallery .gallery-grid {
      display: grid;
      grid-gap: 16px;
      padding: 32px 16px;
      grid-template-columns: 1fr;
      max-width: 1200px;
      margin: 0 auto;
    }
    section#gallery .gallery-item {
      position: relative;
      width: 100%;
      aspect-ratio: 4/3;
      cursor: pointer;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 2px 12px #0001;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    section#gallery .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .3s;
    }
    section#gallery .gallery-item:hover img {
      transform: scale(1.04);
    }

        @media (min-width: 600px) {
     section#gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (min-width: 900px) {
     section#gallery .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

/* END of GALLERY */

/* MUSIC section */

section.music {
  padding-bottom: 2em;
}


.youtubeMatrix {
    max-width: 90%;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* END of MUSIC section */

footer {
  width: 100%;
    height: 50px;
    padding: 10px;
    background-color: #030303;
    color: #f5f5f5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer img {
    height: 30px;
    margin-right: 10px;
}

@media screen and (max-width: 400px) {
    footer {
        font-size: 14px;

    }
}