/* 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;
    margin: 0;
padding: 20px;
    cursor: url('compass-cursor.png') 12 12, pointer;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

/* 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 MediumAquaMarine, 0 0 15px MediumAquaMarine;
    z-index: 10;
}

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

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


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

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

/* CONTENT WRAPPER */
.content-wrapper {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    width: 95%;
    max-width: 1600px;
}

/* POEM CONTAINER */
.poem-container {
 display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: white;
    opacity: 0.85; 
    padding: 20px;
    width: 900px; 
    height: 500px; 
    margin-left: auto;
    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;
}

/* THE TWO-COLUMN MAGIC */
.two-column-poem h2 {
    column-count: 2;
    text-align: left; 
}

/* MANDALA MAKER */
.mandala-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 850px;
    margin-top: 20px;
}

.mandala {
    position: relative;
    width: 600px;
    height: 600px;
    background-color: white;
    opacity: 0.9;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    touch-action: none; 
}

.mandala canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    border-radius: 50%;
}

.mandala .draw {
    cursor: crosshair;
    z-index: 5;
}

/* 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;
}


/* PETALS */
.snowflake img{
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
  color: #fff;
  font-size: 1em;
  font-family: Arial;
  text-shadow: 0 0 1px #fde9ff;
}

@-webkit-keyframes snowflakes-fall{0%{top:-0%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-2%}100%{top:110%}}@keyframes snowflakes-shake{1%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-4%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:15s,5s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:15s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:0%;-webkit-animation-delay:3s,0s;animation-delay:3s,0s}.snowflake:nth-of-type(1){left:12%;-webkit-animation-delay:0s,5s;animation-delay:3s,3s}.snowflake:nth-of-type(2){left:24%;-webkit-animation-delay:6s,.6s;animation-delay:0s,.7s}.snowflake:nth-of-type(3){left:27%;-webkit-animation-delay:3s,2s;animation-delay:5s,2s}.snowflake:nth-of-type(4){left:44%;-webkit-animation-delay:1s,2s;animation-delay:0s,2s}.snowflake:nth-of-type(5){left:56%;-webkit-animation-delay:4s,3s;animation-delay:2s,3s}.snowflake:nth-of-type(6){left:59%;-webkit-animation-delay:5s,2s;animation-delay:3s,2s}.snowflake:nth-of-type(7){left:71%;-webkit-animation-delay:https://proxy.everskies.com/a/https://proxy.everskies.com/a/2.5s,1s;animation-delay:https://proxy.everskies.com/a/https://proxy.everskies.com/a/2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:4s,0s;animation-delay:3s,0s}.snowflake:nth-of-type(9){left:81%;-webkit-animation-delay:3s,https://proxy.everskies.com/a/https://proxy.everskies.com/a/1.5s;animation-delay:3s,https://proxy.everskies.com/a/https://proxy.everskies.com/a/1.5s}
}
