.books {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    margin-top: 50px;
}

.reading {
    margin: auto;
    text-align: center;
    height: 500px;
    width: 45%;
    background-color: #636262;
    border-radius: 15px;
    padding: 25px;
}

.reading h1 {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}

.read {
    text-align: center;
    margin: auto;
    height: 500px;
    width: 45%;
    background-color: #636262;
    border-radius: 15px;
    padding: 25px;
}

.read h1 {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    /* large buttons centered on the screen */
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

.buttons button {
    background-color: #636262;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    padding: 10px;
    margin: 70px;
    font-size: 20px;
    transition: all 0.3s ease-in-out;
    width: 250px;
    height: 25vh;
}

.buttons button:hover {
    background-color: #ffffff;
    color: #000000;
    transform: scale(1.3);
}

p {
    font-size: 20px;
}

.gallery {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-top: 15px;
    padding-bottom: 30px;
}

.gallery-item {
    margin: 15px;
    transition: 1s;
    border-radius: 15px;
}

.gallery-item:hover {
    transform: scale(1.3);
    z-index: 1;
}

.gallery-focus {
    width: auto;
    height: auto;
}

.gallery-image {
    width: 200px;
    height: 300px;
    border: rgb(255, 0, 0) 3px solid;
    border-radius: 5px;
    object-fit: cover;
    /* show tooltip on hover */
    cursor: pointer;
}

.current {
    border: lime 3px solid;
}

@media screen and (max-width: 600px) {
    .gallery-image {
        width: 150px;
        height: 225px;
    }

    iframe {
        display: none;
    }
}

.showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}


.title {
    font-size: 30px;
    font-weight: bold;
    margin: 10px;
    text-align: center;
    color: white;
}

.jump {
    margin: auto;
    margin-top: 40px;
    position: relative;
    width: clamp(320px, 50vw, 100%);
    margin-bottom: 25px;
}

.jump h2 {
    font-size: 1.5rem;
    border-radius: 2px;
    position: relative;
    background: tomato;
    height: 40px;
    text-transform: uppercase;
    margin-bottom: 0;
    color: inherit;
    font-weight: 200;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 4px 20px -2px rgba(0, 0, 0, 0.35);
    transition: all 0.4s;
}

.jump:hover h2 {
    box-shadow: 2px 2px 5px -1px rgba(0, 0, 0, 0.35);
    transform: scale(1.1);
}

#toggle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
    height: 40px;
}

h2::before {
    position: absolute;
    right: 0;
    top: 0;
    height: inherit;
    aspect-ratio: 1;
    background: currentColor;
    display: flex;
    align-items: center;
    padding-right: 1rem;
    content: "";
    clip-path: polygon(50% 25%, 20% 80%, 80% 80%);
    transform: rotate(180deg) scale(0.75);
}

#toggle:checked~ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

#toggle:not(:checked)~ul {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    position: relative;
}

.jump ul {
    padding-left: 0;
    padding-top: 1rem;
    margin-top: 0;
    background: #070706;
    list-style: none;
    overflow: hidden;
    text-align: right;
    text-align: center;
    transition: all 0.4s ease-out;
    width: 100%;
    position: absolute;
}

.jump ul li {
    border-radius: 2px;
    display: inline-block;
    line-height: 1.5;
    width: 49%;
    margin: 0 0 0.25rem 0;
    background: rgb(255, 0, 0);
    transition: background 3s;
    box-shadow: 2px 2px 10px -2px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

#all {
    width: 98%;
}

.jump ul a {
    display: block;
    color: inherit;
    font-weight: 200;
    text-decoration: none;
}

.bookshelf {
    position: relative;
}

.bookshelf::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    /* set background image to "https://www.craftyplayz.com/images/checkmark.png" */
    background-image: url(https://www.craftyplayz.com/images/checkmark.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9;
}

.partial {
    position: relative;
}

.partial::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    /* set background image to "https://www.craftyplayz.com/images/checkmark.png" */
    background-image: url(https://www.craftyplayz.com/images/checkmark.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9;
}
.hidden {
    display: none;
}

.expand .gallery-item {
    display: block;
}

.expand .gallery-item.hidden {
    display: inline-block;
}

