:root {
    --main-bg-color: #0000A8;
    --text-color: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--main-bg-color);
    color: var(--text-color);
    font-family: "Helvetica Neue", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: url('assets/cursor.png'), auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.container {
    text-align: center;
    padding: 0;
    width: 100%;
    max-width: 1800px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.header-text {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    letter-spacing: 1px;
    z-index: 2;
}

.header-text::before,
.header-text::after {
    content: "*";
}

.logo {
    margin: 1.5rem auto 2rem;
    width: 200px;
    height: 200px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: spin 16s linear infinite; /* 20s for a slow rotation */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.title {
    font-size: 3.1rem;
    font-weight: bold;
    margin: 1rem 0 2rem;
}

.subtitle {
    font-family: 'Cardo', serif;
    font-size: 2rem;
    font-style: normal;
    margin-bottom: 0rem;
}

.apps-container {
    margin: 0.3rem auto;
    max-width: 1000px;
}

.apps-list {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    line-height: 1.8;
    display: block;
    white-space: pre-line;
    text-align: center;
    font-weight: 300;
}

.apps-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: text-decoration 0.3s ease;
    cursor: url('assets/cursor.png'), pointer;
}

.apps-list a:hover {
    text-decoration: underline;
    text-decoration-color: var(--text-color);
    opacity: 1;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 2rem 0;
}

.buttons {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    justify-content: center;
    z-index: 2;
}

.btn {
    background: transparent;
    color: var(--text-color);
    border: 1.5px solid var(--text-color);
    padding: 0.7rem 1.8rem;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: url('assets/cursor.png'), pointer;
}

.btn.contact {
    border-radius: 100px;
}

.btn:hover {
    background: var(--text-color);
    color: var(--main-bg-color);
}

/* Jobs page specific styles */
.back-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: url('assets/cursor.png'), pointer;
    z-index: 2;
    padding: 1rem;
    margin: -1rem;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.7;
}

.jobs-content {
    padding-top: 4rem;
}

.jobs-title {
    font-family: 'Cardo', serif;
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 2rem;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: -1rem;
    align-items: center;
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12rem;
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 4rem;
    border: 1.5px solid transparent;
    cursor: url('assets/cursor.png'), pointer;
    transition: opacity 0.3s ease;
}

.job-item:hover {
    opacity: 0.7;
}

.job-item:hover h2::before {
    opacity: 1;
}

.job-item h2 {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02rem;
    text-align: left;
    flex: 1;
    display: flex;
    align-items: center;
}

.job-item h2::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #00FF00;
    border-radius: 50%;
    margin-right: 1rem;
    display: inline-block;
}

.job-location {
    font-size: 1rem;
    opacity: 0.8;
    text-align: right;
    margin-left: 20rem;
    min-width: 180px;
}

.footer {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    opacity: 0.8;
}

#drawingCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* This allows clicks to pass through to elements below */
}

/* Ensure all clickable elements are above the canvas */
.container {
    position: relative;
    z-index: 1;
}

.header-text {
    z-index: 2;
}

.buttons {
    z-index: 2;
}

.back-link {
    z-index: 2;
}

img {
    /* Prevent image dragging */
    -webkit-user-drag: none;
    user-drag: none;
}

/* Add these media queries at the end of your existing CSS */

@media screen and (max-width: 768px) {
    /* Main page adjustments */
    .container {
        padding: 0 1rem;
    }

    .logo {
        width: 150px; /* Smaller logo */
        height: 150px;
    }

    .title {
        font-size: 2rem; /* Smaller title */
    }

    .subtitle {
        font-size: 1.5rem; /* Smaller subtitle */
    }

    .apps-container {
        margin: 2rem auto;
        padding: 0;
    }

    .apps-list {
        font-size: 0.9rem;
        line-height: 2;
        padding: 0 2rem;
        display: block;
        white-space: normal; /* Allow natural text wrapping */
        word-spacing: 0.2rem; /* Add slight spacing between words */
    }

    /* Make commas less prominent */
    .apps-list a,
    .apps-list {
        color: var(--text-color);
        opacity: 0.9;
    }

    /* Remove the automatic comma after links */
    .apps-list a:after {
        content: none;
        margin-right: 0;
    }

    /* Keep the comma styling for text items */
    .apps-list span:after {
        content: ",";
        margin-right: 0.5rem;
    }

    /* Updated Jobs page adjustments */
    .jobs-list {
        padding: 0 1.5rem;
    }

    .job-item {
        padding: 1rem 1.5rem;
        flex-direction: row; /* Change back to row from column */
        align-items: center;
        justify-content: space-between; /* Space between title and location */
        gap: 1rem;
    }

    .job-location {
        margin-left: auto; /* Push to the right */
        text-align: right;
        min-width: auto; /* Remove fixed width */
        font-size: 0.9rem; /* Slightly smaller text */
    }

    .job-item h2 {
        font-size: 0.9rem; /* Match location text size */
    }

    /* Updated button adjustments */
    .buttons {
        position: static;
        transform: none;
        padding: 0;
        flex-direction: column;
        gap: 1rem;
        width: 160px;
        margin: 3rem auto;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 0;
        font-size: 0.9rem;
        text-align: center;
    }

    /* Adjust main content to accommodate buttons */
    .main-content {
        margin: auto 0; /* Remove bottom margin */
        padding-bottom: 0; /* Remove bottom padding */
    }

    .jobs-content {
        padding-top: 3rem; /* Reduced from 4rem */
    }

    .jobs-title {
        margin-bottom: 1.5rem; /* Optional: also reduce bottom margin if needed */
    }
}

/* Additional adjustments for very small screens */
@media screen and (max-width: 480px) {
    .header-text {
        font-size: 0.8rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .apps-list {
        font-size: 0.8rem;
    }
} 