@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Bebas+Neue&family=Poppins:wght@400;700&display=swap');

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: #2F0744; /* Dark Purple */
    color: #FF7B00; /* Bright Orange for better visibility */
}

#p5-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    height: 70vh; /* Set a fixed height for the content area */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Add a subtle shadow for a framed look */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
#content-container::-webkit-scrollbar {
    display: none;
}

.page-content {
    display: none;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    padding-bottom: 150px; /* Add space at the bottom to prevent overlap with buttons */
}

.page-content.active-page {
    display: block;
    opacity: 1;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    color: #FF0077; /* Hot Pink */
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px #000000;
}

h1 {
    font-size: 5em;
}

/* This is the new rule for the specific title */
#what-is-the-project-page h1 {
    font-size: 3.5em; 
}

h2 {
    font-size: 3em;
}

h3 {
    font-size: 2em; /* New rule for h3 */
    margin-top: 30px;
}

p, ul {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #F0F0F0;
    text-align: left;
}

.last-p {
    margin-bottom: 0;
}

ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.3em;
    text-align: left;
    margin: 0 auto;
    width: fit-content;
}

li {
    margin-bottom: 10px;
}

.fade-in {
    animation: fadeInAnimation 1s forwards;
    opacity: 0;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#buttons-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

.nav-button {
    width: 120px;
    height: 120px;
    background-color: #FF7B00;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2F0744;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px #FF0077, 0 0 20px #FF0077, 0 0 30px #FF7B00;
    }
    100% {
        box-shadow: 0 0 20px #FF7B00, 0 0 30px #FF0077, 0 0 40px #FF0077;
    }
}

.nav-button:hover {
    transform: scale(1.05);
}

.page-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
}

.page-link {
    display: inline-block;
    padding: 12px 25px;
    font-family: 'Abril Fatface', serif;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    color: #2F0744;
    background-color: #FFD700;
    border-radius: 25px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-link:hover {
    background-color: #FF0077;
    transform: scale(1.05);
    color: #F0F0F0;
}

.submit-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FF7B00;
    color: #2F0744;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #FF0077;
}
/* ... (your existing CSS code) ... */

/* Accordion Styles */
.accordion-container {
    margin-top: 20px;
}

.accordion-button {
    display: block;
    padding: 12px 25px;
    font-family: 'Abril Fatface', serif;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    color: #2F0744;
    background-color: #FFD700;
    border-radius: 25px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 10px auto;
    width: fit-content;
}

.accordion-button:hover {
    background-color: #FF0077;
    transform: scale(1.05);
    color: #F0F0F0;
}

.accordion-button h3 {
    margin: 0;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
    font-family: 'Abril Fatface', serif;
    font-size: 1em;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.accordion-content.open {
    max-height: 1000px; /* Adjust this value as needed to accommodate the longest list */
}

.accordion-content ul {
    margin-top: 20px;
}

.small-image {
    max-width: 30%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.medium-image {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}