/* css/styles.css */

/* Global Link Styles */
a {
  color: #00ffff; /* Neon blue */
  text-decoration: none;
  font-weight: bold;
}

a:visited {
  color: grey;
}

a:hover {
  color: #ff00ff;
}

a:active {
  color: white;
}

body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0 40px;
  padding-top: 20px; /* Reduce gap without cramming */
}

header {
  text-align: center;
  padding: 15px 20px; /* Reduce top padding */
  background-color: black; /* Prevents content from peeking through */
  border-bottom: 5px double #00ffff; /* Restored border */
}

.menu-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  z-index: 1000;
  padding: 10px 15px; /* Reduce padding while keeping structure */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Ensure left alignment */
}

.menu-toggle {
  background: none;
  border: none;
  color: #00ffff;
  font-size: 30px;
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 1001;
  align-self: flex-start; /* Keep the button left-aligned */
}

.menu {
  display: none;
  flex-direction: column;
  position: relative;
  width: 100%;
  background-color: black;
  text-align: center;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  padding: 5px 0; /* Maintain menu structure */
}

.menu a {
  padding: 6px 12px; /* Reduce space between menu items */
  font-size: 18px;
  display: block;
  text-align: left;
  padding-left: 15px;
}

.menu a:hover {
  background-color: #222;
}

.show-menu {
  display: flex;
  flex-direction: column;
}

.feature-card {
  text-align: center;
}

.about-img-half {
  width: 33.33%; /* Half the previous size */
  height: auto;
  max-width: 600px;
}

.screenplay-img {
  width: 50%; /* Keeps the screenplay images at the desired size */
  height: auto;
}

.screenplays-grid.centered-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

/* Typography */
.p {
  font-size: 20px;
  line-height: 1.8;
  color: #f0f0f0;
}

/*.p2 {
  font-size: 14px;
  line-height: 1.5;
  color: #f0f0f0;
} */
.p2 {
  font-size: 0.85rem; /* Default size for larger screens */
  line-height: 1.4;
  color: #f0f0f0;
}
.neon-separator {
    height: 2px;
    background: linear-gradient(90deg, #0ff, #00f, #0ff);
    margin: 40px 0;
}
footer {
  text-align: center;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .p2 {
    font-size: 0.7rem; /* Ensures p2 is smaller on mobile */
  }
  .table-container {
    flex-direction: column; /* Stacks table and images on mobile */
    align-items: center;
  }
  .profile-images {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers images below the table */
    margin-top: 20px; /* Adds spacing between table and images */
  }
  .about-me-page table {
    width: 100vw !important;
    max-width: 100% !important;
    min-width: unset !important;
    display: block !important;
  }
} 
  @media (max-width: 600px) {
  .feature-card p {
    max-width: 100% !important; /* Expands the text width on small screens */
    text-align: center !important; /* Left-aligns text on mobile */
    line-height: 1.0 !important; /* Adjusts line spacing for mobile */
    display: block !important; /* Ensures the block element behaves correctly */
  }
   .screenplays-intro {
    text-align: center !important; /* Left-aligns the intro text on mobile */
    max-width: 100% !important; /* Expands the text width on small screens */
    line-height: 1.0 !important; /* Adjusts line spacing for mobile */
    display: block !important; /* Ensures the block element behaves correctly */
  }
  .screenplay-entry {
    flex-direction: column !important; /* Stacks image above text */
    align-items: center !important; /* Centers everything */
    text-align: center !important; /* Centers text */
  }
  .screenplay-entry img {
    margin-bottom: 0px !important; /* Removes extra space between image and text */
    padding-bottom: 0 !important; /* Ensures no extra padding */
  }
  .screenplay-details {
    margin-top: -5px !important; /* Slight negative margin to bring text closer */
  }
  .blacklist-link {
    margin-bottom: 40px !important; /* Adds extra space after BlackList link */
  }
}
@media (max-width: 480px) {
  .p2 {
    font-size: 0.6rem; /* Even smaller on very small screens */
  }
}
  .menu {
    display: none;
    flex-direction: column;
    position: relative;
    width: 100%;
    background-color: black;
    text-align: left;
    padding: 5px 0; /* Maintain spacing */
  }

  .menu a {
    text-align: left;
    padding-left: 15px;
    padding: 6px 12px; /* Consistent spacing reduction */
  }

  .show-menu {
    display: flex;
  }
}
