body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: black;
    font-family: Arial, sans-serif;
}

#hydra-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.button-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.remix-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.button {
    text-decoration: none;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border-radius: 25px; /* Rounded edges */
}

/* Frosty style for Home, Portal, and Remix buttons */
.button:not(#record-button) {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
}

#record-button {
    background-color: red;
    color: white;
}

#record-button.recording {
    background-color: black;
    color: white;
}

@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    .button {
        margin-bottom: 10px;
    }
}

/* Accessibility: Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .button {
        transition: none !important;
    }
}
