@font-face {
    font-family: "great-vibes-v21-latin-regular";
    src: url(fonts/great-vibes-v21-latin-regular.woff2);
}

html {
    background-image: url(images/treeback.gif);
    background-color: beige;
}

.container {
    max-width: 1000px;
    margin: 50px auto;
    display: grid;
    gap: 10px;
    grid-template-columns: 150px minmax(0, 1fr);
}

header,
nav,
footer {
    border: #301221 3px solid;
    border-radius: 8px;
    background-color: #5f2441;
    color: #e9be86;
}

.central {
    border: #301221 3px solid;
    border-radius: 8px;
    background-color: #5f2441;
    color: #e9be86;
    grid-row: 2 / 3;
    grid-column: 2 / 4;
}

header {
    font-family: great-vibes-v21-latin-regular;
    grid-row: 1 / 2;
    grid-column: 1 / 4;
    text-align: center;
    font-size: 40px;
}

nav {
    font-family: great-vibes-v21-latin-regular;
    font-size: 20px;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    height: max-content;
}

main {
    grid-row: 2 / 3;
    grid-column: 2 / 4;
    height: max-content;
}

.main {
    grid-row: 2 / 3;
    grid-column: 2 / 4;
    height: max-content;
}

footer {
    grid-row: 3 / 4;
    grid-column: 1 / 4;
    text-align: center;
}

.container1 {
    background-color: tan;
    text-align: center;
}

ul {
    list-style-image: url("images/book.png");
    font-size: 20px;
    margin: 10px;
}

h2 {
    margin: 10px;
    text-align: center;
}

P {
    margin: 10px;
}

.book {
    width: 15px;
    height: 40px;
    background-color: #301221;
    transition: transform 0.3s;
    display: table-cell;
    border: double;
    border-color: #303012;
}

.bookright {
    width: 15px;
    height: 40px;
    background-color: #301221;
    transition: transform 0.3s;
    display: table-cell;
    border: double;
    border-color: #303012;
}

.shelf {
    background-color: #303012;
    height: 50px;
    margin: 5px;
    align-content: center;
    display: table;
    width: 135px;
    cursor: pointer;
    transition: transform 0.3s;
    font-size: 18px;
}

.shelf:hover {
    transform: scale(1.1);
}

.right {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.ghoul{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
    font-family: courier new;
}

.tab {
    padding: 0;
    grid-row: 2 / 3;
    grid-column: 2 / 4;
}

.tab_wrapper {
    display: flex;
    gap: 5px;
}

.tab_group .tab {
    cursor: pointer;
    padding: 10px 15px;
    margin: 6px 2px;
    background: #5f2441;
    width: 50px;
    display: flex;
    color: #e9be86;
    border-radius: 8px;
    border: 3px solid #301221;
    transition: transform 0.3s;
}

.tab_group .tab:hover {
    background: #301221;
    color: #e9be86;
    transform: scale(1.1);
}

#one:checked ~ .tab_group #one-tab,
#two:checked ~ .tab_group #two-tab,
#three:checked ~ .tab_group #three-tab,
#four:checked ~ .tab_group #four-tab {
    background: #303012;
    color: #e9be86;
    font-weight: bold;
    transform: scale(1.1);
}

.tab_wrapper input[type="radio"] {
    display: none;
}
.tab_contents {
    background: #5f2441;
    color: #e9be86;
    padding: 5px;
    border-radius: 8px;
    width: 725px;
    border: 3px solid #301221;
}

#one:checked ~ .tab_contents #one-tab-content,
#two:checked ~ .tab_contents #two-tab-content,
#three:checked ~ .tab_contents #three-tab-content,
#four:checked ~ .tab_contents #four-tab-content {
display: block;
}

.tab_contents .tab_content {
    display: none;
}

