:root {
    --background-color: #E8EBEE;
    --book-frame-color: #222;
    --page-color: #F1F1F1;
    --spine-color: #889097;
    --shadow: #777;
    --red: #EB7368;
    --orange: #FAD7A0;
    --yellow: #F9E79F;
    --green: #A9DFBF;
    --teal: #A3E4D7;
    --blue: #AED6F1;
    --indigo: #BB8FCE;
    --violet: #D7BDE2;
    --pink: #F5C6D6;
    --brown: #D7B89C;
    --light-brown: #F0D4BC;
    --dark-brown: #302622;
    --gray: #889097;
    --white: #FFF;
    --tape-gray: #dbd8be;
    --tape-edge-gray: #b7b49d;
}

@font-face {
    font-family: my-font;
    src: url(../fonts/helvetica-condensed-bold.otf);
}

@font-face {
    font-family: my-font-2;
    src: url(../fonts/helvetica-condensed-regular.ttf);
}

html {
    height: 100vh;
    width: 100vw;
    overflow: hidden
}

p,
h1 {
    margin: 0px;
}

body {
    background: var(--background-color);
    height: 100vh;
    width: 100vw;
    display: grid;
    place-content: center;
}

html,
body {
    margin: 0px;
}

div.book-container {
    background-color: var(--book-frame-color);
    border-radius: 20px;
    padding: 20px 25px;
    margin-top: 70px;
    width: 80vw;
    max-width: 1200px;
    height: 70vh;
    max-height: 550px;
    display: grid;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.25), 5px 5px 5px 0px rgba(0, 0, 0, 0.25), 0 5px 5px 0px rgba(0, 0, 0, 0.25);
    position: relative;
}

#base-pages {
    grid-area: 1/1;
    position: relative;
    background-color: var(--page-color);
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    box-shadow: -5px 5px 10px 5px rgba(0, 0, 0, 0.5), 5px 5px 10px 5px rgba(0, 0, 0, 0.5), 0 5px 10px 5px rgba(0, 0, 0, 0.5);
}

div#book-frame {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

#book-frame .turn-page {
    background-color: var(--page-color);
}

.page-content-container {
    height: 100%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.page-content {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.half-page {
    display: flex;
    flex-direction: column;
    flex: 1 0 50%;
    box-sizing: border-box;
    height: 100%;
    padding: 20px;
    gap: 15px;
}

div.half-page:nth-child(1) {
    border-right: 2px solid var(--spine-color);
}

div.half-page:nth-child(2) {
    border-left: 2px solid var(--spine-color);
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 95px;
    background-image: url("../images/banner-red.png");
    background-size: cover;
    background-position: center;
    position: relative;
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.5));
}

.banner.technology {
    background-image: url("../images/banner-red.png");
}

.banner.hobbies {
    background-image: url("../images/banner-blue.png");
}

.banner.cultural {
    background-image: url("../images/banner-green.png");
}

.banner.academic {
    background-image: url("../images/banner-yellow.png");
}

.banner.creativity {
    background-image: url("../images/banner-pink.png");
}

.banner.sports {
    background-image: url("../images/banner-purple.png");
}

.page-banner-title {
    color: white;
    font-family: my-font;
    font-size: 60px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.75);
}

#top-tab-container {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 65px;
    margin-top: -50px;
}

#right-page-tabs,
#left-page-tabs {
    display: flex;
    justify-content: space-evenly;
    width: 50%;
}

#side-tab-container {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 55px;
    height: 100%;
    margin-left: -50px;
}

#side-page-tabs {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    row-gap: 20px;
    width: 100%;
    height: 50%;
}

.top-tab {
    background-color: var(--gray);
    text-align: center;
    display: inline-block;
    vertical-align: bottom;
    width: 125px;
    height: 100%;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    font-family: my-font;
    font-size: 15px;
    font-weight: 1000;
    padding-top: 15px;
    box-shadow: inset 0 -5px 15px -5px rgba(0, 0, 0, 1);
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
    filter: brightness(75%);
}

.top-tab:hover {
    margin-top: -10px;
    cursor: pointer;
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.top-tab#active {
    margin-top: -25px;
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
    filter: brightness(100%);
}

.top-tab#active:hover {
    margin-top: -30px;
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.top-tab span {
    margin: 15px 0px 0px 0px;
}

.tab {
    user-select: none;
}

.tab * {
    pointer-events: none;
}

.tab.saved-clubs {
    background-color: var(--red);
    margin-top: -50px;
    height: 200%;
    clip-path: polygon(0% 0%, 50% 35%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 0;
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.tab.saved-clubs:hover {
    margin-top: -60px;
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.tab.saved-clubs#active {
    margin-top: -70px;
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.tab.saved-clubs#active:hover {
    margin-top: -75px;
    transition: margin-top 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.tab.side-tab {
    background-color: var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 110px;
    height: 75px;
    margin-left: -30px;
    box-shadow: inset -5px 0 15px -5px rgba(0, 0, 0, 1);
    transition: margin-left 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
    filter: brightness(75%);
}

.tab.side-tab:hover {
    margin-left: -35px;
    transition: margin-left 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.tab.side-tab#active {
    margin-left: -55px;
    transition: margin-left 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
    filter: brightness(100%);
}

.tab.side-tab#active:hover {
    margin-left: -60px;
    transition: margin-left 0.2s cubic-bezier(1, 1, 0.5, 1.3333);
}

.tab.search img {
    width: 25px;
    height: 25px;
}

.tab.home img {
    margin-left: -30px;
    width: 40px;
    height: 40px;
}

.tab.toc img {
    margin-left: -30px;
    width: 45px;
    height: 45px;
}

.club-button {
    background: linear-gradient(to right, var(--brown) 35%, var(--brown) 100%);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-radius: 10px;
    padding: 10px;
    height: 75px;
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 1), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    font-family: my-font-2;
    color: var(--dark-brown);
    transition: background 200ms ease-in-out;
    margin: 0px 15px;
}
.half-page > .club-button {
    margin-top:30px;
}

.half-page > .club-button ~ .club-button {
    margin-top:0px;
}

.club-button:hover {
    background: linear-gradient(to right, var(--brown) 10%, var(--light-brown) 100%);
    transition: background 200ms ease-in-out;
}

.button:hover {
    cursor: pointer;
}

.club-button * {
    pointer-events: none;
}

.club-button img {
    border-radius: 100%;
    width: 75px;
    height: 75px;
    pointer-events: none;
    box-shadow: 0 4px 2px -1px #3A2F2A;
}

.club-name {
    font-size: 17px;
}

.club-page-title .club-name {
    font-size: 1.45vw;
}

.club-description {
    font-size: 14px;
}

.club-rating {
    align-self: flex-end;
    font-size: 26px;
    margin-top: -10px;
}

.club-card-info {
    pointer-events: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tab.technology {
    background-color: var(--red);
}

.tab.hobbies {
    background-color: var(--blue);
}

.tab.cultural {
    background-color: var(--green);
}

.tab.academic {
    background-color: var(--yellow);
}

.tab.creativity {
    background-color: var(--pink);
}

.tab.sports {
    background-color: var(--indigo);
}

/* Homepage // Navigation Tips */
.home-page {
    margin: 0;
}

.homepage-info {
    display: grid;
    grid-template-columns: 15px 25px;
    column-gap: 15px;
    row-gap: 10px;
    align-content: center;
    margin-left: 15px;
}

.homepage-info img {
    width: 25px;
    height: 25px;
}

.home-page h1 {
    font-family: my-font;
}

.home-page p {
    font-family: my-font-2;
}

.homepage-members ul {
    margin: 0;
}

.homepage-members li {
    font-family: my-font-2;
}

.navtips-page {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "image1 description1"
        "image2 description2";
    width: 100%;
    height: 100%;
    column-gap: 50px;
    padding-top: 30px;
}

.navtips-img-1 {
    width: 178px;
    height: 126px;
    scale: 1.25;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.5));
    justify-self: end;
    grid-area: image1;
}

.navtips-description-1 {
    background: repeating-linear-gradient(var(--white) 0 calc(1.2rem - 1px), var(--pink) 0 1.2rem);
    margin-right: 50px;
    grid-area: description1;
    border-radius: 10px;
    box-shadow: 0 2px 10px 1px rgba(0, 0, 0, 0.25);

    height: 100px;
    padding: 1.3rem 1.25rem;
    line-height: 1.25rem;

    font-size: 0.875rem;
    font-family: my-font;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.navtips-description-2 {
    background: repeating-linear-gradient(var(--white) 0 calc(1.2rem - 1px), var(--pink) 0 1.2rem);
    margin-right: 50px;
    grid-area: description2;
    border-radius: 10px;
    box-shadow: 0 2px 10px 1px rgba(0, 0, 0, 0.25);

    height: 100px;
    padding: 1.3rem 1.25rem;
    line-height: 1.25rem;

    font-size: 0.875rem;
    font-family: my-font;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.navtips-img-2 {
    width: 179.5px;
    height: 145.5px;
    scale: 1.25;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.5));
    justify-self: end;
    grid-area: image2;
}

/* Table of Contents */
.toc-page .half-page {
    gap: 10px;
}

.alphabet-section {
    font-family: my-font;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.toc-alphabet-label {
    margin-left: 60px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    color: var(--gray);
}

.toc-alphabet-label::after {
    content: "";
    display: inline-block;
    width: 90px;
    height: 2px;
    background: var(--gray);
    margin-left: 10px;
    margin-top: 10px;
    vertical-align: middle;
}

.alphabet-section ul {
    list-style: none;
    padding-left: 20px;
    margin-top: -5px;
    margin-left: 125px;
    margin-bottom: 0px;
}

.alphabet-section li {
    margin-bottom: 2px;
}

.alphabet-section a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    cursor: pointer;
}

.alphabet-section a:hover {
    text-decoration: underline;
}


/* Filter sections */
.filter-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #bbb;
}
.filter-section {
    border-radius: 10px;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    min-height: 100px;
        font-family: my-font-2;
}

/* Filter box styles */
.filter-box {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    width: 180px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.filter-box.dragging {
    opacity: 0.7;
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.filter-header {
    font-weight: bold;
    cursor: pointer;
    background: #eaeaea;
    padding: 6px 8px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s ease;
}

.filter-header:hover {
    background: #E2D8BC;
}

/* Arrow indicator */
.filter-header::after {
    content: "▼";
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.filter-box.active .filter-header::after {
    transform: rotate(180deg);
}

.filter-content {
    margin-top: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}

.filter-box.active .filter-content {
    max-height: 220px;
}

.filter-box .view-all-btn {
    width: 100%;
    background: #EDEBDA;
    border: 1px solid #CBBE9A;
    border-radius: 4px;
    padding: 4px 0;
    text-align: center;
    cursor: pointer;
    display: none;
    box-sizing: border-box;
}

.filter-box.active .view-all-btn {
    display: block;
}

.search-bar {
    width: 100%;
    padding: 9px 3px 9px 15px;
    border-radius: 15px;
    border: 2px solid #42424d;
    font-family: verdana;
    outline: none !important;
    margin-top: 20px;
    box-sizing: border-box;
}

.search-bar:focus,
.search-bar:hover {
    border: 2px solid black;
}

.search-button {
    border: 0px;
    outline: 0px;
    width: 25%;
    font-family: verdana;
    text-align: center;
    font-weight: bold;
    padding: 9px 0px;
    border-radius: 10px;
    background-color: var(--red);
    margin-top: 20px;
    float: right;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
}

.search-button:hover {
    filter: brightness(110%);
    cursor: pointer;
    transition: filter 0.2s;
}

/* Individual draggable choices */
.draggable-choice {
    height: 20px;
    margin: 3px 0;
    background: #f0f0f0;
    border-radius: 5px;
    padding: 3px 6px;
    cursor: grab;
    transition: background 0.2s;
}

.draggable-choice:hover {
    background: #e0e0e0;
}

/* Selected placeholder */
.selected-placeholder {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px dashed #bbb;
    border-radius: 8px;
    padding: 5px;
    background: #fafafa;
    min-height: 60px;
    position:relative;
}

.selected-placeholder.dragover {
    background: #e8f5ff;
    border-color: #3399ff;
}

.selected-placeholder h4 {
    display: none;
}

.selected-placeholder:empty h4 {
    display: block;
}

.selected-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Selected filter tag */
.selected-tag {
    background: #d0e8ff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.9em;
    position: relative;
}

.selected-tag::after {
    content: "×";
    color: #333;
    font-weight: bold;
    margin-left: 6px;
    cursor: pointer;
}


/**** Club Pages ****/
.half-page.club-page-left-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 80px 150px 125px 60px;
    grid-template-areas:
        "banner banner"
        "description description"
        "skills meet-team"
        "social-media join-button";
    gap: 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.half-page.club-page-right-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40% 60%;
    grid-template-areas:
        "gallery gallery"
        "your-review all-reviews";
    gap: 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.club-page-title {
    background-color: var(--brown);
    display: grid;
    border-radius: 10px;
    place-content: center;
    box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    font-family: my-font;
    font-size: 60px;
    color: var(--dark-brown);
    grid-area: banner;
}

.tape-section {
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.tape-section:first-of-type {
    top: 0;
}

.tape-section:last-of-type {
    bottom: 0;
}

.tape-section::before,
.tape-section::after {
    content: "";
    width: 50px;
    height: 25px;
    position: absolute;
    background-color: var(--tape-gray);
    opacity: 0.5;
    border-right: 1px dotted var(--tape-edge-gray);
    border-left: 1px dotted var(--tape-edge-gray);
}

.tape-section:first-of-type::before {
    transform: rotate(-45deg);
    margin-left: -20px;
    margin-top: 15px;
}

.tape-section:first-of-type::after {
    transform: rotate(45deg);
    margin-left: 525px;
    margin-top: 15px;
}

.club-page-description {
    background: repeating-linear-gradient(transparent 0 calc(1.2rem - 1px), var(--pink) 0 1.2rem);
    border-radius: 5px;
    box-shadow: 0 2px 10px 1px rgba(0, 0, 0, 0.25);
    padding: 1.3rem 1.25rem;
    line-height: 1.25rem;

    h1 {
        font-family: my-font;
        font-size: 1.15rem;
    }

    p {
        font-family: my-font-2;
        font-size: 0.875rem;
    }

    .club-page-meeting-times {
        margin: 1rem 0 0 0;
    }

    grid-area: description;
}

.club-page-header {
    background-color: var(--blue);
    display: grid;
    width: 100%;
    place-content: center;
    box-shadow: inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    font-family: my-font;
    font-size: 18px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: var(--book-frame-color);
}

.club-page-meet-team,
.club-page-skills,
.all-reviews,
.your-review {
    display: flex;
    flex-direction: column;
}

.team-card {
    background: var(--page-color);
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    column-gap: 5px;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 10px 4px rgba(0, 0, 0, 0.25);
    font-family: my-font-2;
    grid-template-areas:
        "image header-text"
        "image occupation-text";

    h1 {
        align-self: center;
        font-size: 18px;
        grid-area: header-text;
        margin-top: 15px;
        margin-left: -15px;
    }

    p {
        align-self: center;
        font-size: 16px;
        grid-area: occupation-text;
        margin-top: -50px;
        margin-left: -15px;
    }
}

.team-card img {
    border-radius: 100%;
    width: 75px;
    height: 75px;
    pointer-events: none;
    box-shadow: 0 4px 2px -1px rgba(0, 0, 0, 0.5);
    align-self: center;
    margin-left: 30px;
    grid-area: image;
}

.skill-card {
    background-color: var(--page-color);
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 2px 10px 4px rgba(0, 0, 0, 0.25);
}

.skill-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-family: my-font-2;
}

.club-page-meet-team {
    grid-area: meet-team;
}

.club-page-skills {
    grid-area: skills;
}

.club-page-social-icons {
    grid-area: social-media;
    display: flex;
    gap: 10px;
    justify-self: center;
    margin-bottom: 20px;
}

.club-page-social-icons img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.5));
}

.join-save-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.join-button {
    background-color: var(--gray);
    border-radius: 10px;
    width: 60%;
    height: 80%;
    padding-top: 13px;
    font-family: my-font;
    font-size: 25px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: 0.3s ease;
}

.save-button {
    background-color: var(--red);
    border-radius: 10px;
    width: 40%;
    height: 80%;
    padding-top: 13px;
    font-family: my-font;
    font-size: 25px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: 0.3s ease;
}

.join-button:hover,
.save-button:hover {
    filter: brightness(110%);
}

.leads-horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
}

.lead-card {
    min-width: 180px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 12px;
}

.lead-photo {
    width: 100%;
    height: 120px;
    background: #eaeaea;
    border-radius: 10px;
}

.lead-name {
    font-weight: bold;
    margin-top: 10px;
}

.leads-horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
}

.lead-card {
    min-width: 180px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 12px;
}

.lead-photo {
    width: 100%;
    height: 120px;
    background: #eaeaea;
    border-radius: 10px;
}

.lead-name {
    font-weight: bold;
    margin-top: 10px;
}

.club-page-photo-gallery {
    grid-area: gallery;
}

.photo-grid {
    background-color: var(--white);
    width: 100%;
    height: 90%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0 2px 10px 4px rgba(0, 0, 0, 0.25);
}

.photo-cell {
    height: 100%;
    width: 100%;
    background: #d6d6d6;
    background-size: cover;
}

.photo-cell.image-1 {
    background-image: url("../images/club-image-1.jpg");
}

.photo-cell.image-2 {
    background-image: url("../images/club-image-2.jpg");
}

.photo-cell.image-3 {
    background-image: url("../images/club-image-3.jpg");
}

.photo-cell.image-4 {
    background-image: url("../images/club-image-4.jpg");
}

.photo-cell.image-5 {
    background-image: url("../images/club-image-5.jpg");
}

.photo-cell.image-6 {
    background-image: url("../images/club-image-6.jpg");
}

.reviews-scroll {
    background: var(--white);
    height: 75%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    gap: 15px;
    padding: 10px 0px;
    grid-template-columns: 150px 150px 150px;
    box-shadow: 0 2px 10px 4px rgba(0, 0, 0, 0.25);
}

.review-card {
    width: 80%;
    height: 80%;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #bbb;
    justify-self: center;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.review-stars {
    font-size: 30px;
    color: var(--yellow);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
    justify-self: center;
}

.review-text {
    font-family: my-font-2;
    margin-left: 15px;
}

.review-author {
    font-family: my-font-2;
    font-style: italic;
    font-size: 14px;
    margin-left: 15px;
}

/* Review slider */
.slideshow-container {
    position: relative;
    height: 100%;
}

.slideshow-container div {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    margin-top: -25px;
    padding: 7px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 100px;
    user-select: none;
    background-color: rgb(212, 212, 212);
    filter: brightness(75%);
    transition: 0.3s ease;
}

.next {
    right: 13px;
}

.prev {
    left: 13px;
}

.prev:hover,
.next:hover {
    filter: brightness(85%);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

#gallery-background .fade {
    animation-name: fade;
    animation-duration: .3s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.overlay-background {
    position: absolute;
    height: 100vh;
    width: 100vw;
    background-color: rgb(62, 77, 84, .4);
    backdrop-filter: blur(5px);
    z-index: 99;
}

#join-followup-container {
    position: fixed;
    top: 53.8%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--page-color);
    border: 2px solid var(--dark-brown);
    border-radius: 3px;
    width: 400px;
    height: 480px;
    z-index: 100;
    padding: 20px;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.25), 5px 5px 5px 0px rgba(0, 0, 0, 0.25), 0 5px 5px 0px rgba(0, 0, 0, 0.25);
}

#join-followup-container h1 {
    font-family: my-font;
    padding: 10px 0px 0px 0px;
}

#join-followup-container p {
    padding: 10px 0px 30px 0px;
    font-family: verdana;
}

#join-followup-content {
    display: grid;
    grid-template-columns: 35% 75%;
    column-gap: 10px;
    row-gap: 10px;
    position: relative;
}

#join-followup-content * {
    box-sizing: border-box;
}

#join-followup-content>*:nth-child(odd) {
    height: 30px;
    line-height: 30px;
    text-align: right;
    vertical-align: center;
    font-weight: bold;
    font-family: verdana;
    font-size: 13px;
}

#join-followup-content>*:nth-child(even) * {
    width: 80%;
    box-sizing: border-box;
}

.join-input,
.join-select {
    height: 30px;
    border-radius: 5px;
    outline: none;
    border: 2px solid #42424d;
    font-family: verdana;
    padding-left: 8px;
}

.join-input {
    padding-left: 8px;
}

.join-select {
    padding-left: 5px;
}

.join-textarea {
    width: 97%;
    box-sizing: border-box;
    height: 50px;
    border-radius: 5px;
    resize: none;
    outline: none;
    border: 2px solid #42424d;
    font-family: verdana;
    padding-left: 8px;
}

.join-submission-container {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 7%;
    margin-bottom: 15px;
    resize: none;
}

.join-submit,
.join-cancel {
    display: inline-block;
    padding: 9px 0px;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    background-color: var(--red);
    font-family: verdana;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
}

.join-submit {
    background-color: var(--red);
}

.join-cancel {
    background-color: rgb(212, 212, 212);
    margin-right: 10px;
}

.join-submit:hover,
.join-cancel:hover {
    filter: brightness(110%);
    cursor: pointer;
}

.red-star {
    color: red;
    position: absolute;
    margin-right: -5px;
}

.leave-followup-container {
    position: fixed;
    top: 53.8%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--page-color);
    border: 2px solid var(--dark-brown);
    border-radius: 3px;
    width: 300px;
    height: 160px;
    z-index: 100;
    padding: 20px;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.25), 5px 5px 5px 0px rgba(0, 0, 0, 0.25), 0 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.leave-followup-container h1 {
    font-family: my-font;
    text-align: center;
    padding: 10px 0px 20px 0px;
}

.leave-confirmation-container {
    width: 100%;
    text-align: center;
}

.leave-no,
.leave-yes {
    display: inline-block;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    font-family: verdana;
    font-weight: bold;
    width: 100px;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
}

.leave-no {
    background-color: var(--red);
    margin-right: 10px;
}

.leave-yes {
    background-color: var(--gray);
}

.leave-no:hover,
.leave-yes:hover {
    filter: brightness(110%);
    cursor: pointer;
}

.error-container {
    position: fixed;
    top: 53.8%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--page-color);
    border: 2px solid var(--dark-brown);
    border-radius: 3px;
    width: 300px;
    height: 200px;
    z-index: 100;
    padding: 20px;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.25), 5px 5px 5px 0px rgba(0, 0, 0, 0.25), 0 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.error-container p {
    font-family: verdana;
    font-size: 15px;
    padding-bottom: 10px;
}

.error-container h1 {
    font-family: my-font;
    text-align: center;
    padding: 10px 0px 10px 0px;
}

.error-ok {
    display: inline-block;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    font-family: verdana;
    font-weight: bold;
    width: 100px;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
    background-color: var(--red);
}

.error-ok:hover {
    filter: brightness(110%);
    cursor: pointer;
}

/* Gallery overlay */
.gallery-container {
    position: fixed;
    top: 53.8%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--page-color);
    border: 1px solid var(--dark-brown);
    border-radius: 3px;
    width: 600px;
    height: 400px; 
    z-index: 100;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.25), 5px 5px 5px 0px rgba(0, 0, 0, 0.25), 0 5px 5px 0px rgba(0, 0, 0, 0.25);
}
.gallery-container img {
    width:100%;
}
/* Next & previous buttons */
#gallery-background .prev, #gallery-background .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    text-align: center;
    margin-top: -25px;
    padding: 50px 5px 50px 5px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 5px;
    user-select: none;
    background-color: rgba(0,0,0, 0.5);
    transition: 0.2s ease;
    vertical-align:middle;
}
#gallery-background .next {
    right: 13px;
}
#gallery-background .prev {
    left: 13px;
}
#gallery-background .prev:hover, #gallery-background .next:hover {
    background-color: rgba(36, 36, 36, 1);
}
.exit-gallery-button {
    color: white;
    background-color: black;
    position:absolute;
    top: 0%;
    right: 0%;
    border-radius: 100px;
    z-index: 100;
    width: 30px;
    height: 30px;
    text-align: center;
    transform: translate(13px, -13px);
}
.exit-gallery-button div {
    transform: translateY(19%);
}

/* Review Submission */
.your-review .review-card {
    padding: 0px 15px 0px 15px;
}

.review-input-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.review-textarea {
    padding: 3px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    height: 85px;
    border-radius: 5px;
    resize: none;
    outline: none;
}

.review-input-name {
    padding: 3px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    outline: none;
    border: 1px solid rgb(118, 118, 118);
}

.button-submit-review {
    padding: 9px 0px;
    border-radius: 10px;
    padding: 7px;
    text-align: center;
    background-color: var(--red);
    font-family: verdana;
    font-weight: bold;
    font-size: 12px;
    float: right;
    margin: 10px 10% 0px 0px;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.25), inset 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
}

.button-submit-review:hover {
    filter: brightness(110%);
    cursor: pointer;
}

.submit-review-notice {
    float: right;
    max-width: 60%;
    font-size: 13px;
    margin-top: 19px;
    margin-right: 5px;
    color: red;
    display: none;
}

.submit-review-notice.success {
    display: block;
}

.txt-center {
    text-align: center;
}

.hide {
    display: none;
}

.clear {
    float: none;
    clear: both;
}

.rating {
    width: 170px;
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: center;
    position: relative;
    cursor: default;
    letter-spacing: -3px;
}

.rating>label {
    display: inline;
    padding: 0;
    margin: 0;
    position: relative;
    width: 1.1em;
    cursor: pointer;
    color: #000;
}

.rating>label:hover,
.rating>label:hover~label,
.rating>input:checked~label {
    color: transparent;
    text-shadow: 0px;
}

.rating>label:hover:before,
.rating>label:hover~label:before,
.rating>input:checked~label:before,
.rating>input:checked~label:before {
    content: "\2605";
    position: absolute;
    left: 0;
    color: var(--yellow);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
}


.arrow {
    position:absolute;
    z-index: 12;
    background-color: none;
    color: black;
    cursor: default;
    pointer-events: none;
}
.arrow img {
    max-width: 30px;
}
.right-fold {
    top: 00px;
    right: 00px;
}
.left-fold {
    top: 00px;
    left: 00px;
}
