
* {
    margin: 0;
    padding: 0;
}

body {
    background: rgb(255, 255, 255);
    height: 100vh;
    overflow: hidden;
    cursor: none;
    position: relative;
}

#canvasArea {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.cursor-image {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: opacity 1.5s ease;
    user-select: none;
}

.cursor-image.clicking {
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.1s ease;
}

.placed-image {
    position: absolute;
    object-fit: contain;
    pointer-events: auto;
    user-select: none;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.placed-image.show {
    opacity: 1;
}

.placed-image {
    cursor: none;
    position: relative;
}

.hover-label {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -120%);
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-family: "Suisse Intl mono", monospace;
    font-weight: 400;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2000;
}

/* ====================================================== */
/* BUTTONS */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #000000;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 0 20px;
    z-index: 10100;
    box-sizing: border-box;
}

/* Text Buttons (Contact & Index) */
.nav-text-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: "ABC Gravity", sans-serif;
    font-stretch: 70%;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-text-button:hover {
    color: red;
}

/* Ensure text elements inside nav buttons also turn red on hover */
.nav-text-button:hover h1,
.nav-text-button:hover p {
    color: red;
}

/* Red hover effect for Index button icon - handled by JavaScript */

.nav-text-button h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 400;
    font-family: "ABC Gravity", sans-serif;
    font-stretch: 70%;
    color: #ffffff;
}

.nav-text-button p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 400;
    font-family: "ABC Gravity", sans-serif;
    font-stretch: 70%;
    color: #ffffff;
}

.nav-text-button img {
    width: 18px;
    height: 18px;
    display: block;
    transform: translateY(-1px);
}

/* Icon Buttons (Refresh) */
.nav-icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    /* color: #ffffff; - Removed to let SVG colors show properly */
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Red hover effect for icon buttons */
.nav-icon-button:hover {
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 4px;
}

/* Red hover effects for icon buttons - handled by JavaScript */

/* Grid cell 1: Tim Birrer button (left aligned) */
#contact-button {
    justify-self: start;
}

/* Grid cell 2: Index button (center aligned) */
#index-button {
    justify-self: center;
}

/* Grid cell 3: Refresh button (right aligned) */
.nav-right {
    display: flex;
    gap: 8px;
    justify-self: end;
}

/* Dock button removed */
/* 320px, 360px, 480px, 790px, 1024px, 1400px, 1920px */
@media (max-width: 1920px) {}

@media (max-width: 1400px) {}

@media (max-width: 1024px) {}

@media (max-width: 790px) {}


@media (max-width: 550px) {
    .top-bar {
        height: 24px;
        padding: 0 12px;
    }
    
    .nav-text-button h1 {
        font-size: 1rem;
    }
    
    .nav-text-button p {
        font-size: 1rem;
    }
    
    .nav-text-button img {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }
    
    .nav-icon-button {
        padding: 2px;
    }
    
    .nav-icon-button img {
        width: 14px;
        height: 14px;
    }
    
    .nav-right {
        gap: 4px;
    }
}

