body {
    background-color: #000000;
    margin: 0;
    min-height: 100vh;
    position: relative;
}

h1, h2 {
    font-family: Helvetica;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 100%;
    margin: 3vh auto 4rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    transition: transform 4s ease-in, opacity 4s ease-in;
}

.content-wrapper.consuming {
    transform: scale(0);
    opacity: 0;
}

.content-box {
    background-color: #1a1a1abe;
    padding: 2rem;
    border-radius: 8px;
    color: white;
    border-style: double;
    position: relative;
}

.title-box {
    padding: 0.5rem 2rem;
}

.title-box h1 {
    margin: 0;
}

.body-row {
    display: grid;
    grid-template-columns: repeat(2, 390px);
    column-gap: 1.5rem;
    row-gap: 1.5rem;
    justify-content: center;
}

.journal-box,
.guestbook-box {
    width: 320px;
    max-width: 40vw;
    max-height: 60vh;
    overflow-y: auto;
}

.journal-box h2,
.guestbook-box h2 {
    margin-top: 0;
}

.journal-box::-webkit-scrollbar {
    width: 6px;
}

.journal-box::-webkit-scrollbar-track {
    background: transparent;
}

.journal-box::-webkit-scrollbar-thumb {
    background-color: rgba(226, 102, 0, 0.5);
    border-radius: 3px;
}

.journal-box::-webkit-scrollbar-thumb:hover {
    background-color: rgba(226, 102, 0, 0.8);
}

.journal-box {
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 102, 0, 0.5) transparent;
}

.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.guestbook-form input,
.guestbook-form textarea {
    font-family: Helvetica;
    padding: 0.5rem;
    border-radius: 4px;
    border: none;
    resize: vertical;
}

.guestbook-form button {
    align-self: flex-start;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    border: none;
    background-color: #e26600;
    color: white;
    cursor: pointer;
    font-family: Helvetica;
}

.guestbook-form button:hover {
    background-color: #ff7a1a;
}

.guestbook-entries {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guestbook-entry {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
}

.guestbook-entry .entry-name {
    font-weight: bold;
}

.guestbook-entry .entry-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.guestbook-entry .entry-message {
    margin: 0.3rem 0 0;
}

.journal-entries {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.journal-entry {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1rem;
}

.journal-entry:last-child {
    border-bottom: none;
}

.journal-entry .entry-date {
    font-size: 0.75rem;
    opacity: 0.7;
    display: block;
    margin-bottom: 0.2rem;
}

.journal-entry h3 {
    margin: 0 0 0.4rem;
    font-family: Helvetica;
}

.journal-entry p {
    margin: 0;
    line-height: 1.4;
}

.redacted {
    background-color: #000000;
    color: transparent;
    border-radius: 2px;
    padding: 0 2px;
    transition: color 0.2s ease, background-color 0.2s ease;
    user-select: none;
}

.redacted:hover,
.redacted.revealed {
    background-color: transparent;
    color: inherit;
    user-select: text;
}

/* #musicplayer {
  font-family: 'Arial';
  background: rgb(0, 0, 0);
  border: 4px solid #dd7119;
  width: 100%;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
} */

.songtitle,
.track-info,
.now-playing {
padding: 5px;
}

.controls {
display: flex;
flex-direction: column;
gap: 10px;
}

.buttons {
display: flex;
justify-content: center;
font-size: 17px !important;
/* size of controls */
width: 100%;
}

.buttons div {
  width: 33.3%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.playpause-track,
.prev-track,
.next-track {
color: #dd7119;
/* color of buttons */
font-size: 35px !important;
/* size of buttons */
}

.volume-icon {
font-size: 22px !important;
/* size of volume icon */
}

.seeking,
.volume {
display: flex;
flex-direction: row;
align-items: center;
gap: 5px;
}

.now-playing,
.track-info {
    text-align: center;
/* background-color: #dd7119; */
/* background color of top two boxes */
}

.now-playing {
font-weight: bold;
}

input[type=range] {
appearance: none;
/* removes default appearance of the tracks */
width: 100%;
}

input[type=range]:focus {
outline: none;
/* removes outline around tracks when focusing */
}

input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
/* thickness of seeking track */
background: #dd7119;
/* color of seeking track */
}

input[type=range]::-webkit-slider-thumb {
height: 10px;
/* height of seeking square */
width: 10px;
/* width of seeking square */
border-radius: 0px;
/* change to 5px if you want a circle seeker */
background: #dd7119;
/* color of seeker square */
-webkit-appearance: none;
margin-top: -3px;
/* fixes the weird margin around the seeker square in chrome */
}

input[type=range]::-moz-range-track {
width: 100%;
height: 4px;
/* thickness of seeking track */
background: #dd7119;
/* color of seeking track */
}

input[type=range]::-moz-range-thumb {
height: 10px;
/* height of seeking square */
width: 10px;
/* width of seeking square */
border-radius: 0px;
/* change to 5px if you want a circle seeker */
background: #dd7119;
/* color of seeker square */
border: none;
/* removes weird border around seeker square in firefox */
}

.credit-text {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    margin: 0;
    font-size: 0.7rem;
    font-weight: normal;
    opacity: 0.6;
    font-family: Helvetica;
}

/* Mobile fixes */
@media (max-width: 700px) {
    .content-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        margin: 1.5rem auto 3rem;
    }

    .content-box {
        padding: 1.25rem;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .body-row {
        grid-template-columns: 1fr;
        justify-items: center;
        width: 100%;
    }

    .journal-box,
    .guestbook-box {
        width: 100%;
        max-width: 100%;
    }
}