/* BODY */
body, html {
    height: 100%;
    font-family: 'Amatic SC', cursive;
    background: url('starrysky.gif') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
padding: 20px;
    cursor: url('compass-cursor.png') 12 12, pointer;
    display: flex;
    flex-direction: column;
}

/* HEADER */
h1 {
    font-family: "Comforter Brush";
    font-size: 70px;
    letter-spacing: 15px;
     padding-top: 20px;
     padding-left: 50px;
     padding-right: 50px;
     position: absolute;
     left: 0;
    width: 100%;  
    text-align: center;
  display: block;       
    color: white;
    text-shadow: 0 0 15px fuchsia, 0 0 15px blueviolet;
    z-index: 10;
}

/* TEXT */
h2 {
   font-family: "Amatic SC";
    color: #3f0fB7;
    font-size:24px;
    line-height: 30px;
    font-weight: bold;
}

p {
    font-family: "Amatic SC";
    color: mediumpurple;
    font-size:24px;
    line-height: 30px;
    font-weight: bold;
}


/* LINKS */
a {
    color: fuchsia; 
    text-decoration: none; 
    font-weight: bold;    
    transition: color 0.3s ease; 
}

/* HOVER EFFECT */
a:hover {
    color: cyan;   
}

/* POEM CONTAINER */
.poem-container {
  display: block;
    background-color: white;
    opacity: 0.85; 
    padding: 20px;
    width: 350px; 
    height: 600px; 
    margin-left: auto;
    margin-right: 1000px; 
    margin-top: 175px;
    position: relative;
    border-radius: 30px;
    align-self: flex-start;
    box-shadow: 
        0 0 0 4px #FFA07A,
        0 0 0 10px #FFFACD,
        0 0 0 14px #FFA07A;
}

/* FOOTER */
footer {
  position: absolute;
  left: 40px;
  bottom: 20px;
  width: auto;
  text-align: left;
  background-color: transparent;
}

/* COMPASS ROSE NAVIGATION */
.compass-nav {
    position: fixed;
    bottom: 75px;
    right: 75px;
    width: 150px;
    height: 150px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-label {
    display: block;
    cursor: pointer;
    transition: transform 0.8s ease;
    filter: drop-shadow(0 0 10px #FFFACD);
    z-index: 1001;
}

.compass-icon {
    width: 150px;
    height: 150px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0 ;
    margin: -1px ;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

#toggle:checked + .compass-label {
    transform: rotate(360deg);
}

ul.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transition: all 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

#toggle:checked ~ ul.menu-list {
    opacity: 1;
    pointer-events: auto;
}

/* COMPASS ICONS */
ul.menu-list li {
    --radius: 100px;  
    --offset: -0.25turn;
    --count: 4;
    position: absolute;
    top: 0; left: 0;
    padding: 0;
    margin: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translate(-50%, -50%);
}

#toggle:checked ~ ul.menu-list li {
    transform: translate(-50%, -50%) 
               rotate(calc((var(--i) * 1turn / var(--count)) + var(--offset))) 
               translate(var(--radius))
               rotate(calc(-1 * ((var(--i) * 1turn / var(--count)) + var(--offset))));
}

ul.menu-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #FFFACD;
    border: 3px solid #FFA07A;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

ul.menu-list a:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px #FFFACD;
}