/* contentbude.at | raw indie poster */
:root {
    --bg-color: #f6f6f4;
    --text-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: lowercase;
    font-weight: normal !important;
    /* Force all regular */
    font-family: 'Courier New', Courier, monospace;
}

html,
body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* Strict no scrolling */
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    /* 1rem */
    -webkit-font-smoothing: antialiased;
}

.canvas {
    position: relative;
    width: 100vw;
    height: 100vh;
}

/* Base element style to ensure absolute positioning and minimal width */
.element {
    position: absolute;
    line-height: 1.5;
    max-width: 320px;
}

/* Specific Anchor Points */
.branding {
    top: 50px;
    left: 50px;
}

.contact-email {
    top: 50px;
    right: 50px;
    text-align: right;
}

/* Center Map */
.map-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 250px;
    z-index: 10;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Map normal color */
}

/* New Scattered Elements */
.scatter-top-center {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 400px;
}

.scatter-mid-left {
    top: 45%;
    left: 8%;
    max-width: 250px;
}

.scatter-bottom-free {
    bottom: 35%;
    right: 15%;
    max-width: 250px;
}

/* Homies */
.homies-section {
    bottom: 50px;
    left: 50px;
    max-width: 350px;
}

.homies-section a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.homies-section a:hover {
    text-decoration: underline;
}

/* Minimalist Form - Bottom Right */
.form-wrapper {
    bottom: 50px;
    right: 50px;
    width: 250px;
}

.input-line {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-color);
    padding: 8px 0;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

.input-line::placeholder {
    color: #888;
}

.btn-submit {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
}

.btn-submit:hover {
    text-decoration: underline;
}

/* Responsive fallback */
@media (max-width: 800px) {
    body {
        overflow-y: auto;
    }

    .canvas {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 40px 20px;
        gap: 50px;
    }

    .element,
    .branding,
    .contact-email,
    .map-container,
    .homies-section,
    .form-wrapper,
    .scatter-top-center {
        position: static !important;
        transform: none !important;
        text-align: left !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .map-container {
        height: 250px;
        order: -1;
    }
}
