body {
    margin: 3em 8%;
    font-family: Helvetica, Arial, sans-serif;
    color: black;
    background-color: #f0eeec;
}

a {
    text-decoration: none;
    color: #00f;
}

a:visited {
    color: #90c;
}

a:hover {
    text-decoration: underline;
}

div.content {
    max-width: 40em;
    margin: 0 auto;
}

h1,
h2,
h3,
.banner {
    font-family: Copperplate Gothic, Georgia, serif;
}

h1.alert {
    background-color: #702000;
}

h1 {
    font-weight: 900;
    margin: 1.5em 0 0 0;
    padding-left: 1ex;
    background-color: #2c2c2c;
    color: white;
}

h1.title {
    font-variant: small-caps;
    text-align: center;
    font-size: 260%;
    margin: 2em 0 0.5em 0;
    padding: .25em 0;
}

div.books {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 4em;
}

div.books a {
    text-decoration: none;
}

p {
    line-height: 140%;
}

/*  */

.slideshow-container {
    max-width: 500px;
    position: relative;
    margin: auto;
}

.slides {
    display: none;
    position: relative;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.textbox {
    background-color: rgba(0, 0, 0, 0.5);
    color: #f2f2f2;
    border: none;
    padding: 8px 12px;
    width: 90%;
    font-size: 15px;
    box-sizing: border-box;
    border-radius: 5px;
    margin: auto;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 0.5s;
    /* Adjust this value to make the transition faster */
    animation-name: fade;
    animation-duration: 0.5s;
    /* Adjust this value to make the transition faster */
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/**/
.image-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.image-table td {
    padding: 10px;
    text-align: center;
}

.image-table figure {
    margin: 0;
    display: inline-block;
    text-align: center;
}

.image-table img {
    width: 100%;
    /* Adjust size as needed */
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-table img:hover {
    transform: scale(1.1);
    /* Slight zoom on hover */
}

.image-table figcaption {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #555;
    font-style: italic;
}

/*  */
.red-code {
    color: red;
}