* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    cursor: text;
}

::selection {
    background: #222222;
    color: #ffffff;
}



body {

    background-image: url("images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #eeeeee;

    font-family: "IBM Plex Sans", sans-serif;

    font-weight: 300;

    overflow: hidden;

}



/* MAIN STRUCTURE */

#page {

    width:95vw;
    height:100vh;

    margin:0 auto;

    display:flex;

}



/* =================================
   LEFT ARCHIVE WALL
================================= */


#left {

    flex:0 0 57vw;

    height:100vh;

    overflow-y:auto;

    position:relative;

    scrollbar-width:none;


}


#archiveGrid {

    margin-left:5%;
    margin-right:5%;

    display:grid;

    grid-template-columns:repeat(3, 1fr);

    gap:10px;

    width:90%;

    padding-top:0px;


    

    

}


.archiveImage {

    width:100%;

    height:auto;

    display:block;

    object-fit:contain;

}







/* selected single card */

#singleCard {

    width:100%;
    height:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    

}



#cardImage {

    width:40%;
    height:auto;

    object-fit:contain;

    cursor:pointer;

    align-self:flex-start;

    padding-top:120px;
    padding-right:-200px;




}



#cardImage.selected {

    width:90%;
    height:90%;

    transform:translateY(0px);
        padding-left:140px;



}













/* =================================
   CENTER ARCHIVE WORD
================================= */


#archiveButton {

    width:20px;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    position:relative;

    z-index:10;


    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23fff3a0'%3E%3Ccircle cx='20' cy='20' r='7'/%3E%3Cpath d='M20 2 L23 13 L20 10 L17 13 Z M35 12 L26 18 L29 20 L26 22 Z M38 25 L27 23 L29 27 L24 28 Z M30 38 L21 29 L20 33 L17 28 Z M10 35 L14 25 L10 27 L7 22 Z M2 20 L13 18 L10 15 L14 13 Z M10 5 L16 14 L17 10 Z'/%3E%3C/g%3E%3C/svg%3E") 20 20, auto;

}

#archiveButton::before {

    content:"";

    position:absolute;

    left:-50px;

    top:0;

    bottom:0;

    width:50px;

}


#archiveText {

    display:block;

    font-size:22px;

    letter-spacing:-1px;

    font-style:italic;

    color:#888888;

    text-transform:lowercase;

    white-space:nowrap;

    transform:rotate(90deg) scaleX(8);

    pointer-events:none;

    padding-top: 50px;

    padding-left: 15px;


}





/* =================================
   RIGHT SIDE
================================= */


#right {

    flex:1;

    height:100vh;

    display:flex;

    align-items:top;

    padding-top: 25px;

    padding-left:40px;

    padding-right:60px;

}


#title {

    font-size:22px;
    color:#d7d7d7;
    

    margin-bottom:20px;
   
}


#narrative {

    font-size:13px;
    font-style:italic;
    color:#ffffff;
    letter-spacing: 3%;

    margin-bottom:40px;

}


#text {

    font-size:14px;
    color:#bbbbbb;
    white-space: pre-line;

    line-height:1.5;

}

#credits{

    font-size:11px;
    color:#000000;
    white-space: pre-line;

    margin-top:40px;

}

#credits a {
    color: inherit;
    text-decoration: none;
    cursor: text;
}




#description {
    overflow-y: auto;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

#description::-webkit-scrollbar {
    display: none; 
}










/* =================================
   HIDDEN SCROLLBAR
================================= */

#left {

    width:50vw;
    height:100vh;

    overflow-y:auto;

    position:relative;

    scrollbar-width:none;

}


#left::-webkit-scrollbar {

    display:none;

}






#leftLabel,
#rightLabel {
    position: fixed;
    font-size: 12px;
    font-weight: 300;
    color: #bbbbbb;
    z-index: 100;
}

#leftLabel {
    left: 20px;
    color: #6f47c5;
    top: 200px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

#leftLabel.show {
    opacity: 1;
    pointer-events: auto;
}

#rightLabel {
    right: 20px;
    color: #ae962b;
    top: 530px;
}


#flash{

    position:fixed;
    inset:0;

    background:#001a66;

    opacity:0;

    pointer-events:none;

    z-index:9999;

}
