/* Base styles matching main site */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 0;
    -webkit-text-size-adjust: 100%;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.background {
    position: fixed;
    height: 100%;
    width: 100%;
    background-image: url("https://kelseywilliams.co/mouse/assets/hobbithouse2.jpeg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
}

/* Header styles matching main site */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    padding: 20px;
    flex-shrink: 0;
    z-index: 2;
}

header .logo {
    font-size: 32px;
    color: #ecf0f1;
    transition: all 0.2s ease;
}

header .logo:hover {
    color: #3498db;
    font-size: 34px;
}

/* Footer styles matching main site */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    text-align: center;
    padding: 20px;
    flex-shrink: 0;
    z-index: 10;
}

footer .card {
    display: inline-block;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Overlay elements for mouse functionality */
.overlay {
    position: fixed;
    margin: 0;
    z-index: 50;
}

/* Original overlay components - keeping existing styles */
.num_conns {
    position: fixed;
    bottom: 75px;
    right: 5px;
    padding: 10px;
    width: fit-content;
    border-radius: 5px;
    background: #cacaca !important;
    z-index: 100;
}

.conn_status {
    position: fixed;
    bottom: 75px;
    left: 5px;
    padding: 10px;
    width: fit-content;
    border-radius: 5px;
    background: #cacaca !important;
    z-index: 100;
}

.name {
    position: fixed;      /* stick the whole bar to the viewport */
    bottom: 120px;        /* 120px up from the bottom */
    left: 5px;            /* 5px from the left */
    display: flex;        /* lay kids out in a row */
    gap: 5px;             /* 5px between each child */
    padding: 10px;        /* 10px padding all around */
    background: #cacaca;
    border-radius: 5px;
    z-index: 100;         /* raised above footer */
}

.name .textbox {
    padding: 8px;
    border: 1px solid #999;
    border-radius: 5px;
    width: 120px;
    font-size: 16px;
}

.name .submit {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background: #888;
    color: white;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.name .submit:hover {
    background: #777;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .logo {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px;
    }
    
    header .logo {
        font-size: 24px;
    }
    
    footer {
        padding: 15px;
    }
}