html {
    font-family: 'Consolas';
    scroll-behavior: smooth;
}
body {
    max-width: 500px;
    margin: auto;
    padding: 5px 10px;
    background-color: #004a05;
    background-image: url("./../assets/bgs/bright-squares.png");
    color: white;
}

section {
    box-sizing: border-box;
    outline: 5px ridge #064b0a;
    outline-width: 5px;
    border: 1px dotted #043206;
    border-radius: 10px;
    padding: 5px;
    margin: 15px 5px;
    background-color: #064b0a;
    background-image: url("./../assets/bgs/paper-3.png");
    box-shadow: inset 0 0 20px #98c9fdcf;
}
h1, h2 {
    margin: 0.5em;
    font-family: 'Poxel';
    text-shadow: 0 0 10px lime;
    text-align: center;
}
img {
    image-rendering: pixelated;
}
img[title] {
    cursor: help;
}

section p {
    text-indent: 2em;
    margin: 0;
}
#intro p {
    margin: 10px;
    text-align: justify;
    text-indent: 2em;
}

a, a:visited {
    color: lime;
}

#clique-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
    outline: 5px groove #064b0a;
    border: 1px dotted #043206;
    padding: 5px;
    margin: 15px;
    border-radius: 10px;
    text-align: center;
}
#clique-menu div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
    padding: 5px;
}
#clique-menu hr {
    width: 100%;
    border: unset;
    border-bottom: 5px groove #064b0a;
}

.info {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.info > a {
    margin: 3px 10px 0;
}

/** Stamps Clique **/
#stamps-content {
    max-width: 450px;
    background-color: black;
    background-image: url('./../assets/bgs/paper-1.png');
    margin: auto;
    margin-bottom: 10px;
    border: 1px solid #424242;
    border-left: 3px solid black;
    border-radius: 5px;
    outline: 1px dotted black;
    box-sizing: border-box;
}
.stamps-spread {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 9px;
    position: relative;
}
.stamps-spread::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -2px;
    bottom: -2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(40deg in oklch, #00000014 82%, rgba(99, 99, 99, 0.37) 90%, #00000008 93%);
    background-size: 10% 200%;
    box-shadow: 0 4px 30px rgba(174, 145, 145, 0.15);
    pointer-events: none;
}

/** DVD Clique **/
article.dvd-shelves {
    border: 6px solid #45221c;
    outline: 8px solid #69342b;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 4px;
    width: calc(100% - 46px);
    margin: 20px auto;
    padding-top: 5px;
    background: repeating-linear-gradient(#2c1512, #331915 140px, #42271c 140px, #40251a 162px, #69342b 162px, #69342b 170px);
}

/** Playbills Clique**/
#pixelbills-content {
    display: flex;
    justify-content: space-around;
}
.playbill-spread {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 65px 10px 0px 30px;
    margin: 0 0 10px;
    background-color: #8c4428;
    background-image: url('./../assets/bgs/wood-pattern.png');
    height: fit-content;
    box-shadow: 0 5px 10px black;
    border-radius: 5px;
    width: 165px;
}
.playbill-spread::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 9px;
    background: red;
    bottom: 0;
    left: 0;
    background-color: #330e00;
    background-image: url('./../assets/bgs/wood-pattern.png');
    box-shadow: 0 0 10px black;
    border-radius: 0 0 5px 5px;
}

.playbill-spread > a:hover img, .playbill-spread > a:focus img, .playbill-spread > span:hover img, .playbill-spread > span:focus img {
    z-index: 2;
    position: absolute;
    bottom: 10px;
    box-shadow: 0 0 10px yellow;
}

.playbill-spread > a, .playbill-spread > span {
    width: 52px;
    margin-top: -40px;
    margin-left: -20px;
    position: relative;
    height: 84px;
}
.playbill-spread > h3 {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    color: yellow;
    text-shadow: 0 0 10px black;
    margin: 0;
}

/** Lava lamps clique **/
#lava-lamps {
    background-image: url('./../clique/lavalounge/bgtile.jpg');
    background-size: 50%;
    padding-bottom: 9px;
    border-radius: 50px;
    border: 3px solid #006672;
    outline: 3px solid #7a2930;
    outline-offset: 2px;
    width: 90%;
    margin: 0 auto 10px;
}
.shelf {
    background-image: url('./../clique/lavalounge/shelf.png');
    background-repeat: no-repeat;
    height: 70px;
    background-position: bottom;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    width: 300px;
    margin: auto;
    gap: 5px;
    position: relative;
}
.shelf::before {
  content: '';
  display: block;
  height: 5px;
  width: 99%;
  position: absolute;
  background: linear-gradient(black 0px, transparent 3px);
  bottom: -3px;
  margin: auto;
}
.shelf > span, .shelf > a {
    height: 55px;
}

.playbill-spread > a img, .shelf > a img {
    scale: 1;
}
.playbill-spread > a:hover img, .playbill-spread > a:focus img, .shelf > a:hover img, .shelf > a:focus img {
    scale: 1.5;
}


/** Colours Swatches **/
#pantson-swatches {
    position: relative;
    height: 200px;
    width: 330px;
    margin: auto;
}
.row {
    transform-origin: left 34%;
    position: absolute;
    display: flex;
    gap: 5px;
    justify-content: end;
    outline: 1px solid;
    background: white;
    padding: 3px;
    z-index: 1;
    transition: all 2s;
    width: 320px;
    box-shadow: 0 0 10px black;
}
.row::before {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
    background: black;
    left: 20px;
    top: 40%;
    border-radius: 50%;
}
.personal-palette::after, .other-palettes::after {
    display: block;
    position: absolute;
    rotate: -90deg;
    bottom: 48px;
    left: -38px;
    font-family: monospace;
    font-size: 11px;
    color: black;
}
.personal-palette::after {
    content: 'Personal Palette';
}
.other-palettes::after {
    content: 'Other Palettes';
    left: -35px;
}
#second-row {
    rotate: 5deg;
    background: grey;
}
#third-row {
    rotate: 10deg;
    background:beige;
}
.row.active{
  rotate: 0deg !important;
  z-index: 2;
}
#pantson-menu {
    text-align:center; 
    margin-bottom: 15px;
}

/** CDs Clique **/
.cd-card {
  display: flex;
  width: 90%;
  margin: 5px auto;
  gap: 10px;
}

.cd-info small {
  background: #023302;
  padding: 5px;
  font-style: italic;
  opacity: 0.7;
  border-radius: 5px;
}

.cd-info p {
  margin-top: 5px;
}

/** Book Clique **/
#library h3 {
    text-align: center;
}
.bookshelf {
    background:url('./../clique/books/shelf.png');
    line-height: 150px;
    padding: 21px 10px 9px;
    outline: #5d1c27 solid 5px;
    border: #863133 solid 5px;
    position: relative;
    margin: 10px auto 30px;
    image-rendering: pixelated;
    border-top: none;
    display: flex;
    align-items: end;
    box-sizing: border-box;
    width: 90%;
    gap: 30px 25px;
    flex-wrap: wrap;
}
.bookshelf a {
    line-height: 0;
}
.bookshelf img {
    height: 120px;
}

/** Tower Clique **/
#the-tower {
  display: flex;
  flex-wrap: wrap;
  margin: 10px auto;
  border: 6px groove green;
  max-width: 400px;
}
#the-tower img {
  display: inherit;
}

@media screen and (max-width: 760px) {
    body {
        margin-top: 60px;
    }
    #clique-menu {
        flex-direction: row;
        height: fit-content;
        width: calc(100% - 10px);
        margin: 0 5px;
        background-color: #064b0a;
        background-image: url("./../assets/bgs/paper-3.png");
        align-items: center;
        z-index: 10;
        padding: unset;
    }
    #clique-menu div {
        flex-direction: row;
        overflow: auto;
        align-items: center;
        padding: 5px;
    }
    #clique-menu hr {
        border-bottom: unset;
        border-right: 5px groove #064b0a;
        height: 64px;
        margin: 0;
        width: unset;
    }
}
@media screen and (max-width: 495px) {
    .playbill-spread > a, .playbill-spread > span, #others-playbills, #my-playbills {
        margin: unset;
    }
    .playbill-spread {
        padding: 25px 5px 0px 20px;
        gap: 5px;
        width: calc(100% - 41px) !important;
        margin: 10px 8px !important;
    }
    #pixelbills-content {
        flex-direction: column;
    }
    .playbill-spread::after {
        bottom: -9px;
    }
}
@media screen and (max-width: 400px) {
    #pantson-menu, .personal-palette::after, .other-palettes::after, .row::before {
        display: none;
    }
    #pantson-swatches {
        margin-bottom: 15px;
        display: flex;
        flex-direction: column-reverse;
        height: unset;
        width: fit-content;
    }
    .row {
        background: unset;
        width: fit-content;
        box-shadow: unset;
        padding: unset;
        position: unset;
        transform-origin: unset;
        display: block;
        outline: unset;
        letter-spacing: -6px;
    }
    #second-row, #third-row {
        rotate: unset;
        background: unset;
    }

}
@media screen and (max-width: 380px) {
    .shelf {
        width: 100%;
        background-size: 100%;
    }
}
