:root {
    --red: rgba(255,0,0,0.7);
    --cyan: rgba(0,255,255,0.7);
}

body {
    background-color: white;
    margin: 0;
    font-size: 1em;
    font-family: "CommitMono";
    color: rgb(45, 45, 45);
    background-image: url(/images/assets/backgrounds/groovepaper.png);
}

a {
    color: rgb(0, 0, 0);
    background: none;
    transition: 0.2s;
}

ul a {
    color: palevioletred;
}

a:hover {
    color: black;
    background-color: rgb(235,235,235);
}

a:hover, h1:hover, h2:hover, h3:hover {
    font-weight: auto;
    text-shadow: -0.05em 0 var(--red),  0.05em 0 var(--cyan); /* This creates the 3D effect, pretty easy, eh? */    
}

i, em {
    color: black;
}

.label {
    color: dimgray;
    display: block;
    background: rgb(240,240,240);
    text-align: left;
    margin: 0.5em;
    padding: 0 0.5em;
    border: dimgray 1px solid;
    border-radius: 5px;
    transition: 0.2s;
}

label:hover {
    background: white;
    color: black;
    cursor: pointer;
    text-shadow: -0.06em 0 var(--red),  0.06em 0 var(--cyan);
}

.subtitle {
    color: black;
    background: rgb(235,235,235);
    padding: 0.5em;
    border-radius: 5px;
    font-size: 0.9em;
}

h1, h2, h3, h4 {
    font-family: "Pixel Operator"; 
    color: black;
    transition: 0.2s;
}

h5, h6 {
    font-family: inherit;
    margin-bottom: 0;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
    border-bottom: gray dotted 1px;
    margin-bottom: 0;
}

h4 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    background-color: rgb(240,240,240);
}

ul {
    list-style-type: disc;
}

#wrapper {
    display: flex;
    padding: 3em;
    column-gap: 3em;
}

.one {
    width: 20%;
    height: 400px;
    position: -webkit-sticky;
    position: sticky;
    top: 3em;
    text-align: center;
}

.two {
    width: 55%;
    border: dimgrey 1px solid;
    padding: 0 3em 2em 3em;
    background: rgb(250,250,250);
}

.radiobutton {
    display: none;
}

.subpage {
    display: none;
}

.radiobutton:checked + .subpage {
    display: initial;
}

/** flex columns, for main (preferences) **/

.flex {
    display: flex;
    width: 100%;
    column-gap: 2em;
}

.flex div {
    width: 100%;
}

/** specifically for the details in the log **/

details {
    margin: 0;
}

details > summary {
   list-style: none;
 }

details > summary::-webkit-details-marker {
   display: none;
}

/** for the faves **/

.threecol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 2em;
}

.item { /** this is the poster + description **/
    width: calc(33% - 1em);
    font-size: 12px;
}

.item img {
    margin: 0 auto;
    width: 100%;
    display: block;
}

.item p {
    margin: 0.5em 0;
}

.item summary i {
    transition: 0.2s;
    color: black;
    text-shadow: -0.08em 0 var(--red),  0.08em 0 var(--cyan);
}

.item summary img {
    border: 1px solid dimgray;
    box-shadow: -0.2em -0.2em var(--red), 0.2em 0.2em var(--cyan);
}

.item summary:hover {
    cursor: pointer;
}

.item summary:hover i {
    letter-spacing: 1px;
}

.itemdesc {
    padding: 0.5em;
    border-top: 2px solid lightgray;
}

/** misc page **/

.faves li {
    margin-bottom: 0.5em;
}

.faves i {
    font-size: 0.9em;
    color: rgb(157, 146, 146);
}

.top {
    text-align: center;
}

.top a {
    background-color: palevioletred;
    color: white;
    padding: 2px 5px;
    font-weight: normal;
    text-decoration: none;
    border-radius: 10px;
}

.top a:hover {
    color: black;
    background-color: rgb(235,235,235);
}

/** queue list **/

.queue ul {
    column-count: 2;
}

.queue li {
    break-inside: avoid-column;
}

@media only screen and (max-width: 800px) {
    
    #wrapper {
        flex-direction: column;
        padding: 0;
    }
    
    a,
    label {
        font-size: 1.1em;
    }
    
    label {
        margin: 0.5em;
    }

    .col {
        width: 100%;
        height: auto;
    }
    
    .one {
        position: inherit;
        top: auto;
    }
    
    .two {
        width: auto;
        margin: 1em;
        padding: 1em;
    }
    
    .item {
        font-size: 1em;
        width: calc(50% - 1em);
    }

    .queue ul {
        column-count: 1;
    }

}