#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/images/background.jpg") center / cover no-repeat;
    z-index: -1;
}

#centercol {
    margin: 0 auto;
    max-width: 1024px;
    width: 100%;

    &>* {
        margin-bottom: 24px;
    }
}

#content {
    &>* {
        margin-bottom: 24px;
    }
}

#flexcol {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    text-align: center;

    #left-col {
        padding-top: 32px;

        .callout {
            display: inline-block;
            font-style: italic;
        }
    }

    #left-col>* {
        margin-bottom: 32px;
    }

    #right-col {
        padding: 32px;
    }

    #right-col>* {
        margin-bottom: 32px;
    }
}

#header-box {
    align-self: center;
    max-width: 30%;
    padding: 16px;
    text-align: center;
}

#header-button {
    align-content: center;
    align-self: stretch;
    flex-grow: 1;
    text-align: center;
}

#header-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
}

#header-text {
    color: white;
    display: inline;
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: "Orelega One", serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 0px 3px rgb(179, 179, 179);
    vertical-align: top;
}

#index-bottom {
    display: flex;
    flex-wrap: wrap;

    a {
        flex: 1;
        margin: 16px 0;
    }

    div {
        align-content: center;
        flex: 1;
        text-align: center;
    }
}

#menu {
    align-content: center;
    background-color: ghostwhite;
    height: 100%;
    left: 0;
    opacity: 1;
    position: fixed;
    text-align: center;
    top: 0;
    transition: opacity 0.4s ease;
    width: 100%;
    z-index: 1000;

    &.hidden {
        opacity: 0;
        pointer-events: none;
    }

    a {
        color: black;
        text-decoration: none;
        text-shadow: none;
    }

    hr {
        width: 50%;
    }
}

#menu-button {
    display: none;
    font-size: xx-large;
    z-index: 1001;
}

#navbar {
    align-items: center;
    background-color: rgb(237, 232, 218);
    border-radius: 32px;
    box-shadow: 0px 0px 20px 16px rgba(0, 0, 0, 0.7);
    display: flex;
    font-size: 12px;
    height: 42px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    width: 90%;

    a {
        color: rgb(105, 105, 105);
        cursor: pointer;
        flex-grow: 1;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        text-align: center;
        text-decoration: none;
        text-shadow: none;
    }

    a:hover {
        color: black;
    }
}

.flexwrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.imgbox {
    padding-top: 32px;

    a {
        color: white;
    }
}

.piccol {
    width: 120px
}

.picrow {
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    justify-content: space-evenly;
}



.vidcol {
    position: relative;
    text-align: end;
    width: 25%;

    a {
        font-size: 16px;
        padding: 8px 16px 8px 16px;
        position: absolute;
    }

    a:nth-of-type(1) {
        right: -16px;
        top: -8px;
    }

    a:nth-of-type(2) {
        bottom: 0px;
        left: -16px;
    }

    span {
        bottom: 10px;
        display: inline-block;
        font-size: 28px;
        position: absolute;
        right: 8px;
        text-align: end;
        text-shadow:
            -1px -1px 0 black,
            1px -1px 0 black,
            -1px 1px 0 black,
            1px 1px 0 black;
        width: 57%;
    }
}

.vidrow {
    display: flex;
    gap: 64px;
    margin-top: 32px;
    width: 100%;
}

#volumes {
    display: flex;
    flex-wrap: wrap;
    font-size: 18px;
    gap: 32px;

    div {
        flex-grow: 1;
        text-align: center;
    }

    a {
        display: inline-block;
    }
}


.button {
    background-color: rgb(157, 78, 49);
    border: none;
    border-radius: 36px;
    box-shadow: 0px 0px 10px 0px black;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: clamp(22px, 2vw, 32px);
    padding: 8px 32px 8px 32px;
    text-decoration-line: none;
    white-space: nowrap;
}

.button:hover {
    background-color: rgb(240, 134, 93);
}

.button-row {
    list-style-type: none;
    margin: 16px 0px 16px -40px;
    padding-left: 0;
    text-align: center;
}

.button2 {
    background-color: rgb(179, 144, 102);
    border: none;
    border-radius: 8px;
    box-shadow: 6px 6px 0px 0px rgb(90, 73, 51);
    color: white;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    padding: 8px 32px 8px 32px;
    text-decoration-line: none;
}

.button2:hover {
    background-color: rgb(239, 193, 136);
}

.quote {
    display: inline-block;

    &>span:nth-of-type(1) {
        color: rgb(247, 224, 194);
        font-style: italic;
    }

    &>span:nth-of-type(2) {
        color: white;
        white-space: nowrap;
    }
}

.redbox {
    background-color: rgba(139, 0, 0, 0.5);
}

body {
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: clamp(22px, 2vw, 32px);
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
}

img {
    max-width: 100%;
}

@media (max-width: 768px) {
    #flexcol {
        flex-wrap: wrap;
        gap: 0px;

        #right-col>* {
            margin-bottom: 0px;
        }
    }

    #header-box {
        max-width: 100%;
    }

    .picrow {
        flex-wrap: wrap;
    }

    #menu-button {
        display: block;
    }

    #navbar {
        display: none;
    }

    #flexcol {
        #right-col {
            background-color: rgba(0, 0, 0, 0);

            div {
                display: none;
            }
        }
    }

    #volumes {
        div {
            flex: 0 0 100%;
        }
    }
}
