body {
  font-family: "Rock Salt", sans-serif;
  font-weight: 700;
  background-color: #2C2930;
}

footer {
    margin: 4rem auto;

    @media (width <= 60em) {
        font-size: 20%;
    }
}

@media (width <=60em) {
    .sticky-notes {
        display: none;
    }
}

/* STICKY NOTES TABS COLUMN */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 8fr;
    background-color: #2C2930;
    width: 100%;
    height: 100vh;
    overflow: visible;
}


/* MAIN COLUMN */
#nav-btn {
    display: none;

    @media (width <=60em) {
        display: flex;
        font-size: 28px;
        font-family: 'Courier New', Courier, monospace;
        color: #ececec;
        font-weight: 200;
        margin-left: 10px;
        margin-top: 30px;
        padding-bottom: 10px;
    }
}

.main {
    /* padding-top: 30px; */
    position: relative;
    background-image:url('/images/background0.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    width:100%;
    height:100%;
    z-index: 10;
    justify-content: start; 
    align-items: center; 

    box-shadow: -6px 6px 5px rgba(0, 0, 0, 0.2);

    @media (width <=60em) {
        width: 100vw;
    }
}

#logo {
    display: block;
    margin: auto auto;
    width: 85%;
    object-fit: contain;
    align-items: center;
    position: relative;
    z-index: 2;

    @media (width <=60em) {
        width: 60%;
    }
}

#about {
    width: 65%;
    height: auto;
    object-fit: contain;
    margin-bottom: -20px;

}

.content-border-box {
    margin-top: 5%;
    color: #ebe1de;
    background-color: #2C2930;
    box-shadow: 10px 10px #b8c5c0;
    border-radius: 10px;
    width: 80%;
    z-index: 2;
}

.content-border-box p {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 200;
    padding: 18px 30px;
    display: block;
    font-size: 1.5rem;
    margin: 0 auto;
    text-shadow: 2px 1px 5px black;

    @media (width <= 60em) {
        text-align: center;
        font-size: 1.1rem;
    }
}

/* MAIN COLUMN - flipbook*/
#flipbook-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#feature-flipbook {
    display:flex;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
    margin-bottom: 0;
    width: 1000px;
    padding: 30px 0;
    background-image: url("/images/bg-images/watermarble.jpg");
    background-repeat: repeat;
    opacity: 0.8;
    border-radius: 30px;
    box-shadow: 0px 0px 20px rgb(0, 0, 0);

}

#book {
    margin: 30px 20px;
    position: relative;
    height: 90vh;
    width: 70vh;
    transition: transform 0.5s;

    @media (width <= 60em) {
        height: 300px;
        width: 100px;
    }
}

.paper {
    /* absolute so pages overlap */
    position: absolute;
    width: 70vh;
    height: 90vh;
    /* for 3D effect */
    perspective: 1500px;

    @media (width <= 60em) {
        height: 300px;
        width: 100px;
    }

}

.front,
.back {
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: left;
    transition: transform 0.5s;

    @media (width <= 60em) {
        height: 300px;
        width: 200px;
    }
}

.front {
    z-index: 1;
    backface-visibility: hidden;
    border-left: 1px solid black;

}

.back {
    z-index: 0;
}

.front-content,
.back-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-content {
    transform: rotateY(180deg);
}

/* Paper flip effect */
.flipped .front,
.flipped .back {
    transform: rotateY(-180deg);
    box-shadow: 0 5px 5px black;
}

/* Controller Buttons */
button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 4rem;
    font-weight: 900;
    height: 40px;
    display: block;
    margin: 0 auto;
    padding-bottom: 10px;
    transition: transform 0.5s;

    color: #e2d7d3;
    text-shadow: 0px 0px 10px black;
}


button:hover {
    color: #636363;

    @media (width <= 60em) {
        color: #e2d7d3;
    }
}

/* Paper stack order */
#p1 {
    z-index: 8;
}

#p2 {
    z-index: 7;
}

#p3 {
    z-index: 6;
}

#p4 {
    z-index: 5;
}

#p5 {
    z-index: 4;
}

#p6 {
    z-index: 3;
}

#p7 {
    z-index: 2;
}

#p8 {
    z-index: 1;
}

#featured-book-pdf-link {
    margin-top: 2%;
    font-size: 0.7rem;
    color: #a0b7fc;
}

/* STICKY NOTE COLUMN */
.sticky-notes {
    z-index: 1;
    height: 100vh;
    font-weight: bold;
}


.note {
    color: #151515;
    margin-left: 10%;
    height: 40px;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 20px 30px;
    padding-right: 50px;
    padding-left: 40px;
    border-radius: 30px 0 0 60px;
    box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.2s ease;
    cursor: pointer;
    z-index: 1;
}

.note p {
    display: block;
    margin: auto auto;
    font-size: 15px;
    text-shadow: -0.5px 0.5px 1px rgb(100, 100, 100);

}

.note:hover, .note-menu:hover {
    transform: translateX(30px);
    background-color: #ffefb5;
    box-shadow: -6px 6px 6px rgba(82, 82, 82, 0.2);
}


#archives-note { 
    background-color: #D4AE6B;
    border: 5px solid #B76D79;
    border-right: none;

    @media (width <= 60em) {
        border: 5px solid #B76D79;
    }
}

#about-note {
    background-color: #B76D79; 
    border: 5px solid #544871;
    border-right: none;

    @media (width <= 60em) {
        border: 5px solid #544871;
    }
}

#contact-note { 
    background-color: #C5BBB8; 
    border: 5px solid #746161;
    border-right: none;

    @media (width <= 60em) {
        border: 5px solid #746161;
    }
}

#ripped-page {
    position: absolute;
    right: 0;
    z-index: 1;

    @media (width <=60em) {
        width: 45%;
        height: 200px;
        z-index: -2;
        opacity: 0.7;
    }
}

#ripped-corner {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 1;
    width: 40%;
    opacity: 0.8;

    @media (width <=60em) {
        width: 45%;
        z-index: -2;
        opacity: 0.7;
        height: 150px;
    }
}

#footer {
    margin-bottom: 5%;
    color: #C5BBB8;
}

/* ABOUT PAGE */
#meet-the-team-text {
    margin: 3rem auto;
    color: #C5BBB8;
    text-shadow: 2px 1px 5px rgb(39, 39, 39);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 80%;

    @media (width <= 60em) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.photo-grid img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 14px rgba(20,20,20,0.2);
}

.photo-grid a:focus img{
    outline: 3px solid #6aa7ff;
    outline-offset: 4px;
}

.photo-grid img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid img:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    cursor: default;
}

#maya-temp {
    color:#ff9dad;
    text-align: center;

    @media (width <= 60em) {
        font-size: 10px;
    }
}

/* CONTACT PAGE */
#join-us-img {
    margin-top: 10%;
    width: 50%;

    @media (width <= 60em) {
        width: 90%;
    }
}

/* ARCHIVES PAGE */
#archives {
    display: flex;
    text-align: center;
    margin: 2rem 0;
    width: 88%;
    background-image: url("/images/bg-images/watermarble.jpg");
    background-blend-mode: lighten;
    border-radius: 30px;
}

#archives-bg-overlay{
    display: block;
    margin: 2rem 4rem;
    background-color: #2C2930;
    border-radius: 30px;
}

.prev-issue {
    display: inline-block;
    padding: 0;
    width: 80%;
    margin: 2rem 2rem;
}
.prev-issue img {
    box-shadow: 0px 0px 20px #000000;

    @media (width <= 60em) {
        width: 90%;
    }
}
.prev-issue img:hover {
    box-shadow: 0px 0px 20px #848484;
}
.prev-issue p {
    font-size: 1rem;
    color: #C5BBB8;
}

/* MENU FOR MOBILE PAGE */
#menu-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.note-menu {
    color: #151515;
    margin: 5% auto;
    height: fit-content;
    width: 90%;
    border-radius: 30px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 10px 10px;
}