:root{
    --accent: #5292ff;
    --darker: #1453e7;

    --overlay1: #fbffe9c1;

    --code: #ff402c;
    --garden: #00b013;
    --life: #0038ff;
    --art: #ff2f4f;
}
.mainContainer{
    overflow: hidden;
    display: flex;
}
.title{
    color: var(--offblack);
}
.kaoani{
    image-rendering: pixelated;
}

.journalSidebar{
    width: 20%;
    background-color: #d1ecff56;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 0 ;
    
}
.sidebarButtons{
    width: 80%;
}
#journalJumpTo{
    width: 100%;
    color: var(--darker);
    text-align: center;
}
.jumpTitle{    
    letter-spacing: 1cqw;
    background-color: var(--overlay);
    display: block;
    width: 100%;
    border-top: 1px solid var(--accent);
    padding-top: 10px;
}
#journalJumpTo ul{
    margin: auto;
    width: 100%;
    padding: 0;
}
.jumpEntry{
    width: 100%;
    padding: 0 5px;
    list-style: none;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--darker);
    font-size: 0.9em;
}
.jumpEntry span{
    text-align: right;
}
.jumpEntry:hover{
    cursor: pointer;
    background-color: var(--overlay);
}

.journalContainer{
    width: 80%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#contentHead{
    padding-top: 3%;
    width: 95%;
    height: min-content;
    margin: auto;
    margin-bottom: 10px;
}
#contentWrapper{
    scrollbar-color: var(--overlay1) transparent;
    overflow: auto;
    width: 100%;
    height: 90%;
    padding: 10px 50px;
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

#entriesWrapper{
    width: 100%;
}

#calendarWrapper{
    width: 95%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: var(--accent);
    border-radius: 20px;
}
#calendar{
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-bottom: 3px;
    margin-top: 10px;
} 
#calendar td{ 
    text-align: center;
    font-size: 0.8em;
    color: var(--accent);
    border: 1px solid var(--accent);
}
#calendar td div{
    padding: 1px;
    width: 100%;
    aspect-ratio: 1;
}
#calendarHead{
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
}
#printedDate{
    display: block;
    margin: auto;
    margin-top: 5px;
    font-family: "Porkys";
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    text-shadow: 
    1px 1px 0 var(--overlay1),
    1px -1px 0 var(--overlay1),
    -1px 1px 0 var(--overlay1),
    -1px -1px 0 var(--overlay1);
}
button{
    background-color: var(--overlay1);
    border: 1px solid var(--accent);
    border-radius: 5px;
    color: var(--accent);
}
button:hover{
    background-color: var(--overlay);
    cursor: pointer;
}

#status{
    width: 100%;
    margin: auto;
    margin-bottom: 10px;
    height: min-content;
    padding: 10px 20px;
    background-color: var(--accent);
    color: white;
}
#status a{
    color: var(--darker);
}

/*JOURNAL ENTRY*/
.entry{
    position: relative;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 1%;
    animation: bgScrolling 3s infinite;
    animation-timing-function: linear;
}
.entry span{display: block;}
.entryTitle{
    font-family: "Nunito";
    color: black;
    font-weight: 600;
    font-size: 1.5em;
}
.entryDate{
    font-size: 0.7em;
}
.entryContent{
    overflow: hidden;
    height: min-content;
    background-color: #fdfff3e2;
    padding: 10px 25px;
    margin-bottom: 5px;
    border-radius: 50px;
    text-align: justify;
}
.entryContent video,
.entryContent img{
    border-radius: 10px;
}
.entryContent table{
    width: 80%;
    margin: auto;
}
.entryContent table video,
.entryContent table img{
    width: 100%;
    max-height: 300px;
}
.entryContent video:hover,
.entryContent img:hover{
    cursor: pointer;
    opacity: 0.8;
}
.entryContent blockquote{
    width: max-content;
    max-width: 80%;
    overflow: hidden;
    margin: auto;
    padding: 3%;
}
.entryContent hr{
    border-bottom: 0;
}
.entryContent a{color: var(--accent);}
.entryContent a:hover{color: var(--darker);}

/*#region ENTRY STYLING*/
@keyframes bgScrolling {
    0% {background-position: 50px 50px, 120px 120px;}
}
.code{
    border: 1px solid #ff402c;
    background: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 0 24 24" width="30px" fill="rgb(189, 50, 18"><path d="M20.66,13.54h-6.39c-.59,0-1.07,.48-1.07,1.07v7.46c0,.59,.47,1.07,1.07,1.07h7.46c.59,0,1.07-.48,1.07-1.07v-6.39l-2.13-2.13Zm-2.66,8.52c-.88,0-1.6-.71-1.6-1.6s.71-1.6,1.6-1.6,1.6,.71,1.6,1.6-.71,1.6-1.6,1.6Zm1.6-5.33h-5.33v-2.13h5.33v2.13Z"/><path d="M8.66,1.56H2.27c-.59,0-1.07,.48-1.07,1.07v7.46c0,.59,.47,1.07,1.07,1.07h7.46c.59,0,1.07-.48,1.07-1.07V3.69l-2.13-2.13Zm-2.66,8.52c-.88,0-1.6-.71-1.6-1.6s.71-1.6,1.6-1.6,1.6,.71,1.6,1.6-.71,1.6-1.6,1.6Zm1.6-5.33H2.27V2.62H7.6v2.13Z"/></svg>'), #ffab3e;
    background-size: 50px;
}
.garden{
    border: 1px solid #00b013;
    background: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="rgb(239, 255, 160)"><path d="M0 0h24v24H0z" fill="none"/><path class="b" d="M6,11.83c2.6,0,4.72-2.11,4.72-4.72-2.6,0-4.72,2.11-4.72,4.72ZM2.65,5.68c0,.72,.59,1.31,1.31,1.31,.28,0,.53-.08,.74-.23v.1c-.01,.72,.58,1.31,1.3,1.31s1.31-.59,1.31-1.31v-.1c.2,.15,.46,.23,.73,.23,.72,0,1.31-.59,1.31-1.31,0-.52-.31-.97-.75-1.18,.44-.21,.75-.66,.75-1.18,0-.72-.59-1.31-1.31-1.31-.28,0-.53,.08-.74,.23v-.1c.01-.72-.58-1.31-1.3-1.31s-1.31,.59-1.31,1.31v.1c-.2-.15-.46-.23-.73-.23-.72,0-1.31,.59-1.31,1.31,0,.52,.31,.97,.75,1.18-.44,.21-.75,.66-.75,1.18Zm3.35-2.49c.72,0,1.31,.59,1.31,1.31s-.59,1.31-1.31,1.31-1.31-.59-1.31-1.31,.59-1.31,1.31-1.31ZM1.28,7.12c0,2.6,2.11,4.72,4.72,4.72,0-2.6-2.11-4.72-4.72-4.72Z"/><path class="b" d="M18,23.83c2.6,0,4.72-2.11,4.72-4.72-2.6,0-4.72,2.11-4.72,4.72Zm-3.35-6.16c0,.72,.59,1.31,1.31,1.31,.28,0,.53-.08,.74-.23v.1c-.01,.72,.58,1.31,1.3,1.31s1.31-.59,1.31-1.31v-.1c.2,.15,.46,.23,.73,.23,.72,0,1.31-.59,1.31-1.31,0-.52-.31-.97-.75-1.18,.44-.21,.75-.66,.75-1.18,0-.72-.59-1.31-1.31-1.31-.28,0-.53,.08-.74,.23v-.1c.01-.72-.58-1.31-1.3-1.31s-1.31,.59-1.31,1.31v.1c-.2-.15-.46-.23-.73-.23-.72,0-1.31,.59-1.31,1.31,0,.52,.31,.97,.75,1.18-.44,.21-.75,.66-.75,1.18Zm3.35-2.49c.72,0,1.31,.59,1.31,1.31s-.59,1.31-1.31,1.31-1.31-.59-1.31-1.31,.59-1.31,1.31-1.31Zm-4.72,3.93c0,2.6,2.11,4.72,4.72,4.72,0-2.6-2.11-4.72-4.72-4.72Z"/></svg>'), #95ea7d;
    background-size: 50px;
}
.thoughts{
    border: 1px solid #000;
    background:url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="lightslategrey"><g><rect fill="none" height="24" width="24"/></g><g id="Layer_1"></g><g id="Layer_2"><g><g><path class="st0" d="M11.5,5.3c0,1.1-0.9,2-1.9,2C9.3,7.2,9,7.2,8.8,7.1C8.4,7.9,7.3,8.6,6,8.6S3.5,7.9,3.1,7.1C2.9,7.2,2.7,7.2,2.4,7.2c-1.1,0-1.9-0.9-1.9-2c0-1.1,0.9-2,1.9-2c0-1.1,0.9-2,1.9-2c0.5,0,1,0.2,1.3,0.6c0.4-0.3,1-0.6,1.6-0.6c1.2,0,2.3,0.9,2.3,2C10.6,3.3,11.5,4.2,11.5,5.3z"/></g><g><ellipse class="st0" cx="9.2" cy="8.9" rx="1" ry="1"/></g><g><ellipse class="st0" cx="10.8" cy="10.5" rx="0.6" ry="0.7"/></g></g><g><g><path class="st0" d="M23.4,17.2c0,1.1-0.9,2-1.9,2c-0.3,0-0.5-0.1-0.7-0.2c-0.3,0.9-1.5,1.5-2.8,1.5c-1.4,0-2.5-0.6-2.8-1.5c-0.2,0.1-0.5,0.2-0.7,0.2c-1.1,0-1.9-0.9-1.9-2c0-1.1,0.9-2,1.9-2c0-1.1,0.9-2,1.9-2c0.5,0,1,0.2,1.3,0.6c0.4-0.3,1-0.6,1.6-0.6c1.2,0,2.3,0.9,2.3,2C22.5,15.2,23.4,16.1,23.4,17.2z"/></g><g><ellipse class="st0" cx="21.1" cy="20.9" rx="1" ry="1"/></g><g><ellipse class="st0" cx="22.7" cy="22.5" rx="0.6" ry="0.7"/></g></g></g></svg>'), #2e2f33;
    background-size: 50px;
}
.life{
    border: 1px solid #4a9cff;
    background:url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="white"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M14.94,21.39v-3.46l3.39-3.39h-4.37c-.54,0-.98,.44-.98,.98v6.84c0,.54,.44,.98,.98,.98h6.84c.54,0,.98-.44,.98-.98v-4.37l-3.39,3.39h-3.46Z"/><polygon points="15.92 20.41 17.99 20.41 21.51 16.89 19.44 14.82 15.92 18.34 15.92 20.41"/><path d="M22.72,14.29l-.69-.69c-.38-.38-1-.38-1.38,0l-.52,.52,2.07,2.07,.52-.52c.39-.38,.39-1,0-1.38Z"/></g><g><path d="M2.94,9.39v-3.46l3.39-3.39H1.97c-.54,0-.98,.44-.98,.98v6.84c0,.54,.44,.98,.98,.98h6.84c.54,0,.98-.44,.98-.98V6l-3.39,3.39H2.94Z"/><polygon points="3.92 8.41 5.99 8.41 9.51 4.89 7.44 2.82 3.92 6.34 3.92 8.41"/><path d="M10.72,2.29l-.69-.69c-.38-.38-1-.38-1.38,0l-.52,.52,2.07,2.07,.52-.52c.39-.38,.39-1,0-1.38Z"/></g></g></svg>'), #b3f1ff;
    background-size: 50px;
}
.art{
    border: 1px solid #ff2f4f;
    background: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="rgb(172, 0, 0)"><g><rect fill="none" height="24" width="24"/></g><g><path d="M18,13.33c-2.76,0-5,2.24-5,5s2.24,5,5,5c.69,0,1.25-.56,1.25-1.25,0-.31-.11-.6-.32-.84-.04-.05-.07-.1-.07-.16,0-.14,.11-.25,.25-.25h.89c1.65,0,3-1.35,3-3,0-2.48-2.24-4.5-5-4.5Zm2.75,5.5c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75,.75,.34,.75,.75-.34,.75-.75,.75Zm-1.5-2c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75,.75,.34,.75,.75-.34,.75-.75,.75Zm-4.75,1.25c0-.41,.34-.75,.75-.75s.75,.34,.75,.75-.34,.75-.75,.75-.75-.34-.75-.75Zm3-2c0,.41-.34,.75-.75,.75s-.75-.34-.75-.75,.34-.75,.75-.75,.75,.34,.75,.75Z"/><path d="M6,1.33C3.24,1.33,1,3.58,1,6.33s2.24,5,5,5c.69,0,1.25-.56,1.25-1.25,0-.31-.11-.6-.32-.84-.04-.05-.07-.1-.07-.16,0-.14,.11-.25,.25-.25h.89c1.65,0,3-1.35,3-3,0-2.48-2.24-4.5-5-4.5Zm2.75,5.5c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75,.75,.34,.75,.75-.34,.75-.75,.75Zm-1.5-2c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75,.75,.34,.75,.75-.34,.75-.75,.75Zm-4.75,1.25c0-.41,.34-.75,.75-.75s.75,.34,.75,.75-.34,.75-.75,.75-.75-.34-.75-.75Zm3-2c0,.41-.34,.75-.75,.75s-.75-.34-.75-.75,.34-.75,.75-.75,.75,.34,.75,.75Z"/></g></svg>'), #ff3838;
    background-size: 50px;
}
.other{
    border: 1px solid #2d1576;
    background: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 960 960" width="24px" fill="rgb(45, 21, 118)"><g><rect fill="none" height="24" width="24"/></g><g><path class="a" d="m313.6 151.8q0-28.4-19.7-45.5-19.8-17.1-52.4-17.1-20.1 0-36.4 8.2-16.3 8.2-28.1 24.1-11.1 15.1-30.2 17.4-19.1 2.3-32.9-9.5-9.7-8.6-10.8-21.1-1-12.5 6.6-23.7 22.2-31.7 56.5-49.1 34.4-17.5 75.3-17.5 67.3 0 109.2 36.2 42 36.3 42 94.9 0 29.7-13.2 53.4-13.2 23.7-48.5 56-25.7 23.1-34.7 35.9-9 12.9-11.8 29.4-2.8 15.8-14.2 26.3-11.5 10.6-27.4 10.6-16 0-27.4-10.3-11.5-10.2-11.5-25.3 0-25.7 11.8-47.1 11.8-21.5 39.6-45.2 35.3-29.6 46.8-45.8 11.4-16.1 11.4-35.2zm-72.1 367q-22.9 0-39.2-15.5-16.3-15.5-16.3-37.2 0-21.8 16.3-37.2 16.3-15.5 39.2-15.5 22.9 0 39.2 15.5 16.3 15.4 16.3 37.2 0 21.7-16.3 37.2-16.3 15.5-39.2 15.5z"/><path class="a" d="m801.6 564.8q0-28.4-19.7-45.5-19.8-17.1-52.4-17.1-20.1 0-36.4 8.2-16.3 8.2-28.1 24.1-11.1 15.1-30.2 17.4-19.1 2.3-32.9-9.5-9.7-8.6-10.8-21.1-1-12.5 6.6-23.7 22.2-31.7 56.5-49.1 34.4-17.5 75.3-17.5 67.3 0 109.2 36.2 42 36.3 42 94.9 0 29.7-13.2 53.4-13.2 23.7-48.5 56-25.7 23.1-34.7 35.9-9 12.9-11.8 29.4-2.8 15.8-14.2 26.3-11.5 10.6-27.4 10.6-16 0-27.4-10.3-11.5-10.2-11.5-25.3 0-25.7 11.8-47.1 11.8-21.5 39.6-45.2 35.3-29.6 46.8-45.8 11.4-16.1 11.4-35.2zm-72.1 367q-22.9 0-39.2-15.5-16.3-15.5-16.3-37.2 0-21.8 16.3-37.2 16.3-15.5 39.2-15.5 22.9 0 39.2 15.5 16.3 15.4 16.3 37.2 0 21.7-16.3 37.2-16.3 15.5-39.2 15.5z"/></g></svg>'), #772cda;
    background-size: 50px;
}
/*#endregion ENTRY STYLING*/

.entry .kaoani{
    position: absolute;
    right: 5%;
}

.modal{
    position: fixed;
    padding-top: 100px;
    background-color: rgba(255, 255, 255, 0.657);
    width: 100vw;
    height: 100vh;
    display: none;
}
#modalWrapper{
    position: relative;
    margin: auto;
    height: 80%;
    width: min-content;
    max-width: 95vw;
    display: block;
    overflow: hidden;
}
.modalContent{
    display: block;
    max-height: 100%;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}
#close{
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    font-size: 4em;
}
#close:hover{
    cursor: pointer;
}

@media only screen and (max-width: 750px){
    #contentHead{
        margin-top: 0;
    }
    #contentWrapper{
        padding: 10px;
    }
    
}
@media only screen and (max-width: 1050px){
    body{
        font-size: 0.8em;
        overflow: hidden;
    }
    .mainGrid{height: 100vh;}
    .mainContainer{
        flex-direction: column;
    }
    .journalSidebar{
        flex-direction: row;
        width: 100%;
        height: fit-content;
        align-items: flex-start;
        gap: 0;
        padding: 10px
    }
    .sidebarButtons{
        width: min-content;
        margin: 0 10px;
    }
    #calendarWrapper{display: none;}
    #journalJumpTo{display:none;}
    .journalContainer{width: 100%;}
}




