body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix other pages */
body:has(.journal-main) {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
    padding: 40px 20px;
}

main {
    text-align: center;
    transform: translateY(-30px);
}

.hero-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px auto;
}

.description {
    max-width: 600px;
    margin: 0 auto 20px auto;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 250px;
    margin: 0 auto;
}

.under-image-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.under-image-link:hover {
    text-decoration: underline;
}

h1 {
    margin-bottom: 20px;
}

footer {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

.bottom-info {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.coordinates {
    display: block;
    font-size: 11px;
    color: #000;
    font-family: monospace;
    text-decoration: none;
    white-space: nowrap;
    margin-bottom: 4px;
}

.coordinates:hover {
    color: #333;
    text-decoration: underline;
}

.weather-display {
    display: block;
    text-decoration: none;
    color: #000;
    text-align: center;
}

.weather-display:hover {
    color: #333;
}

.weather-display:hover .weather-temp,
.weather-display:hover .weather-details {
    text-decoration: underline;
}

.weather-temp {
    font-size: 12px;
    color: inherit;
    font-family: monospace;
    margin: 0;
    line-height: 1;
    display: inline;
}

.weather-details {
    font-size: 12px;
    color: inherit;
    font-family: monospace;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    display: inline;
}

.weather-temp::after {
    content: " • ";
}

.weather-setup {
    margin: 20px 0;
}

.setup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.setup-form h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.setup-form input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    font-size: 14px;
}

.setup-form button {
    padding: 8px 16px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.setup-form button:hover {
    background: #555;
}

.journal-main {
    max-width: 650px;
    padding: 120px 20px 40px 20px;
    text-align: left;
    font-family: Helvetica, Arial, sans-serif;
}

.journal-main h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
}

.journal-entry {
    margin-bottom: 30px;
}

.entry-date {
    font-size: 12px;
    color: #666;
    font-family: monospace;
    margin-bottom: 5px;
}

.entry-content {
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
}

#journal-entries .entry-content img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin: 0 5px;
    display: inline-block;
    cursor: pointer;
    border-radius: 2px;
}

.image-overlay {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    max-width: 300px;
    max-height: 300px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.home-link {
    position: fixed;
    top: 15px;
    left: 15px;
}

.home-link a {
    text-decoration: none;
}

.home-link img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.home-link a:hover img {
    opacity: 0.7;
}

.image-row {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.image-row img {
    flex: 1;
    max-width: 48%;
    height: auto;
    border-radius: 2px;
}

.about-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 2px;
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}