/* Some positioning and ratios */

#stickyLayer .sticky-container {
    z-index: 4000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 700px;
    max-width: 100%;
    height: 350px;
    max-height: 100%;
    display: block;
}

#stickyLayer .sticky-outer {
    display: flex;
    padding-top: 60%;
    position: relative;
    width: 100%;
}

#stickyLayer .sticky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/* Shadow behind the sticky note */

#stickyLayer .sticky:before {
    box-shadow: -2px 2px 15px 0 rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.25);
    content: '';
    width: 90%;
    left: 5px;
    height: 83%;
    position: absolute;
    top: 30%;
}


/* The sticky note itself */

#stickyLayer .sticky-content {
    background: linear-gradient( 180deg, #FFFFBB 0%, #FFFFDD 12%, #FFFFDD 75%, #FFFFBB 100%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'ZCOOL KuaiLe', cursive;
    clip-path: url(#stickyClip);
    flex-direction: column;
}


/* Add responsiveness */

@media screen and (min-width: 640px) {
    #stickyLayer .sticky:before {
        height: 79%;
        width: 90%;
    }
}

@media screen and (min-width: 768px) {
    #stickyLayer .sticky:before {
        height: 75%;
        width: 90%;
    }
    #stickyLayer .sticky-content {
        font-size: 1.5em;
        line-height: 1.6;
        color: #777;
    }
}

@media screen and (min-width: 1024px) {
    #stickyLayer .sticky:before {
        height: 73%;
        width: 90%;
    }
}

#stickyLayer #close-sticky-button {
    position: absolute;
    z-index: 1;
    top: 27px;
    right: 35px;
    border: 0;
    background: black;
    color: white;
    padding: 4px 10px;
    font-size: 1.3rem;
}

#stickyLayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
