main {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.main-content {
    max-width: 2000px;
    margin: 0 auto;
    padding: 40px;
}

.profile-page {
    max-width: 2000px;
    margin: 20 auto;
    padding: 40px;
}

.book-review {
    max-width: 2000px;
    margin: 20 auto;
    padding: 40px;
}


.steps {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 15px;

    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Full screen image */
.hero {
    height: 100vh;
    background-image: url("/static/images/OneBHomePage.png");
    background-size: cover;
    background-position: center;

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

    position: relative;
    z-index: 1;
}
.hero2 {
    height: 100vh;
    background-image: url("/static/images/OneBAboutPage.png");
    background-size: cover;
    background-position: center;

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

    position: relative;
    z-index: 1;
}
.hero3 {
    height: 100vh;
    background-image: url("/static/images/OneBAboutPage2.png");
    background-size: cover;
    background-position: center;

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

    position: relative;
    z-index: 1;
}
.hero7 {
    height: 100vh;
    background-image: url("/static/images/OneBBooksPage.png");
    background-size: cover;
    background-position: center;

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

    position: relative;
    z-index: 1;
}
.hero4 {
    height: 100vh;
    background-image: url("/static/images/OneBContactPage.png");
    background-size: cover;
    background-position: center;

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

    position: relative;
    z-index: 1;
}

.hero6 {
    height: 100vh;
    background-image: url("/static/images/OneBContactPage2.png");
    background-size: cover;
    background-position: center;

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

    position: relative;
    z-index: 1;
}

.hero5 {
    height: 100vh;
    background-image: url("/static/images/OneBLoginPage.png");
    background-size: cover;
    background-position: center;

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

    position: relative;
    z-index: 1;
}


/* Text on image */
.hero-text {
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 250px;
}

.hero-text h1 {
    font-size: 6rem;
    text-align: center;
    color: white;
    margin: 0;
}

.hero-text p {
    font-size: 2rem;
}

/* White section that covers image */
.content-section {
    position: relative;
    z-index: 2;

    background: white;
    min-height: 100vh;

    margin-top: 0px;  /* pulls white section upwards */
    border-radius: 40px 40px 0 0;

    padding: 0px;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.15);
}
nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    background-color: rgba(7, 140, 0, 0.388);
}

nav a {
    
    text-decoration: none;
    font-weight: bold;
    color: white;

}


h1 {
    color: navy;
}

input,
textarea {
    width: 300px;
    padding: 8px;
}

button {
    padding: 10px 15px;
    background-color: darkgreen;
    color: white;
    border: none;
    cursor: pointer;
}


.book-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}


.book-image img {
    width: 220px;
    height: 330px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.2s;
}
.book-cover {
width: 220px;
height: auto;
display: block;
margin-bottom: 20px;
}

.book-grid img:hover {
transform: scale(1.05);
}

.book-card {
    width: 220px;
    height: 330px;
    flex-shrink: 0;
}

.book-inner {
    position: relative;
    width: 220px;
    height: 330px;

    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.book-card:hover .book-inner {
    transform: rotateY(180deg);
}

.book-front-Gio,
.book-back-Gio {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Gio img,
.book-back-Gio img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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




.book-front-Dog,
.book-back-Dog {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Dog img,
.book-back-Dog img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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




.book-front-Sid,
.book-back-Sid {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Sid img,
.book-back-Sid img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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





.book-front-Grief,
.book-back-Grief {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Grief img,
.book-back-Grief img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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




.book-front-Frank,
.book-back-Frank {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Frank img,
.book-back-Frank img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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


.book-front-Plow,
.book-back-Plow {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Plow img,
.book-back-Plow img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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

.book-front-Small,
.book-back-Small {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Small img,
.book-back-Small img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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



.book-front-Can,
.book-back-Can {
    position: absolute;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.book-front-Can img,
.book-back-Can img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}

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




/* Clickable coffee cup rating input */
.coffee-rating-input {
    width: fit-content;
    margin: 15px 0 20px;
    padding: 12px 16px;
    border: 1px solid #d6c2a8;
    border-radius: 8px;
    background-color: #fff8ed;
}

.coffee-rating-input legend {
    padding: 0 6px;
    font-weight: bold;
}

.coffee-options {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    width: fit-content;
}

/* Visually hide the radio buttons */
.coffee-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Unselected coffee emojis */
.coffee-options label {
    display: inline-block;
    padding: 2px;
    font-size: 2.3rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.25;
    filter: grayscale(1);
    transition:
        opacity 0.15s ease,
        filter 0.15s ease,
        transform 0.15s ease;
}

/* Hovered and selected coffee emojis */
.coffee-options label:hover,
.coffee-options label:hover ~ label,
.coffee-options input:checked ~ label {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-2px);
}

/* Keyboard focus */
.coffee-options input:focus-visible + label {
    outline: 2px solid #005fcc;
    outline-offset: 3px;
    border-radius: 4px;
}

.rating-help {
    margin: 8px 0 0;
    color: #555555;
    font-size: 0.9rem;
}


/* Container for one coffee cup */
.coffee-cup {
    position: relative;
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    font-size: 2rem;
    line-height: 1.25;
}

/* Faded cup underneath */
.coffee-cup-empty {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    filter: grayscale(1);
}

/* Normal emoji clipped to the required percentage */
.coffee-cup-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--fill);
    overflow: hidden;
    white-space: nowrap;
}

/* Smaller cups alongside individual reviews */
.review-cups .coffee-cup {
    font-size: 1.4rem;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.review {
    background: white;
    padding: 15px;
    margin-bottom: 20px;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile_picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6f4e37; /* coffee brown */
    cursor: pointer;
}

#profile_picture {
    display: none;
}

.profile-picture-label {
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.profile-picture-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: rgba(0, 0, 0, 0.7);
    color: white;

    text-align: center;
    padding: 8px;

    opacity: 0;
    transition: opacity 0.3s;

    border-bottom-left-radius: 75px;
    border-bottom-right-radius: 75px;
}

.profile-picture-label:hover .profile-picture-overlay {
    opacity: 1;
}
.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px;
    margin-bottom: 20px;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-review {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px;
    margin-bottom: 20px;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.review-profile-preview{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 15px;
    margin-bottom: 20px;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.profile_picture2{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6f4e37; /* coffee brown */
    cursor: pointer;
}

.step-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.step-card:visited {
    color: inherit;
}

.step-card:hover {
    color: inherit;
}

.step-card:active {
    color: inherit;
}
.steps a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.steps a:hover {
transform: scale(1.05);
}

.review-cups .filled {
    opacity: 1;
}

.review-cups .empty {
    opacity: 0.2;
}
.body-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #4a3428;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.body-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 2000px;
    color: #444;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

