/* ========================================
   PermaTek
   Main Stylesheet
   ======================================== */


/* ========================================
   BODY
   ======================================== */

body {
  margin: 0;

  font-family: 'Orbitron', sans-serif;

  background: url("../img/Blanco_Background.png") center center fixed;
  background-size: cover;

  color: #ffbf00;
}


body::before {
  content: "";

  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.65);

  z-index: -1;
}


/* ========================================
   MAIN CONTENT
   ======================================== */

.content {
  width: 90%;
  max-width: 1100px;

  margin: auto;

  padding: 12vh 0 8vh;
}

/* ========================================
   INDEX — PORTAL BUTTONS
   ======================================== */

.portal-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
}


.portal-btn,
.soundsystems-btn,
#bpmCounter {
  padding: 12px 20px;

  color: #ffbf00;
  text-decoration: none;

  border: 2px solid #ffbf00;
  border-radius: 8px;

  background: rgba(0, 0, 0, 0.35);

  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;

  text-shadow: 0 0 10px #ffbf00;

  box-shadow:
    0 0 10px rgba(255, 191, 0, 0.5);

  transition: all 0.2s ease;
}


.portal-btn:hover,
.soundsystems-btn:hover,
#bpmCounter:hover {
  background: rgba(255, 191, 0, 0.15);

  box-shadow:
    0 0 10px #ffbf00,
    0 0 25px rgba(255, 191, 0, 0.7);

  transform: scale(1.05);
}


.portal-btn {
  position: absolute;

  bottom: 3%;
  left: 3%;
}


.portal-btn.right {
  left: auto;
  right: 3%;
}


.soundsystems-btn {
  position: fixed;

  top: 3%;
  right: 3%;

  z-index: 10;
}


#bpmCounter {
  position: fixed;

  top: 3%;
  left: 3%;

  z-index: 10;
}



/* ========================================
   BACK BUTTON
   ======================================== */

.back-btn {
  position: fixed;

  top: 3%;
  left: 3%;

  padding: 12px 20px;

  color: #ffbf00;

  text-decoration: none;

  border: 2px solid #ffbf00;
  border-radius: 8px;

  background: rgba(0, 0, 0, 0.35);

  font-size: 0.9rem;
  font-weight: 700;

  text-shadow: 0 0 10px #ffbf00;

  box-shadow:
    0 0 10px rgba(255, 191, 0, 0.5);

  transition: all 0.2s ease;

  z-index: 999;
}


.back-btn:hover {
  background: rgba(255, 191, 0, 0.15);

  box-shadow:
    0 0 10px #ffbf00,
    0 0 25px rgba(255, 191, 0, 0.7);

  transform: scale(1.05);
}


/* ========================================
   808 HEADER IMAGE / BUTTON
   ======================================== */

[class~="808-header-button"] {
  display: flex;

  width: 100%;

  justify-content: center;
  align-items: center;

  margin: 0 auto 35px;

  text-decoration: none;

  transition: all 0.25s ease;
}


[class~="808-header-button"] {
  min-height: 420px;

  background:
    url("../img/808/808_logo.jpg")
    center center / contain no-repeat;
}

[class~="808-header-button"] img {
  display: block;

  width: 100%;
  max-width: 900px;

  height: auto;

  object-fit: contain;

  opacity: 0;
  pointer-events: none;

  transition: all 0.25s ease;
}


[class~="808-header-button"]:hover img {
  transform: scale(1.025);

  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.4))
    drop-shadow(0 0 25px rgba(255, 255, 255, 0.25));
}


/* ========================================
   ABOUT 808
   ======================================== */

.collective-box {
  position: relative;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("../img/808/Stack.png")
    center center / contain no-repeat;

  background-color: rgba(0, 0, 0, 0.45);

  border: 2px solid rgba(255, 191, 0, 0.7);

  border-radius: 12px;

  padding: 35px;

  box-shadow:
    0 0 15px rgba(255, 191, 0, 0.35);

  margin-bottom: 50px;

  overflow: hidden;
}


.collective-box h2 {
  color: #ffbf00;

  margin-top: 0;

  text-shadow:
    0 0 10px #ffbf00;
}


.collective-box p {
  color: white;

  line-height: 1.8;
}


/* ========================================
   MEMBERS TITLE
   ======================================== */

.section-title {
  color: #ffbf00;

  text-shadow:
    0 0 10px #ffbf00;

  margin-bottom: 25px;
}


/* ========================================
   MEMBERS SECTION
   ======================================== */

.members {
  position: relative;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;

  padding: 80px 35px;

  border: 2px solid rgba(255, 191, 0, 0.7);

  border-radius: 12px;

  overflow: hidden;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("../img/808/Stack.png")
    center center / cover no-repeat;

  box-shadow:
    0 0 15px rgba(255, 191, 0, 0.35);
}


/* ========================================
   MEMBER CARD
   ======================================== */

.member-card {
  position: relative;

  z-index: 2;

  display: block;

  background: rgba(0, 0, 0, 0.65);

  border: 2px solid rgba(255, 191, 0, 0.5);

  border-radius: 10px;

  padding: 25px;

  text-align: center;

  text-decoration: none;

  transition: all 0.2s ease;
}


.member-card:hover {
  border-color: #ffbf00;

  box-shadow:
    0 0 15px rgba(255, 191, 0, 0.7);

  transform: translateY(-4px);
}


/* ========================================
   MEMBER IMAGE
   ======================================== */

.member-card .member-image {
  display: block;

  height: 120px;
  width: auto;
  max-width: 100%;

  margin: 0 auto 20px;

  object-fit: contain;
  border-radius: 8px;
}


/* ========================================
   MEMBER NAME
   ======================================== */

.member-card h3 {
  color: #ffbf00;

  margin: 10px 0;

  text-shadow:
    0 0 10px #ffbf00;
}


/* ========================================
   MEMBER DESCRIPTION
   ======================================== */

.member-card p {
  color: white;

  opacity: 0.8;

  font-size: 0.85rem;

  line-height: 1.6;
}


/* ========================================
   LINKS
   ======================================== */

.links {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  margin-top: 50px;
}


.link-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 12px 20px;

  color: #ffbf00;

  text-decoration: none;

  border: 2px solid #ffbf00;

  border-radius: 8px;

  background: rgba(0, 0, 0, 0.35);

  font-size: 0.9rem;

  font-weight: 700;

  text-shadow: 0 0 10px #ffbf00;

  box-shadow:
    0 0 10px rgba(255, 191, 0, 0.5);

  transition: all 0.2s ease;
}


.link-btn:hover {
  background: rgba(255, 191, 0, 0.15);

  box-shadow:
    0 0 10px #ffbf00,
    0 0 25px rgba(255, 191, 0, 0.7);

  transform: scale(1.05);
}


/* ========================================
   LINK ICON
   ======================================== */

.link-icon {
  width: 22px;

  height: 22px;

  object-fit: contain;

  display: block;

  filter:
    drop-shadow(0 0 5px rgba(255, 191, 0, 0.5));
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 800px) {

  .members {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 500px) {

  .members {
    grid-template-columns: 1fr;

    padding: 50px 20px;
  }

  .collective-box {
    padding: 25px;
  }

  .member-card .member-image {
    height: 100px;
    width: auto;
    max-width: 100%;
  }

}