body {
    background: linear-gradient(45deg, #9b6f9e, #6179bb, #f4b6b6);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    text-align: center;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-link {
    background-color: #928fd3;
    color: white;
    font-family: "Eczar", serif;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
}

.nav-link:hover {
    background-color: white;
    box-shadow: 0 0 10px #928fd3;
    color: #928fd3;
}

h1 {
    font-family: "Eczar", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    font-size: 90px;
    text-align: center;
    color: beige;
    margin-top: 30px;
    margin-bottom: 70px;
}

/* Style the new polygon (constellation lines) */
.constellation-two {
    fill: none; /* No fill, just the shape outline */
    stroke: #ffffff; /* White stroke for the outline */
    stroke-width: 0.5; /* Thin lines */
    margin-right: auto;
    margin-left: auto;
    width: 430px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: -5%;
    top: -60%;
}

/* Style the stars (dots) */
.star-two {
    fill: white; /* White color for the stars */
    cursor: pointer;
}

/* Change the color of the first star */
.star-two:first-of-type {
    fill: #FFD700; 
}

.verse {
    display: none;
    position: fixed;
    transform: translate(-50%,-50%);
}

.verse#one {
    left: 24%;
    top: 44%;
}

.verse#two {
    left: 34%;
    top: 75%;
}

.verse#three {
    left: 58%;
    top: 41%;
}

.verse#four {
    left: 68%;
    top: 47%;
}

.verse#five {
    left: 68%;
    top: 80%;
    font-size: 40px;
}

.verses{
    font-family: "Eczar", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    color: #ffffff;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 1.3px;
    position:relative;
    height: 70%;
    width: 100%;
    top: 20%;
}

h3 {
    position: absolute;
    bottom: 69px; /* Adjust to position it above the audio player */
    left: 29px;   /* Align it with the left side of the page (same as the audio player) */
    font-family: "Eczar", serif;
    letter-spacing: 1.4px;
    color: #ffe44d;  
    font-size: 16.5px;  /* Adjust size as needed */
    line-height: 1.4;
    font-weight: 400;
    z-index: 101; /* Ensure it stays above other content */
}

.audio-player {
    position: absolute;
    bottom: 20px;  /* Position from the bottom */
    left: 20px;    /* Position from the left */
    z-index: 100;  /* Ensure it's on top of other content if necessary */
}



/* Media Queries for Responsiveness */

/* For screens smaller than 768px (tablets and mobile devices) */
@media (max-width: 768px) {
    h1 {
        font-size: 35px; /* Adjust h1 size for tablets */
        margin-top: 20px; /* Reduce top margin */
    }

    .nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    /* Style the new polygon (constellation lines) */
    .constellation-two {
    fill: none;     
    stroke: #ffffff; 
    stroke-width: 0.5; 
    margin-right: auto;
    margin-left: auto;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: -2%;
    top: -56%;
    }

    /* Style the stars (dots) */
    .star-two {
    fill: white; /* White color for the stars */
    cursor: pointer;
    }

    .verse#one {
        left: 34%;
        top: 38%;
    }
    
    .verse#two {
        left: 35%;
        top: 70%;
    }
    
    .verse#three {
        left: 49%;
        top: 28%;
        font-size: 12px;
    }
    
    .verse#four {
        left: 66%;
        top: 30%;
    }
    
    .verse#five {
        left: 56%;
        top: 68%;
        font-size: 18px;
    }

.verses{
    font-family: "Eczar", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    color: #f1edd9;
    font-size: 12.5px;
    line-height: 165%;
    letter-spacing: 1.3px;
    position:relative;
    height: 70%;
    width: 100%;
    top: 20%;
    }

    .audio-player {
        width: 80%;
        left: 10%;
        bottom: 10px;
    }
}