:root {
  --color-black: #0A0B1A;
  --color-white: #FFF5E1;
  --color-theme1: #1C1442;
  --color-theme2: #2B1660;
  --color-theme3: #142850;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    
    scrollbar-width: none;

    background-color: white;

}

.Nav_Bar {
    display: flex;               /* enable flexbox */
  justify-content: space-between; /* push children to edges */
  align-items: center;

  position: fixed;       
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;          
}

#heroTitle {
    font-family: 'Ruigslay';
    font-size: 10vh;
    text-decoration: underline;
    color: var(--color-white);

    padding-left: 2vw;
    padding-top: 2vh;

    
}


.Nav_Bar nav {
   
    display: flex;
    align-items: center;
    

    height: 10vh;
    width: auto;

    padding-right: 2vw;
}

.Nav_Bar nav ul {
    display: flex;
        gap: .5vh;
}

.Nav_Bar nav ul li {
    text-transform: uppercase;          
    font-size: clamp(1rem, 2vh, 1.5rem);
    font-family: 'quantico';
    list-style: none;
    color: var(--color-white);

    border: 2px solid var(--color-white);
    padding: 0rem .5rem; /* vertical | horizontal*/


}

.Nav_Bar nav ul li a {
    text-decoration: none;
    
    transition: all 0.3s ease 0s;

    color: var(--color-white);

    mix-blend-mode: difference;

}

.Nav_Bar nav ul li a:hover {
    transition: all 0.3s ease 0s;
    color: sandybrown;
}


/*=========================
Bookshelf start
==========================*/

 .outter-wrapper {
    width: 100vh;
    height: 100vw;
    transform: rotate(-90deg) translateX(-100vh);
    transform-origin: top left;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
    scrollbar-width: none;
 }

#projectBookshelf {
    display: flex;
    flex-direction: row;
    width: 100vw; /*Make equal to the total width of all the content (4*100)*/
    transform: rotate(90deg) translateY(-100vh);
    transform-origin: top left;    
}
/*do some kinda animation here later!!*/
.projectBanner {
    flex: 0 0 clamp(250px, 18%, 350px);     
    min-width: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;

    border: .05vw solid var(--color-white);

    opacity: 0.85;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.projectBanner p {
    font-family: 'Canelamed';
}

.projectBanner:hover {
    transform: scale(1.05);
    opacity: 1;
    z-index: 10;
}

.projectBanner:hover p {
    transform: scale(1.1); 
    transition: transform 0.3s ease; 
    transform-origin: center bottom; 
}

/*===========
Centering each image
===========*/
#bookSpine_Ion img{
    position: absolute;   /* allows image to fill div */
    top: 50%;
    left: 50%;
    height: 100%;         /* fill parent height */
    width: auto;          /* width auto to maintain aspect ratio */
    transform: translate(-50%, -50%); /* center the image */
    object-fit: cover;    /* ensures cropping if needed */
}
#bookSpine_Kamassi img{
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;       
    width: auto;        
    transform: translate(-43%, -50%); 
    object-fit: cover;  
}
#bookSpine_Stratum img{
    position: absolute;   
    top: 50%;
    left: 50%;
    height: 100%;         
    width: auto;          
    transform: translate(-48%, -50%); 
    object-fit: cover;    
}
#bookSpine_1000 img{
    position: absolute;  
    top: 50%;
    left: 50%;
    height: 100%;        
    width: auto;       
    transform: translate(-49.2%, -47%);
    object-fit: cover;    
}


.projectBanner p{
    color: var(--color-white);
    font-size: 6vh;
    text-align: center;

    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 15%;

    margin-top: 0;
    margin-bottom: 0;

    display: flex;
    
    z-index: 11;
    align-items: end;
    justify-content: center;
}

.projectBanner a {
  color: var(--color-white);            /* use parent color */
  text-decoration: none;     /* remove underline */
}


.projectBanner a:link,
.projectBanner a:visited,
.projectBanner a:hover,
.projectBanner a:active {
  color: inherit;            /* ensures all states match */
  text-decoration: none;
}
