/* <!-- Copyright 2023 - By Chris Tijerina and Edward Whalen --> */
/* Base + neon-grid overlay */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh; /* Required for sticky footer */
    overflow-x: hidden;
    font-family: 'Monoton', sans-serif;
    background: radial-gradient(circle at center, #0d0d0d, #000 80%);
    color: #00ffff;
    position: relative;
}

body {
    padding-top: 80px;       /* Header height */
    padding-bottom: 64px;    /* Footer height! Set this to match actual footer height */
    margin: 0;
    width: 100%;
    background: radial-gradient(circle at center, #0d0d0d, #000 80%);
    color: #00ffff;
    font-family: 'Monoton', sans-serif;

}

/* Prevent body overflow on the x-axis */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/cloud1/img/neon-grid.png') center/cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Header banner */
header.banner {
    background: rgba(10,10,10,0.8);
    border-bottom: 2px solid #aaaaaa;
    backdrop-filter: blur(10px);
    color: #00ffff;
    padding: 12px 24px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

header.banner h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00ffff;
}

header .menu-icon {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  color: #00ffff;
  cursor: pointer;
  z-index: 1001;
}

header .dropdown {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1000;
}

header .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  flex-direction: column;
  background: rgba(10,10,10,0.8);
  border: 1px solid #aaaaaa;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow: hidden;
  width: 180px;
}

header .dropdown-content.show {
  display: flex;
}

header .dropdown-content a {
  padding: 12px 16px;
  color: #00ffff;
  text-decoration: none;
  font-weight: 500;
}

header .dropdown-content a:hover {
  background: rgba(255,255,255,0.1);
}

.slogan {
  display: block;
  margin-top: 4px;
  font-size: 1.0em;
  color: white;
}

/* Push content below header */
body > *:not(header) {
  margin-top: 100px;
}

/* Main content area adjustments */
main {
    flex: 1;
    padding: 80px 20px 20px; /* Adjust padding to ensure space for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1;
    overflow-y: auto;  /* Allow scrolling if the content overflows */
    height: calc(100vh - 80px); /* Ensure the main section takes the remaining height */
    width: 100%;
    max-width: 800px; /* Ensure the content doesn't overflow */
    box-sizing: border-box;
    margin: 0 auto; /* Center the content horizontally */
}

/* Profile container */
.profile-container {
  background: rgba(10,10,10,0.5);
  border: 1px solid #aaaaaa;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  padding: 20px;
  margin: 20px auto;
  /* max-width: 800px; */
  width: 90%;
  color: #fff;
  /* overflow-y: auto; /* Allow scrolling */
  /* max-height: 80vh; /* Limit height to 80% of the viewport */
  box-sizing: border-box;
}

/* Collapsible Button */
.collapsible {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,255,0.7);
    color: #00ffff;
    cursor: pointer;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}

/* Expand/Collapse Logic */
.content {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,255,0.7);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px;
    display: none;
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
    /* max-height: 400px; */
    /* overflow-y: auto; */
}

.collapsible.active + .content {
    display: block;
}

/* Form styles */
#profile-form {
  margin-top: 16px;
}

fieldset {
  border: none;
  margin: 0 0 20px;
  padding: 0;
}

legend {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff00ff;
  margin-bottom: 8px;
  text-transform: uppercase;
}

label {
  display: block;
  margin: 8px 0 4px;
  font-weight: 500;
  color: #00ffff;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0,255,255,0.7);
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  box-sizing: border-box;
  transition: border-color 0.3s, backdrop-filter 0.3s;
  backdrop-filter: blur(4px);
}

input:focus {
  outline: none;
  border-color: #ff00ff;
  backdrop-filter: blur(6px);
}

/* Save button */
button[type="submit"] {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: #00ffff;
  border: 1px solid #00ffff;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 12px;
}

button[type="submit"]:hover {
  background: rgba(0,255,255,0.2);
  transform: scale(1.03);
}

/* Video placard */
.video-placard {
  background: rgba(10,10,10,0.6);
  border: 1px solid #00ffff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.video-placard h3 {
  color: #00ffff;
  margin-bottom: 12px;
}

.video-placard ol {
  list-style: decimal inside;
  padding-left: 0;
  max-height: 260px;
  overflow-y: auto;
}

.list-item-space {
  margin-bottom: 1rem;
  color: #fff;
}

/* Video list buttons */
.button3,
.button-container button {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,255,0.7);
  border-radius: 6px;
  color: #00ffff;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-size: 0.9rem;
}

.button3:hover,
.button-container button:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.05);
}

/* Footer */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background: rgba(10,10,10,0.8);
    border-top: 2px solid #aaaaaa;
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 12px rgba(255,0,255,0.3);
    color: white;
    text-align: center;
    padding: 12px 24px;
    font-size: 0.75em;
    box-sizing: border-box;
}

footer a {
  color: #00ffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .profile-container {
    padding: 12px;
  }
  .collapsible {
    padding: 10px;
    font-size: 0.9rem;
  }
  .content {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .profile-container {
    padding: 8px;
  }
  .collapsible {
    padding: 8px;
  }
  .content {
    padding: 8px;
  }
}
