
/*--colors/backgrounds*/
:root {
    --header-bg: url('https://i.pinimg.com/originals/2c/a3/16/2ca31630f9cd0265454bc31f5afb8429.gif');
    --site-bg: url("https://i.pinimg.com/1200x/fd/90/87/fd908741b7b6cd561300949951559fb8.jpg");
    --accent-color: #c1b5c7;
    --select-color: #4b325b40;
    --link-color: #a39aa5;
    --bg-color: #2a282c;
    --bg-color2: rgb(0, 0, 0);
    --text-color: #6f6f72;
    --border-color: #7f7e80;
    --post-header-color: rgb(176, 172, 184);
    --outline-color: #989898;
    --outline-color2: #CEEAFF;
    --marquee-height: 100px;
}

/*--Fonts*/
@font-face {
    font-family: 'Rainy Hearts';
    src: url('rainyhearts.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


* {
    font-family: 'Rainy Hearts', Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
    }

/* text selection */
::selection {
    background: var(--select-color);
    color: var(--border-color);}

body {
    background-color: var(--bg-color);
    background-image: var(--site-bg);
    margin: 0;
    font-size: 18px;
    color: var(--text-color);}
p {line-height: 1.5em;}

h1 {
    font-size: 1.5em;
    color: var(--post-header-color);
    text-shadow: var(--bg-color) 2px 2px;}
.inline-gif {
    width: 40px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin: 0 6px;
}
h4,
h5,
h6 {color: var(--border-color);}

header {

    background-color: var(--accent-color);
    background: var(--header-bg);
    background-size: 100%;
    background-position: center;
/* height of header */
    min-height: 140px;
/* width of header*/
    max-width: 980px;
    margin: 0 auto;
    border-top: 5px solid var(--bg-color2);
    border-bottom: 5px solid var(--bg-color2);
    border-left: 5px solid var(--bg-color2);
    border-right: 5px solid var(--bg-color2);
   align-content: flex-end;}

/* header title */
header > h1 {
    background-color: var(--bg-color2);
    color: var(--border-color);
    margin: 1em auto;
    font-size: 30px;
    width: fit-content;
    max-width: 430px;
    padding:4px 30px;
    border-radius: 5px;
    filter: none;
    text-align: center;}

/*list dot*/
li {
    list-style-image: url("https://pixelsafari.neocities.org/favicon/horror/skull6.gif");}

/*--navigation--*/
nav {margin: 10px;}
nav > ul {
    max-width: 200px;
    margin: auto;
    line-height: 2.3rem;
    list-style-type: none;
    padding-left: 0;
    justify-content: space-evenly;}
nav li {
    text-align:center;
    list-style-image: none;}
nav li > a {
    font-weight: bold;
    background-color: var(--bg-color);
    padding: .3em 2em;
    text-decoration: none;}
nav li > a:hover {
    color: var(--accent-color);
    background-color: var(--select-color);}
a {
    color: var(--link-color);
    border-radius:.2em;
    transition: .2s ease-out;}
a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transition: .2s ease;}

/*--sidebar--*/
#sidebar {
    background-color: var(--bg-color2);
    color: var(--border-color);
    height: fit-content;
    min-width: 220px;
    margin-top: 2em;
    border-radius: .2em;}
.small-box {
    max-width: 200px;
    margin: auto;
    border: 4px dotted var(--bg-color);
    font-size: 15px;
    line-height: 1.5rem;}

/* sidebar image (if I add one) */
.small-box .sidebar-img {
    max-width: 100%;
    height: auto;
    display: block;}
.small-box .sidebar-image-item { text-align: center; list-style: none; padding: 0; }
/*--dont have one but keep incase--*/
#avatar {
    margin: .5em;
    max-width: 180px;}

/* blinkies */
.blinkies {
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;
    gap: 7px;
    width: auto;
    margin: 0 auto;
    padding: 5px;}
.blinkies .blinkie {
    position: static;
    width: 200px; 
    height: auto;
    display: block;}

/*--bio/song--*/
#bio {
    margin: 10px;
    padding: .2em;
    background: var(--bg-color);
    border: 5px dotted var(--bg-color2);
    border-radius: 2em;
    font-size: medium;
}
#bio p { margin: 1em; }

#content {
    display: flex;
    max-width: 960px;
    margin: auto;}

main {
    padding: 1em;}

/*pinned post*/
#top {
    background-color: var(--bg-color);}
#top section {
    background-color: var(--bg-color2);
    border-radius: .2em;
    margin-bottom: 10px;
    padding: .2em 1em;
    width: fit-content;
}

/*blog posts*/
article {
    background-color: var(--bg-color2);
    padding: 1em;
    border: 2px solid var(--border-color);
    border-radius: .3em;
    margin-bottom: .5em;
    box-shadow: var(--post-shadow-color) 5px 5px;
}
article img {
    max-width: 100%;
}

/* sizes down single post images */
.post-photo {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: .6em 0;
}

/* Hotline number styling*/
.hotline-phone {
    font-weight: bold;
    font-size: 1.1em;
}

/* Chatbox  */
.chatbox-wrapper {
    max-width: 220px;
    width: 100%;
    margin: .6em auto;
    padding: .4em;
    overflow: hidden;
    background: transparent;
    border-radius: .2em;
}
.chatbox-wrapper iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

@media only screen and (max-width: 800px) {
    .chatbox-wrapper { max-width: 320px; width: 90%; }
    .chatbox-wrapper iframe { height: 300px; }
}

@media only screen and (max-width: 480px) {
    .chatbox-wrapper iframe { height: 220px; }
}

/* Chatbox title styling */
.chatbox-title {
    font-size: 12px;
    color: var(--border-color);
    text-align: center;
    margin: 0 0 .4em 0;
    font-weight: 600;
}

/*read more details tag*/
details > summary {cursor:pointer;}

.readmore summary {
    font-weight: bold;
    color: var(--border-color);
    list-style: none;}
.readmore summary::-webkit-details-marker {
  display: none;}
.readmore[open] > summary {
    border-bottom: 2px dashed var(--bg-color);
    padding-bottom: .6em;
    margin-bottom: .6em;}


/*date/user for posts*/
.post-header {
    color: var(--border-color);
    font-weight: bold;
    padding: .5rem 0;
    border-bottom: 2px solid var(--outline-color);
}
.timestamp {
    font-weight: normal;
    font-size: small;
    margin: .2em;
    float: right;
}

/*tumblr-style photosets (dont know how they work tbh)*/
.photosetx2,
.photosetx3 {
    display: grid;
    gap: 5px;
    align-items: center;
}
.photosetx2 {grid-template-columns: 1fr 1fr;}
.photosetx3 {grid-template-columns: 1fr 1fr 1fr;}
.cropped {
    width: 156px;
    height: 156px;
    overflow: hidden;
    object-position: 25% 25%;
}
.photosetx2 img,
.photosetx3 img {object-fit: cover;}


.center { text-align: center; }
.img-right { float: right; }


.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.small-text {
    font-size: 11px;
    text-shadow: var(--bg-color) 1px 1px;
}

footer {
    text-align: center;
    font-size: small;
    margin: auto;
    padding: .5em;
    background: var(--bg-color2);
}

/*--running marquee/chibi lol--*/
.running-line-wrapper {
  width: 100%;
  overflow: hidden;
  height: var(--marquee-height);
}

.running-line {
  position: relative;
  width: 100%;
  height: 100%;
}

.running-line-content {
  position: absolute;
  top: 50%;
  left: 0;
  gap: 12px;
  display: flex;
  width: max-content;
  transform: translateY(-50%);
  animation: marquee 15s linear infinite;
}

.running-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.marquee-item {
  height: var(--marquee-height);
  width: auto;
  max-height: 100%;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.running-line-wrapper:hover .running-line-content {
    animation-play-state: paused;
}

/* responsiveness */
@media only screen and (max-width: 800px) {
    #content {
        flex-wrap: wrap;
    }
    #sidebar {
        margin: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--border-color);
        border-radius: 0;
    }
    header {min-height: 160px;}
    header > h1 { 
        width: 100%;
        padding: .3em 1em;
    }
    nav > ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .4em;
        width: 100%;
        padding: 0;
    }
    #bio {width: 70%;}
    .small-box { width: 70%; max-width: 420px; }

    .blinkies {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        align-items: center;
    }
    .blinkies .blinkie {
        width: 100%;
        max-width: 180px;
        height: auto;
        display: block;
    }

    #sidebar nav > ul {
        line-height: 2em;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .4em;
        padding: 0;
    }
    #sidebar li {
        margin: .1em 0;
        width: 100%;

    }
    nav li > a {
        display: block;
        width: 100%;
        max-width: 420px;
        max-height: 35px;
        margin: 0;
        padding: .4em 1em;
        text-align: center;
    }
    
    #sidebar nav { width: 100%; order: 1; }
    #sidebar .center { width: 100%; order: 2; margin-top: .5em; flex-basis: 100%; }
}
@media (max-width: 800px) {
    body { font-size: 14px; }
    header > h1 { font-size: 28px; padding: .4em 1em; }
    #content { flex-wrap: wrap; }
    main { flex: 1 1 100%; min-width: 0; }
    #sidebar { width: 100%; min-width: 0; margin: .8em 0; }
    .running-line-wrapper { height: calc(var(--marquee-height) * 0.8); }
    .marquee-item { height: calc(var(--marquee-height) * 0.8); }
}

@media (max-width: 480px) {
    body { font-size: 13px; }
    header > h1 { font-size: 22px; padding: .3em .6em; }
    .running-line-wrapper { height: 56px; }
    .marquee-item { height: 56px; }
    .post-photo { width: 90%; max-width: 420px; }
    .running-line-content { gap: 8px; }
}

/* marquee animation */
@keyframes marquee {
  from {
    transform: translateX(0) translateY(-50%);
  }
  to {
    transform: translateX(-50%) translateY(-50%);
  }
}

.running-line-content { will-change: transform; }

article img { height: auto; }
