/* || SITEWIDE */

/*      || LAYOUT */
/*          || MAIN */

html, body{
    max-width: 1000px;
    justify-self: center;
    box-sizing: border-box;
}
body{
    padding: 1rem;
    margin: 1rem;
}
header{
    margin: 1rem 1rem 0 1rem;
    padding: 0;
    box-sizing: border-box;
}
.header-image{
    width: 100%;
}

/*          || CONTAINER */
main{
    display: flex; 
    flex-direction: column;
    justify-content: center;
    margin: 1rem;
}
nav{
    padding: .5rem;
    display: flex;
    justify-content: center;
    margin: .5rem 1rem;
    box-sizing: border-box;
}
footer{
    margin: 1rem;
    text-align: center;
    padding: .1rem 1rem;
}

/*          || REUSABLE CONTAINERS */

.col{
    display: flex;
    flex-direction: column;
}
.row{
    display: flex;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
}
.blinkie-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.img-button-div{
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
}

section{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: .1rem;
    box-sizing: border-box;
}


.space-between{
    justify-content: space-between;
}


/*          || TITLES */
section > h2{
    margin: 0 0 1rem ;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}
/*          || INPUT */
#nav-btn{
    display: none;
}

/*          || IMAGE */
#hosted-on-neocities-img{
    margin-bottom: 1rem;
}
.pixel-img{
    padding: 0 .5rem;
}
#nav-btn > img {
        width: 1.8rem;
        height: 2rem;
    }

/*          || FUNCTIONAL UNITS */
nav > a, nav >a:visited{
    padding: .1rem;
    margin: 0 1rem;
}

/*          || AUDIO */
#audio-player-container{
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 30px;
    justify-content: center;
    min-width: 10rem;
    max-width: 20rem;
}

#audio-player-container > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.audio-player-btn{
    background-color: #cb6ce6;
    border-radius: 50%;
    margin: 0 .5rem;
}

.audio-player-btn > img{
    width: 1.8rem;
    height: 2rem;
}

#audio-volume-div{
    margin-top: .5rem;
}

#audio-volume{
    margin-left: 1rem;
}

#audio-volume-slider{
    width: 55%;
}

/*      || UTILITIES */
html{
    /*cursor:url(http://media.tumblr.com/decea123681b5bdb67d7df9a35855ea7/tumblr_inline_mki7zsGiDT1qz4rgp.png), url(http://media.tumblr.com/decea123681b5bdb67d7df9a35855ea7/tumblr_inline_mki7zsGiDT1qz4rgp.png), auto;*/
    cursor:url("images/cursors/default-cursor.gif"), auto;
}
a:hover, button:hover, input[type="range"]:hover, input[type="submit"]{
    cursor:url("images/cursors/hover-cursor.gif"), auto;
}
nav > a, nav >a:visited{
    text-decoration: none;
}

ul > li{
    list-style-type: '\2605  '
}
.scroll{
    overflow-y: scroll;
}


/*      || TYPOGRAPHY */
html, button, input[type="submit"]{
    font-family: "Amarante", sans-serif;
}

section{
    font-size: .8rem;
}
section > h2{
    font-size: 1.2rem;
}
/*      || STYLES */
/*          || MAIN */
html{
    background-image: url("images/background-image.gif");
    scrollbar-color: #cb6ce6 black;
    color: white;
}
/*          || CONTAINER */
.header-image, nav{
    background-color: black;
    border: #cb6ce6 dashed;
}
section{
    background-color: black;
    border: #cb6ce6 dashed;
}
footer{
    background-color: black;
    background-image: url("images/night-scene.gif");
    background-size: cover;
    border: #cb6ce6 dashed;
    text-shadow: 2px 2px black;
}

/*          || REUSEABLE CONTAINER */
.blinkie-div, .img-button-div{
    border:#ffffff dashed 3px;
}

/*          || TITLES */
h1{
    text-shadow: 2px 2px #cb6ce6;
}
section > h2{

    background-color: #cb6ce6;
    background-image: url("images/sparkle-header.gif");
    text-shadow: #000000 2px 2px;
}

/*          || INPUT */
button, input[type='submit'], textarea{
    background-color: #cb6ce6;
}
input[type='submit']:hover{
    background-color: #ffffff;
    color: black;
}
button:hover, #nav-btn:hover{
    background-color: #3f0b4d;
}
a, a:visited{
    color: rgb(182, 128, 232)
}
a:hover{
    color: white;
}
a:active{
    color: rgb(240, 165, 53);
}
#nav-btn{
    background-color: #cb6ce6;
    border-radius: 25%;
}

/*          || AUDIO */
#audio-player-container{
    background-color: black;
    border: solid rgb(134, 67, 196);
    opacity: 50%;
}

#audio-player-container:hover{
    opacity: 100%;
}



/* || HOME */
/*      || LAYOUT */
/*          || MAIN */


/*          || CONTAINER */
#main-row > div{
    width: 25%;
}
#main-row > section{
    width: 50%;
}
ul{
    list-style-position: inside; /* keeps bullets aligned with text */
    padding-left: 0; /* removes default left padding */
    margin-left: 0;
}
#links-section > ul{
    margin:0;
    font-size: .75rem;
}


#micah-section > div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#cb-form{
    text-align: center;
}
#update-log-section > div{
    padding: 0 1rem;
}
#update-log-section{
    max-height: 13rem;
}

/*          || INPUT */
#cb-btn{
    padding: .25rem;
}

/*          || TITLES*/
#micah-section > h2{
    margin: 1rem .5rem 0;
}

/*          || FUNCTIONAL UNIT */
#hit-counter{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#moon-phase-section > p{
    text-align: center;
}

/*          || IMAGES */


.welcome-moon-left{
    width: 2rem;
    margin: 0 2em 0 0;
}

.welcome-moon-right{
    width: 2rem;
    margin: 0 0 0 2em;
}

.welcome-moon-small{
    width: 1rem;
}

#currently-reading-section > img{
    width: 10rem;
}
#hit-counter > img{
    width: 90%;
}
.portrait-img{
    width: 50%;
    clip-path: circle(50%);
    border-radius: 50%;
}
#moon-phase-img{
    width: 50%;
}

#moon-phase-date{
    margin-bottom: 1rem;
}

/*      || TYPOGRAPHY */
#micah-section > h2{
    font-size: 2rem;
}
#cb-btn{
    font-weight: 500;
}

/*      || STYLES */
/*          || MAIN */
#welcome-section{
    background-color: #00000000;
}
/*          || CONTAINER */
.frame{
    background-image: url(/images/section-frame.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


/*          || TITLE */
#micah-section > h2{
    background-color: rgba(0, 0, 0, 0);
    text-shadow: #9218b4 2px 2px;
}

/*          || FUNCTIONAL UNIT */
hr{
    width: 80%;
    border: white dashed 1px;
}

/*          || IMAGES */

/* || MEDIA QUERIES */
@media only screen and (max-width: 800px){
    html, body{
        width: 100%;
    }

    .row{
        flex-direction: column;
        
        align-items: center;
    }
    .row > .col, section{
        min-width: 100%;
        margin-bottom: 1rem;
    }
    .img-button-div{
        display: block !important;
        text-align: center;
    }
    nav{
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: 100vh;
        width: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        transition: 0.4s ease;

    }
    #nav-btn{
        display: block;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 10000;
        transition: 0.4s ease;
    }
    .open-nav{
        width: 50vw;
    }
    .nav-btn-opened{
        left: calc(50vw - 4rem) !important;
    }

}

@media only screen and (max-width: 450px){
    .welcome-moon-left{
        width: 1.25rem;
        margin: 0 1em 0 0;
    }
    .welcome-moon-right{
        width: 1.25rem;
        margin: 0 0 0 1em;
    }
    .welcome-moon-small{
        width: .75rem;
    }
    #audio-player-container{
        max-width: 75%;
    }

}