* {
    box-sizing: border-box;
}

.index a {
    text-decoration: underline wavy 1px var(--pink);
}


h2 {
    margin-top: 1.5em
}

p, li {
    line-height: 130%;
}

a {
    font-weight: normal;
    text-decoration-color: var(--bgpink);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: 0.3s;
    &:hover {
        text-decoration-thickness: 3px;
    }
}

a:hover {
    color: var(--dark);
}

.censored {
    background-color: var(--darker);
}

.censored:hover {
    background-color: inherit;
}

blockquote {
    margin-left: 5px;
    padding-left: 1.5em;
    border-left: var(--dustyrose) 2px solid;
}

b, strong {
    font-weight: 600;
}

/** youtube - old style **/


.youtube {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.youtube::after {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.youtube iframe { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/** youtube new style **/

iframe.youtube {
    height: 315px;
    width: 100%;
}

/** images **/

img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

img.icon {
    display: initial;
    height: 0.9em;
}

img.small { /* what */
    max-width: 70%;
}

img.smaller { /* what r these for??? */
    max-width: 50%;
}

.pixel { /* ????????? */
    image-resolution: pixelated;
}

#lightbox { /* FOR OLD LIVETWEETS */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

#lightbox-image {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
    cursor: pointer;
}

/** specifically for livetweets **/

.livetweets details > summary {
    list-style: none;
}
 
.livetweets details > summary::-webkit-details-marker {
    display: none;
}
 
.livetweets summary {
    font-size: 0.8em;
    font-family: "Space Mono", monospace;
}

.livetweets p {
    margin: 0.5em 0;
}

/* pagination OLD */
    .pages {
        text-align: center;
        color: var(--dustyrose);
        font-family: "Space Mono";
        font-size: 1.2em;
        line-height: 200%;
    }

    .pages a {
        background-color: var(--bgpink);
        padding: 0 5px;
        border-radius: 5px;
    }

    .pages a:hover {
        background-color: var(--dustyrose);
        color: white;
        padding: 0 5px;
    }

    .pages b, .pages strong {
        border: 1px solid var(--dustyrose);
        padding: 0 5px;
    }

/** pagination NEW **/

    nav ol {
        margin: 0;
        padding: 0;
    }

    nav ol li {
        display: inline-block;
        list-style-type: none;
    }

    nav ol a {
        padding: 2px 5px;
        text-decoration: none;
    }

    nav ol a:hover {
        background-color: var(--bgpink);
    }

    a[aria-current],
    a[aria-current]:hover {
        background-color: var(--vibrant);
        color: white;
    }

/* NEW PHOTOSET/SCREENCAP WAY */

    div.screencaps {
        display: flex;
        flex-wrap: wrap;
        row-gap: 0.5em;
        column-gap: 0.5em;
        padding: 0;
        margin: 1em 0;
    }

    .screencaps a {
        width: calc(50% - 0.25em);
    }

    .screencaps img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    .odd a:first-child {
        width: 100%;
    }

    .odd a:first-child img {
        height: 100%;
    }

/* old photoset/screencap way */
    .thumbnail-image {
        cursor: pointer;
    }

    div.photoset {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 1em;
        margin: 1em 0;
        padding: 0;
    }

    .photoset img {
        display: block;
        width: calc(50% - 0.5em);
        margin: 0;
        object-fit: cover;
    }



/** TESTING OUT DETAILS & SUMMARY FOR LIVETWEETS **/



@media only screen and (max-width: 800px) {

    main {
        padding: 1em;
    }

    .screencaps img {
        height: 200px;
    }

}