:root {
    --header-bg: url('assets-organized/stars3.gif');
    --background-bg: url('assets-organized/bluebrick.gif');
    --body-bg: url('assets-organized/azulestrellas.gif');
    --border-image: url('assets-organized/pink060.jpg');
    --button-bg: url('assets-organized/pink060.jpg');
    --heading-bg: url('assets-organized/stars3.gif');
    --nav-bg: url('assets-organized/purpleanimstar.gif');
    --header-bg-color: #ff00f7;
    --accent-color: #a894a7;
    --hover-color: #ffe100;
    --buttontext-color: #ffffff;
    --heading-color: #ff00f7;
    --button-color: #ff10b7;
    --link-color: #00ff2f;
    --bg-color: #555555;
    --bg-color2: #979797;
    --text-color: #ffffff;
    --stripe-color: #8c00ff;
    --stripe-color2: #ba1477;
    --shadow-color2: #8c00ff;
    --max-height: 860px;
    --max-height2: 875px;
}

@media (min-width: 800px) {
    :root {
        --max-height: calc(100vh - 357px);
        --max-height2: calc(100vh - 365px);
    }
}

/* this applies to all the content */
* {
    color: var(--text-color);
    /* change the font here, it's set up to all use the same one */
    font-family: serif;
    scrollbar-color: var(--text-color) var(--stripe-color2);
    scrollbar-width: thin;
}

/* this is for when you select text on the page */
::selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

blockquote {
    line-height: 1.5;
}

.dashed {
    background-color: transparent;
    border: none;
    border-top: 2px dashed #ffffff;
    margin: 1.25em 0;
}

/* Style for the main grid container */
.music-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    column-gap: 1em;
    /* row-gap: 0px; */

    margin-right: 2em;
}

@media (max-width: 768px) {
    .music-grid {
        grid-template-columns: 1fr;
    }
}

.song-item {
    padding: 0.25em 1em;
    width: 100%;
    height: 120px;
    margin-bottom: 0.75em;
    margin-top: -0.25em;
}

.image-wrap-right {
    float: right;

    margin-left: 15px;
    margin-bottom: 10px;
    /* margin-right: 10px;
    margin-top: 10px; */

    max-width: 200px;
    border: 2px solid var(--text-color);
}

body {
    background-image: var(--background-bg);
    background-size: 65.05px 65.05px;
    margin: 0;
    overflow-x: hidden; 
}

/* music overrides */
#music-body {
    background-image: url(assets-organized/chess.gif);
    /* background-size: auto; */
}

#music-main {
    background-image: url(assets-organized/purplerosesblkbg.gif);
}

#music-main>h1 {
    background-image: url(assets-organized/bgif020.gif);
}

#music-body>header {
    background-image: url(assets-organized/bgif020.gif);
}

#music-main>h2 {
    background-image: url(assets-organized/bgif020.gif);
}

#music-main>marquee {
    background-image: url(assets-organized/dkgraytexture.gif);
}

#music-body>nav {
    background-image: url(assets-organized/pinkspark.gif);
}

#music-body>nav li>a {
    background-image: url(assets-organized/18078.png);
}

/* photography overrides */
#photography-body {
    background-image: url(assets-organized/dkgraytexture.gif);
    background-size: auto
}

#photography-main {
    background-image: url(assets-organized/greenmarble.jpg);
}

#photography-main>h1 {
    background-image: url(assets-organized/waterbig.gif);
}

#photography-body>header {
    background-image: url(assets-organized/waterbig.gif);
}

#photography-main>h2 {
    background-image: url(assets-organized/water3.jpg);
}

#photography-main>marquee {
    background-image: url(assets-organized/dkgraytexture.gif);
}

#photography-body>nav {
    background-image: url(assets-organized/greenmarble.jpg);
}

#photography-body>nav li>a {
    background-image: url(assets-organized/dkgraytexture.gif);
}

/*  */
#about-body {
    background-image: url(assets-organized/background1.gif);
    background-size: auto;
}

/*  */
#index-body {
    background-size: auto;

}

/* i think having better line spacing helps text to be more readable, but you can remove it if you want */
p {
    line-height: 1.5em;
}

header {
    background-color: var(--header-bg-color);
    /* you can add the image url in :root (at the top) if you want */
    background-image: var(--header-bg);
    background-position: 50%;
    background-repeat: repeat;
    /* change the minimum height if you want it to take up more/less space */
    min-height: 145px;
    margin: 0 auto;
    padding-top: 5px;
    /* you can change the text-align to center or right if you want it placed differently */
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%
}

/* this is your site title displayed at the top of the page */
header>h1 {
    margin: 20px auto;
    max-width: 1080px;
    width: fit-content;
    padding: 12px;
}

.white-bg {
    margin: auto;
    width: fit-content;
    background: var(--button-bg);
    padding: 0 30px;
    border-radius: 200px;

}

.headerimg {
    width: 80%;
    max-width: 400px;
    min-width: 300px;
    height: auto;

    display: block;
    margin-left: auto;
    margin-right: auto;

    margin-top: 20px;
    margin-bottom: 25px;
    cursor: pointer;
    
}

nav {
    background: var(--nav-bg);
    font-weight: bold;
}

nav>ul {
    max-width: 1080px;
    margin: auto;
    line-height: 3rem;
    /* this stuff makes it wrap around on mobile */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /* this line takes away the dot in front of the list items */
    list-style-type: none;
    /* list items have default padding but we don't need it for these */
    padding-left: 0;
    /* and this spaces out the buttons so they're not touching */
    justify-content: space-evenly;
}

nav li {
    text-align: center;
}

nav li>a {
    background: var(--button-bg);
    color: var(--buttontext-color);
    padding: .3em 3em;
    /* this takes away the link underline */
    text-decoration: none;
    /*this rounds the buttons */
    border-radius: 8px;
}

nav li>a:hover {
    background-color: var(--hover-color);
    transform: rotate(-15deg);
}

a {
    color: var(--link-color);
    font-weight: bold;
    
}

a:visited {
    /* color: var(--text-color); */
    font-weight: bold;
}

a:hover {
    color: var(--hover-color);
    transform: scale(1.2);
}


/* you can change this to anything you want :) */
ul {
    list-style-type: circle;
}

marquee {
    display: block;
    margin: 0;
    background-image: url(assets-organized/purpskybg.jpg);
}

#sidebar {
    background: var(--border-image);
    max-width: 120px;
    max-height: var(--max-height);
    /* margin: 1em; */
    margin-top: 1em;
    margin-right: 1em;
    /* margin-bottom: 1em; */
    /* padding: 1em; */
    padding-top: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    border: 2px solid var(--text-color);
    box-shadow: var(--shadow-color) 4px 4px;
    overflow: auto;
}

#sidebar ul {
    padding-left: 0;
    margin: 1em;
}

#avatar {
    margin: .5em auto;
    /* margin-top:0px; */
    margin-bottom: 0.5em;
    margin-right: 0.2em;
    text-align: center;
}

#parrot {
    margin: .5em auto;
    /* margin-top:0px; */
    margin-bottom: 0.5em;
    margin-right: 0.2em;
    text-align: center;
}

#parrot img {
    background: var(--stripe-color);
    width: 100%;
    border: 2px solid var(--text-color);
    cursor: pointer;
}


#avatar img {
    background: var(--stripe-color);
    width: 100%;
    border: 2px solid var(--text-color);
    cursor: pointer;
}

#bio {

    background: var(--body-bg);
    border: 2px solid var(--text-color);
    /* margin-bottom: 0.4em; */
}

#bio p {
    line-height: 1.2;
    margin: .8em;

}

#content {
    display: flex;
    max-width: 1080px;
    margin: auto;
}

main {
    background: var(--body-bg);
    box-shadow: var(--shadow-color) 4px 4px;
    margin-top: 1em;
    padding-bottom: 1em;
    border: 2px solid var(--text-color);
    /*    border-image: var(--border-image) 32 round;
/*this line makes pixel art look better*/
    /* image-rendering: pixelated; */
    /*remove these lines if you dont want the scrollbar*/
    max-height: var(--max-height2);
    overflow: auto;
}

main h1 {
    text-align: center;
}

main>h1,
main>h2,
main>h3 {
    background: var(--heading-bg);
    background-color: var(--heading-color);
    padding: .2em .5em;
    margin: 0;
}

.mews {
    padding: 0 1em;
    font-size: 18px;
}

#hitcount img {
    vertical-align: sub
}

.footers {
    margin: 0px;
    line-height: 2em;
    padding: 0 1em;
    font-size: 16px;
}

.black-outline {
    text-shadow:
        1px 1px 0 #000000,
        -1px 1px 0 #000000,
        -1px 1px 0 #000000,
        -1px -1px 0 #000000;
}

.link-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 1em 1em;
    font-size: 20px;
}

/* a class for centering text and images */
.center {
    text-align: center;
    margin-bottom: 10px;
}

.center2 a {

    margin: 0 5px;

}

.spaced a {
    margin-right: 5px;
}


footer {
    text-align: center;
    font-size: small;
    margin: 1em auto;
    max-width: 960px;
}

.desktop-show {
    display: none;
}

#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#chat-container {
    width: 0;
    height: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;

    /* --- DEFAULT HIDDEN STATE --- */
    max-height: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* --- VISIBLE STATE --- */
#chat-container.visible {
    width: 100%;
    max-height: 350px;
    opacity: 1;
}

#chattable {
    width: 100%;
    height: 100%;
    border: none;
}

#chat-toggle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    transition: width 0.4s ease-in-out;
    height: 30px;
    margin-top: 5px;
    font-weight: bold;

    background: url(assets-organized/fondo_purplestars.gif);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    /* transition: transform 0.2s ease; */
    text-shadow: 1px 1px 1px black;
}

#chat-toggle-link:hover {
    transform: scale(1.00);
    color: var(--hover-color);
}

#chat-container.visible+#chat-toggle-link {
    width: 100%;
}

@media (min-width: 800px) {
    .desktop-show {
        display: block;
        /* Makes the <hr> visible again on big screens */
    }
}

/*  */
/*  */
/*  */
/*  */
/* these are the mobile styles! */
@media only screen and (max-width: 800px) {
    #content {
        flex-wrap: wrap;
    }

    #sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border: none;
        margin: 0;
        max-width: 100%;
        padding-bottom: 0px;
    }

    header {
        min-height: 145px;
        background-position: bottom;
    }

    header>h1 {
        margin: .4em;
    }

    .white-bg {
        margin: 1em;
    }

    nav>ul {
        /* this stuff makes it wrap around on mobile */
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }

    nav li>a {
        padding: .4em 1em;
        margin-left: 5px;
        margin-right: 5px;
    }

    #avatar {
        padding-top:0.5em;
        margin: 0 1em;
        max-width: 200px;
    }

    #bio {
        margin-top: 10px;
        margin-bottom: 15px;
        width: 95%;

    }

    main {
        margin: 0;
        /* remove scrollbar for mobile */
        max-height: fit-content;
    }


    #sidebar-small {
        max-width: 100%;
    }

    #sidebar ul {
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        line-height: 2em;

    }

    #sidebar li {
        padding-left: 0;
        margin: .3em 1em;

    }

    footer {
        margin: 1em;
        padding-bottom: 2.5em;
    }

    .headerimg {

        width: 80%;
        max-width: 400px;
        min-width: 300px;
        height: auto;

        display: flex;
        margin-left: auto;
        margin-right: auto;

        margin-top: 30px;
        margin-bottom: 25px;
    }



}



@-webkit-keyframes snowflakes-fall {
    0% {
        top: -10%
    }

    100% {
        top: 100%
    }
}

@-webkit-keyframes snowflakes-shake {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    50% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px)
    }
}

@keyframes snowflakes-fall {
    0% {
        top: -10%
    }

    100% {
        top: 100%
    }
}

@keyframes snowflakes-shake {

    0%,
    100% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(80px)
    }
}

.snowflake {
    pointer-events: none;
    position: fixed;
    top: -10%;
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-animation-name: snowflakes-fall, snowflakes-shake;
    -webkit-animation-duration: 10s, 3s;
    -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: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running
}

.snowflake:nth-of-type(0) {
    left: 1%;
    -webkit-animation-delay: 0s, 0s;
    animation-delay: 0s, 0s
}

.snowflake:nth-of-type(1) {
    left: 10%;
    -webkit-animation-delay: 1s, 1s;
    animation-delay: 1s, 1s
}

.snowflake:nth-of-type(2) {
    left: 20%;
    -webkit-animation-delay: 6s, .5s;
    animation-delay: 6s, .5s
}

.snowflake:nth-of-type(3) {
    left: 30%;
    -webkit-animation-delay: 4s, 2s;
    animation-delay: 4s, 2s
}

.snowflake:nth-of-type(4) {
    left: 40%;
    -webkit-animation-delay: 2s, 2s;
    animation-delay: 2s, 2s
}

.snowflake:nth-of-type(5) {
    left: 50%;
    -webkit-animation-delay: 8s, 3s;
    animation-delay: 8s, 3s
}

.snowflake:nth-of-type(6) {
    left: 60%;
    -webkit-animation-delay: 6s, 2s;
    animation-delay: 6s, 2s
}

.snowflake:nth-of-type(7) {
    left: 70%;
    -webkit-animation-delay: 2.5s, 1s;
    animation-delay: 2.5s, 1s
}

.snowflake:nth-of-type(8) {
    left: 80%;
    -webkit-animation-delay: 1s, 0s;
    animation-delay: 1s, 0s
}

.snowflake:nth-of-type(9) {
    left: 90%;
    -webkit-animation-delay: 3s, 1.5s;
    animation-delay: 3s, 1.5s
}

.snowflake:nth-of-type(10) {
    left: 25%;
    -webkit-animation-delay: 2s, 0s;
    animation-delay: 2s, 0s
}

.snowflake:nth-of-type(11) {
    left: 65%;
    -webkit-animation-delay: 4s, 2.5s;
    animation-delay: 4s, 2.5s
}


/* gallery pages */

#photos {
    max-width: 1000px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    /* Add this line */
    margin: 0.5em auto;
}

#photos figure {
    margin: 10px;
    max-width: min-content;
}

#photos img {
    border: 3px ridge #c3c3c3;
    /* Enable this for pixel art!! */
    /* image-rendering: pixelated; */
}

#photos img:hover {
    border-color: #ffda00;
}

#photos span {
    text-align: center;
    display: block;
}

#photos figcaption {
    padding: 10px 0px;
}

/* Mobile Styling */

@media (max-width: 100px) {
    body {
        padding: 10px;
    }

    #photos figure {
        width: 95%;
        max-width: unset;
    }

    #photos img {
        width: 100%;
    }
}

/* Styling for JavaScript viewer (if enabled) */

#js-viewer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.612);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

#js-viewer img {
    max-width: 95%;
    max-height: 80%;
    height: auto;
    width: auto;
    border: 3px ridge #c3c3c3;
}

#js-viewer span {
    margin-top: 10px;
}

#js-viewer span button {
    border-radius: 0px;
    border: 2px outset #cecece;
    background-color: #e2e2e2;
    cursor: pointer;
}

#js-viewer span button:hover {
    border: 2px inset #cecece;
    background-color: #b8b8b8;
}