body {
    background-image: url("../p/corkboard/corkbg.png");
    background-size: cover;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: Flexi IBM;
}

#corkboard {
    display: block;
}

#sitemap {
    display: none;
}

a {
    text-decoration: underline;
    cursor: pointer;
    color: black;
}

a:visited {
    color: black;
}

.tooltip {
    position: absolute;
    display: block;
}

.tooltip-text {
    width: max-content;
    background-color: white;
    padding: 5px 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999999999999999999999999;
    font-size: 20px;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.content img {
    filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.3));
}

.active:hover  {
    filter: drop-shadow(0 0 6px white);
    cursor: pointer;
}

.active:hover .tooltip-text{
    opacity: 1;
}

.content {
    position: relative;
    width: 100%;
    height: 100vh;
}


.content > div {
    padding: 0;
    margin: 0;
    position: absolute;
    height: 50%;
}

.top-left {
    top: 0;
    left: 0;
    width: 60%;
}

.top-right {
    top: 0;
    right: 0;
    width: 40%;
}

.bottom-left {
    bottom: 0;
    left: 0;
    width: 40%;
    transition: 0.2s ease-in-out;
}

.bottom-right {
    bottom: 0;
    right: 0;
    width: 60%;
}

#note-img {
    width: 100%;
}

#welcome-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    z-index: 5;
    width: 190px;       /* fits nicely on note */
    text-align: center;
    font-family: Flexi IBM;
    font-weight: 100;
    line-height: 1;
}

#center-note {
    position: fixed;      
    top: 50%;             
    left: 50%;            
    transform: translate(-50%, -50%); 
    width: 260px;      
    z-index: 99999;     
}

#close-btn {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 10;
    rotate: -6deg;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px;
    border: 2px solid black;
    background-color: rgba(255,255,255,0.5); /* optional for readability */
}

#bookwriting {
    display: none;
    position: absolute;
    left: 10px;
    z-index: 999999999999999999;
    cursor: pointer;
    filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.8));
    transition: 0.2s ease-in-out;
}

#bookwriting:hover {
    transform: scale(1.5);
}

/* ---------------- TOP LEFT IMGS ---------------- */
#bunny-keyring-wrapper {
    z-index: 10;
    top: 20px;
}
#bunny-keyring { width: 290px; }

#clover-wrapper {
    top: 180px;
    left: 160px;
    z-index: 10;
}
#clover { width: 220px; }

#nook-sticker-wrapper {
    top: 240px;
    left: 400px;
    z-index: 8;
}
#nook-sticker { width: 100px; }

#doll-wrapper {
    left: 270px;
    top: 90px;
    z-index: 9;
}
#doll { width: 80px; }

#wing-wrapper {
    left: 500px;
    top: 270px;
    z-index: 15;

}
#wing { width: 60px; rotate: 14deg; }

#worlds-hub-wrapper {
    left: 300px;
    z-index: 4;
    top: 30px;
}
#worlds-hub { width: 400px; }

#marc-jacobs-wrapper {
    z-index: 6;
    left: 640px;
    top: 50px;
}
#marc-jacobs { width: 130px; rotate: 5deg; }

#zine-wrapper {
    z-index: 5;
    left: 750px;
    top: 100px;
}
#zine { width: 130px; rotate: 7deg; }

/* ---------------- TOP RIGHT IMGS ---------------- */

#conlang-wrapper {
    left: 20px;
    top: 35px;
}
#conlang { width: 450px; rotate: 1deg; }

#katebush-wrapper {
    left: 410px;
    top: 100px;
}
#katebush { width: 140px; }

#headphones-wrapper {
    top: 180px;
    left: 220px;
    z-index: 999;
}
#headphones { width: 230px; }

/* ---------------- BOTTOM LEFT IMGS ---------------- */
#badge-wrapper {
    z-index: 10;
    top: 30px;
    left: 130px;
}
#badge { width: 120px; }

#heartpatch-wrapper {
    z-index: 9;
    top: 190px;
    left: 70px;
}
#heartpatch { width: 100px; }

#selfie-wrapper {
    z-index: 8;
    top: 120px;
    left: 60px;
}
#selfie { width: 200px; rotate: -5deg; }

#notebook-wrapper {
    z-index: 6;
    left: 430px;
}
#notebook { width: 150px; rotate: 10deg; }

#cat-sticker-wrapper {
    z-index: 7;
    left: 490px;
    top: 220px;
}
#cat-sticker { width: 100px; }

#calendar-wrapper {
    z-index: 5;
    left: 230px;
    top: 40px;
}
#calendar { width: 250px; }

/* ---------------- BOTTOM RIGHT IMGS ---------------- */
#revachol-wrapper {
    left: 20px;
    top: 20px;
    z-index: 8;
}
#revachol { width: 280px; rotate: -3deg; }

#postcard-wrapper {
    left: 400px;
    top: 150px;
    z-index: 1;
}
#postcard { width: 300px; }

#heartgem-wrapper {
    left: 300px;
    top: 150px;
    z-index: 7;
}
#heartgem { width: 200px; }

#luckwheel-wrapper {
    z-index: 6;
    left: 650px;
    top: 170px;
}
#luckwheel { width: 200px; }

#stamp-wrapper {
    z-index: 5;
    left: 330px;
    top: 0px;
}
#stamp { width: 160px; }

#ruler-wrapper {
    z-index: 11;
    left: 670px;
}
#ruler { width: 200px; rotate: -5deg; }


    #sitemap {
        justify-content: center;
        align-items: center;
        padding: 30px;
    }

    #sitemap-content {
        background-image: url("../p/paper.jpg");
        background-size: cover;
        filter: drop-shadow(3px 3px 10px rgb(0,0,0,0.2));
        width: 80%;
        padding: 0 20px;
    }

    .inactive {
        text-decoration: line-through;
        color: grey;
    }

    #sitemap h3 {
        font-weight: 100;
        font-size: 25px;
    }

    ul li {
        list-style: none;
        padding-left: 30px;
        background: url("../p/corkboard/ul.svg") no-repeat 0 3px;
        background-size: 20px;
    }

    #sitemap a {
        text-decoration: none;
    }

    #sitemap-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    #sitemap-header button {
        height: min-content;
        font-family: Flexi IBM;
        padding: 2px 5px;
    }

    #sitemap-header button:hover {
        cursor: pointer;
    }

    #hidden {
        display: none;
    }
}
