body {
    font-family: 'Courier New', Courier, monospace, 'San-Serif';
    background-image: url('images/panel1bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0px;
    width: 100%;
    max-width: 1200px;
}

#file-template {
    display: none;
}

.file-container {
    background-color: white;
    border: 2px solid #000;
    padding: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.file-header {
    text-align: center;
    border-bottom: 2px solid #000;
    margin-bottom: 20px;
}

.file-header h1 {
    margin: 0;
    font-size: 36px;
    color: red;
}

.file-header p {
    margin: 0;
    font-size: 18px;
    color: #555;
}

.file-content {
    display: flex;
    flex-direction: row;
}
.featured-nfts {
    margin-top: 20px;
    text-align: center;
}

.featured-nfts h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}
.member-photo {
    width: 100px;
    height: 130px;
    object-fit: cover;
    border: 2px solid #000;
    margin-right: 20px;
    flex-shrink: 0;
}

.member-details {
    flex-grow: 1;
}

.member-details h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.member-details p {
    margin: 5px 0;
}

.background-container {
    margin-top: 5px;
    padding: 10px;
    border: none;
    background-color: #ffffff;
}

.background-container p {
    text-align: justify;
    text-indent: 50px;
    margin: 10px 0;
}

.file-videos {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.file-videos iframe {
    width: 95%;
    height: auto;
    aspect-ratio: 16 / 9; /* Ensures the iframe maintains a 16:9 aspect ratio */
    border: 2px solid #000;
    display: block; /* Default to block, controlled by JS */
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: block;
}

.visit-site-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

.visit-site-button:hover {
    background-color: #0056b3;
}
.button-container-fixed {
  position: fixed;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align to the left */
  gap: 20px; /* Add space between buttons */
  z-index: 2; /* Ensure this container is on top */
}

/* Buy Me Coffee Button Styles */
.buy-me-coffee,
.copy-text,
.back-to-main-menu,
.back-to-last-page {
  position: fixed;
  background-color: transparent;
  color: #fff;
  padding: 7px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.7em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.buy-me-coffee:hover,
.copy-text:hover,
.back-to-main-menu:hover,
.back-to-last-page:hover {
  background-color: #e0a82d;
  text-decoration: underline;
}

  .back-to-last-page {
    bottom: 60px;
    left: 20px;
    z-index: 2;
    padding: 10px;
}

.buy-me-coffee {
  bottom: 60px;
  right: 20px;
}

.copy-text {
  bottom: 20px;
  right: 20px;
}

.back-to-main-menu {
  bottom: 20px;
  left: 20px;
  z-index: 1;
  padding: 10px;
}

@media (min-width: 768px) {
    .file-content {
        flex-direction: row;
    }

    .member-photo {
        margin-bottom: 0;
        margin-right: 20px;
    }

    .member-details {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .file-header h1 {
        font-size: 2.5em;
    }

    .file-header p {
        font-size: 1.2em;
    }

    .member-details h2 {
        font-size: 2em;
    }
}