body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    font-family: Arial, Helvetica, sans-serif;
}

.home-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    gap: 20px;
}

.site-header {
    min-height: 90px;

    display: flex;
    align-items: center;

    position: relative;

    padding: 10px 25px;
    box-sizing: border-box;

    background-color: #dff6ff;
}

.header-content {
    flex: 1;
    text-align: center;
}

.site-header h1 {
    margin: 0 0 8px 0;

    font-size: 32px;
    font-weight: bold;
}

#msg-board {
    display: flex;
    justify-content: center;
    align-items: center;
}

#dynamic-jump {
    font-size: 18px;
}

#dynamic-jump span {
    display: inline-block;

    animation: jump 4s infinite ease-in-out;
    animation-delay: calc(var(--char-index) * 0.06s);
}

#dynamic-jump.paused span {
    animation: none;
    transform: translateY(0);
}

@keyframes jump {
    0% {
        transform: translateY(0);
    }

    6% {
        transform: translateY(-15px);
    }

    12% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}

.page-content {
    flex: 1;

    padding: 30px 20px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 30px;

    background-color: #dff6ff;

    font-size: 14px;
}


/* Navigation button */

.menu-button {
    position: absolute;
    left: 20px;

    width: 38px;
    height: 38px;

    padding: 5px;

    border: none;
    background: none;

    cursor: pointer;
}

.menu-button svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.menu-button:hover {
    opacity: 0.65;
}


/* Side navigation */

.side-nav {
    position: fixed;

    top: 0;
    left: 0;

    width: 250px;
    height: 100vh;

    padding-top: 70px;
    box-sizing: border-box;

    background-color: white;

    box-shadow: 3px 0 12px rgba(0, 0, 0, 0.2);

    transform: translateX(-100%);
    transition: transform 0.25s ease;

    z-index: 2000;
}

.side-nav.open {
    transform: translateX(0);
}

.side-nav nav {
    display: flex;
    flex-direction: column;
}

.side-nav nav a {
    padding: 16px 25px;

    text-decoration: none;

    color: black;

    font-size: 18px;

    transition: background-color 0.15s ease;
}

.side-nav nav a:hover {
    background-color: #dff6ff;
}

.side-nav nav a.active {
    font-weight: bold;

    background-color: #bcecff;
}


/* Sidebar close button */

.close-nav {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 32px;
    height: 32px;

    padding: 4px;

    border: none;
    background: none;

    cursor: pointer;

    opacity: 0.6;

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}

.close-nav svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.close-nav:hover {
    opacity: 1;
    transform: scale(1.1);
}

.close-nav:active {
    transform: scale(0.95);
}


/* Background overlay when navigation is open */

.nav-overlay {
    position: fixed;

    inset: 0;

    background-color: rgba(0, 0, 0, 0.4);

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.25s ease;

    z-index: 1900;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.hidden {
    display: none !important;
}

.error-message {
    color: red;
}

.success-message{
    color: green;
}