@import url(https://fonts.bunny.net/css?family=abel:400|carter-one:400);
:root {
    --body-bg-image: url("./images/diagonal-squares.webp");
    --item-bg-image: url("./images/dotnoise-light-grey.png");
}

body {
    background-image: var(--body-bg-image);
    box-sizing: border-box;
}
h2,
h4 {
    font-family: "Carter One", display;
}
h4 {
    font-weight: lighter;
}
.container {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    font-family: "Abel", sans-serif;
    font-size: 1.25rem;
}

.item {
    flex-grow: 1;
    box-shadow:
        8px 8px 0 0 rgba(0, 0, 0, 1),
        inset 8px 8px 0 0 #ffffff6b;
    border-radius: 2rem;
    background-color: #797979ff;
    margin: 1rem;
    padding: 2rem;
    width: 40%;
    background-image: var(--item-bg-image);
}

.imagebox {
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.imagecolumn {
    flex-grow: 1;
    align-items: center;
}
.image {
    display: block;
    line-height: 0;
    max-width: 100%;
    position: relative;
    margin: 1rem;
    text-align: center;
}
.frame {
    width: 8rem;
    display: inline-block;
}
.frame img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    border-radius: 100%;
}
.header {
    max-width: 35%;

    border-radius: 1rem;

    transition: none;
    box-shadow:
        8px 8px 0 0 rgba(0, 0, 0, 1),
        inset 8px 8px 0 0 #ffffff6b;
}

.charaheader {
    max-width: 50%;

    border-radius: 1rem;

    transition: none;
    box-shadow:
        8px 8px 0 0 rgba(0, 0, 0, 1),
        inset 8px 8px 0 0 #ffffff6b;
}
.item a {
    text-decoration: none;
    font-weight: bold;
    color: #d2d2d2;
}
a.button {
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 1rem;
    border-radius: 1rem;
}
div.button {
    margin-top: 2rem;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.table-inner {
    display: inline-block;
    max-width: 100%;
    width: 50rem;
}
table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
thead {
    border-bottom: solid 2px black;
}
th {
    font-weight: bolder;
    text-align: left;
}
tr:first-child {
    border-top: 0;
}
tr {
    border-top: solid 1px rgba(0, 0, 0, 0.373);
    padding-top: 10px;
    padding-bottom: 10px;
}
th,
td {
    padding: 0.5rem 0.6875rem;
}
th:first-child,
td:first-child {
    padding-left: 0;
}
th:last-child,
td:last-child {
    padding-right: 0;
}

ul {
    text-align: left;
}
.gallery {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}
.gallerythumb {
    border-radius: 1em;
    border: 2px solid white;
    width: 200px;
    height: 200px;
    margin: 0.5em;
}

.thumblabel {
    color: rgba(0, 0, 0, 1);
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.thumblabel h3 {
    background: rgb(200, 200, 200);
    background: rgba(200, 200, 200, 0.7);
    border-radius: 0 0 0.8em 0.8em;

    width: 100%;
    align-content: center;
    margin: 0;
}

@media only screen and (max-width: 800px) {
    .item {
        width: 70%;
        overflow-x: hidden;
    }
    .header {
        max-width: 40%;
    }
    .charaheader {
        max-width: 80%;
    }
    .imagebox {
        gap: 0;
    }
    .gallery {
    }
}
