#bookTable {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 30px;
}

#bookTable h3 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Lobster Two', cursive;
}

#bookTable p {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Lobster Two', cursive;
}
.book-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 50px;
    padding: 20px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 30%;
    min-width: 150px;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

select,
input[type="date"] {
    outline: none;
    border: 1px solid var(--main-color);
    padding: 10px;
}

.book-cont .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cont .event-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    border: 2px solid var(--main-color);
    background: var(--touch-color);
    height: fit-content;
    width: 360px;
    margin: 10px;
    cursor: pointer;
}
.book-cont .event-option:hover, .book-cont .event-option.selected {
    background: var(--main-color);
    color: var(--text-color);
}

.event-option h2 {
    float: left;
    margin: 10px 0px;
}

.book-cont .event-option p {
    margin: 0;
    font-size: 16px;
}

#bookTable button {
    all: unset;
    display: block;
    margin: auto;
    border-radius: 5px;
    padding: 10px;
    background: var(--main-color);
    color: var(--text-color);
    font-size: 20px;
    font-weight: 500;
}

#bookTable button:hover {
    background: var(--main-dark);
}

#join {
    margin-top: 70px;
}
/* Snackbar styles */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    border: 2px solid var(--main-color);
    background: var(--main-dark);
    color: var(--text-color);
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    white-space: nowrap;
    padding: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}
