@font-face {
    font-family: TeXGyreHeros;
    src: url(fonts/texgyreheros-regular.otf);
}
@font-face {
    font-family: TeXGyreHerosCondensed;
    src: url(fonts/texgyreheroscn-regular.otf);
}
@font-face {
    font-family: NeueMontrealRegular;
    src: url(fonts/NeueMontreal-Regular.ttf);
}
@font-face {
    font-family: PPPlaygroundMedium;
    src: url(fonts/PPPlayground-Medium.otf);
}

:root {
    --headings: TeXGyreHerosCondensed;
    --sansBody: NeueMontrealRegular;
    --script: PPPlaygroundMedium;
    --serifBody: 'Times New Roman', Times, serif;

    --red: #DC3E44;
    --pink: #E582A5;
    --lightPink: #facae1;
}
::selection {
    background-color: var(--lightPink);
    color: var(--red);
}
*, html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--sansBody);
}

h1 {
    margin: 0;
    padding: 0;
    font-family: var(--headings);
}
h2 {
    color: var(--red);
    font-family: var(--script);
    margin: 0;
    margin-top: 20px;
    padding: 0;
    font-weight: 300;
    font-size: 60px;
    line-height: 40px;
    /*text-transform: uppercase;*/
}
sup {
    font-size: 12px;
    font-family: var(--sansBody);
    padding-bottom: 5px;
}
.citations {
    font-size: 12px;
    font-family: var(--sansBody);
    text-align: left;
}
.citations a {
    color: var(--pink);
}
.citation-list {
    margin-top: 40px;
    border-top: 1px solid var(--lightPink);
}
.button {
    background-color: #ffffff;
    /*border: 1px solid var(--red);*/
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s ease-in-out;
    text-decoration: none;
    color: var(--red);
    width: fit-content;
    cursor: pointer;

    /* GLOW */
    border-radius: 20%;
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 1);

    /*box-shadow:
    0 8px 8px rgba(255, 255, 255, 1),  
    8px 8px 8px rgba(255, 255, 255, 1), 
    -8px 8px 8px rgba(255, 255, 255, 1), 
    8px -8px 8px rgba(255, 255, 255, 1), 
    -8px -8px 8px rgba(255, 255, 255, 1); */
}
.button:hover {
    background-color: var(--red);
    color: #ffffff;
    border-radius: 20%;
    box-shadow: 0 0 20px 10px rgba(220, 62, 68, 1);
    box-shadow: 0 0 10px 10px rgba(220, 62, 68, 1);
        /*box-shadow:
    0 8px 8px rgba(220, 62, 68, 1),  
    8px 8px 8px rgba(220, 62, 68, 1), 
    -8px 8px 8px rgba(220, 62, 68, 1), 
    8px -8px 8px rgba(220, 62, 68, 1), 
    -8px -8px 8px rgba(220, 62, 68, 1);*/
}
.button-collection{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content:center;
    gap: 40px;
}

/* DRAGGABLE */
.draggable {
    cursor: pointer;
}

/* FIXED CONTAINER + ROOM CONTENT */
#container {
    position: relative;
    border: 1px solid #000000;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    margin: 20px;
    box-sizing: border-box;
    overflow-y: scroll;
    z-index: 0;
}
.room-contents {

    position: fixed;
    display: flex;
    justify-self: center;
    width: calc(100vw - 40px);
    height: auto;
    object-fit: contain;

    pointer-events: none;
}
#room, #bed, #desk, #bulletin, #nightstand, #dresser, #mirror {
    position: absolute;

    display: flex;
    justify-self: center;
    width: calc(100vw - 40px);
    height: auto;
    object-fit: contain;
    pointer-events: none;
}
#room {
    z-index: 100;
}
#desk {
    position: absolute !important;
    z-index: 500 !important;
}

/* SPARKLES */
.sparkle {
    color: #ffffff;
    text-shadow: 
    0 0 5px var(--red),
    0 0 5px var(--red),
    0 0 5px var(--red);
    font-size: 16px;
    position: absolute;
    opacity: 1;
}
.sparkle:nth-child(1n) {
    animation: glow 3s ease-in-out infinite;
}
.sparkle:nth-child(2n) {
    animation: glow 5s ease-in-out infinite;
}
.sparkle:nth-child(3n) {
    animation: glow 4s ease-in-out infinite;
}
@keyframes glow {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}
/* STAMP */
#stamp {
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 100%;
    width: 150px;
    height: 150px;
    border: 1px solid var(--red);
    transform: rotate3d(1, 1, 1, 0deg);
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: stamp 5s infinite;
    cursor: pointer;
    z-index: 5000;
}
#stamp:hover {
    animation: stamp 2s infinite;
}
@keyframes stamp {
    0% {
        transform: rotate3d(1, 1, 1, 0deg);
    }
    100% {
        transform: rotate3d(1, 1, 1, 360deg);
    }
}
/* SECTIONS */
.section {
    position: relative;
    height: 200vh;
    width: calc(100vw - 40px);
    text-align: center;
    box-sizing: border-box !important;

    padding: 100px;

    z-index: 200 !important;
}
.section p {
    position: relative;
    z-index: 1000 !important;
    justify-self: center;
}
.picture {
    border-bottom: 1px solid #000000;
    width: 400px;
    height: 300px;
    background-color: #c8c8c8;
}
.boxed {
    border: 1px solid #000000;
    background-color: #ffffff;
    padding: 20px;
    z-index: 1000 !important;
    width: 400px;
    justify-self: center;

    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.sticky {
    position: sticky;
    top: 0;
}
.section.sticky {
    position: sticky;
    top: 0;
}
#instructions {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    color: var(--red);
}
#intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 120vh !important;
}

.circle {
    position:absolute;
    background-color: var(--lightPink);
    width:20px;
    height: 20px;
    border-radius: 100%;
    border:1px solid var(--red);
    cursor: pointer;
}
.circle:hover {
    background-color: var(--red);
}
.circle:hover > img {
    display: block;
}
/* POSTER COLLECTION */
/*#posterCollectionWithdrawal {
    width: calc(100vw - 40px);
    height: 200vh;
    box-sizing: border-box !important;
    padding: 100px;
    z-index: 150 !important;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #f94c9f62;
}*/
.posterCollectionWithdrawal {
    display: none;     
    z-index: 5;     
    width: 100%;
}

/* DETAILS SUMMARY */
details {
    max-height: 60vh;
    overflow: scroll;
    scrollbar-color: var(--red) var(--lightPink);
    scrollbar-width: thin;

    border: 1px solid var(--red);
    color: var(--red);
    background-color: #ffffff;
    padding: 0 20px 20px 20px;

    position: relative;
    width: 400px;
    justify-self: center;

    z-index: 200 !important;
}
summary { 
    display: flex;
    list-style: none;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px 0 10px 0;

    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 20;
}
summary span {
    color: var(--red);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
summary .button {
    margin: 10px 0 0 0;
}
details > div {
    position: relative;
    z-index: 10;
    font-family: var(--serifBody);
    text-align: left;
    padding: 20px;
}

/* CIRCLE CONTAINER */
.circle-container {
    background: none;
    border: none;
    width: fit-content;
    padding: 0 !important;
    margin: 0 !important;
    max-height: auto;
    justify-self: auto;
    overflow: visible;
}
.circle-container img {
    border: 1px solid var(--red);
    width: 200px;
    margin-top: 10px;
}
.circle-container summary {
    background-color: var(--lightPink);
    border: 1px solid var(--red);
    color: #ffffff;
    width: fit-content;
    text-align: left;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;

    /*MAKING IT SQUARE*/
    padding: 0;
    width: 100px;
    height: 140px;

    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}
.circle-container summary:hover {
    background-color: var(--red);
}

/* Posters */
#posters {
    width: calc(100vw - 40px);
    height: calc(100vh - 40px) !important;
    box-sizing: border-box;
    padding: 200px;
    position: relative;
    z-index: 450 !important;
}
.poster {
    /*border: 1px solid #000000;*/
    background-color: #ffffff;
    position: absolute;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;

    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}
.poster:nth-child(1n) {
    width: 100px;
    height: 140px;
}
.poster:nth-child(2n) {
    width: 120px;
    height: 120px;
}
.poster:nth-child(3n) {
    width: 140px;
    height: 100px;
}
#uploadPosterOne,#uploadPosterTwo,#uploadPosterThree,#uploadPosterFour,#uploadPosterFive,#uploadPosterSix,#uploadPosterSeven,#uploadPosterEight,#uploadPosterNine,#uploadPosterTen,#uploadPosterEleven,#uploadPosterTwelve,#uploadPosterThirteen,#uploadPosterFourteen,#uploadPosterFifteen,#uploadPosterSixteen,#uploadPosterSeventeen,#uploadPosterEighteen,#uploadPosterNineteen,#uploadPosterTwenty,#uploadPosterTwentyOne,#uploadPosterTwentyTwo,#uploadPosterTwentyThree,#uploadPosterTwentyFour,#uploadPosterTwentyFive,#uploadPosterTwentySix,#uploadPosterTwentySeven,#uploadPosterTwentyEight,#uploadPosterTwentyNine,#uploadPosterThirty {
    color: #000000;
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 5px;
    text-decoration: underline;
}

#posterOne {
    margin: 0 0 0 40px;
}
#posterTwo {
    margin: 40px 0 0 60px;
}
#posterThree {
    top: 20vh;
    right: 15vw;
}
#posterFour {
    top: 25vh;
    right: 20vw;
}
#posterFive {
    top: 30vh;
    right: 25vw;
}
#posterSix {
    top: 30vh;
    right: 25vw;
}
#posterSeven {
    top: 30vh;
    right: 25vw;
}
#posterEight {
    top: 30vh;
    left: 30vw;
    width: 120px;
    height: 120px;
}

#posterNine {
    top: 40vh;
    left: 38vw;
    width: 120px;
    height: 120px;
}

#posterTen {
    top: 74vh;
    left: 59vw;
}

#posterEleven {
    top: 27vh;
    left: 48vw;
}
#posterTwelve {
    top: 39vh;
    left: 29vw;
}
#posterThirteen {
    top: 29vh;
    left: 58vw;
}
#posterFourteen {
    top: 12vh;
    left: 5vw;
}
#posterFifteen {
    top: 54vh;
    left: 62vw;
}
#posterSixteen {
    top: 16vh;
    left: 17vw;
}
#posterSeventeen {
    top: 29vh;
    left: 39vw;
}
#posterEighteen {
    top: 12vh;
    left: 64vw;
}
#posterNineteen {
    top: 3vh;
    left: 4vw;
}
#posterTwenty {
    top: 29vh;
    left: 39vw;
}
#posterTwentyOne {
    top: 12vh;
    left: 49vw;
}
#posterTwentyTwo {
    top: 40vh;
    left: 57vw;
}
#posterTwentyThree {
    top: 38vh;
    left: 74vw;
}
#posterTwentyFour {
    top: 4vh;
    left: 29vw;
}
#posterTwentyFive {
    top: 23vh;
    left: 49vw;
}
#posterTwentySix {
    top: 78vh;
    left: 2vw;
}
#posterTwentySeven {
    top: 39vh;
    left: 32vw;
}
#posterTwentyEight {
    top: 24vh;
    left: 29vw;
}
#posterTwentyNine {
    top: 74vh;
    left: 64vw;
}
#posterThirty {
    top: 23vh;
    left: 90vw;
}


.poster > div {
    display: flex;
    flex-direction: column;
    opacity: 0.25;
    transition: all 0.5s ease-in-out;
}
.poster:hover > div {
    opacity: 1;
}