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

body {
    font-family: 'Cardo', serif;
    line-height: 1.6;
    background-color: #d6e7e9;
    color: #333;
    min-height: 100vh;           /* Fill at least the viewport */
    display: flex;
    flex-direction: column;      /* Stack main + footer */
    justify-content: flex-start; /* Start content from top */
    align-items: center;
    padding: 1rem 0;
    overflow-y: auto;            /* Allow vertical scrolling */
    /* cursor: url('cursor.png'), auto; */
}
    

/* Main container */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    width: 90%;
    margin-bottom: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Footer */
footer {
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    padding: 1rem 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 100%;
    }
}

.bird-icon {
    width: 1.2em; /* match the text size */
    height: auto;
}

#shiny-word {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

#shiny-word:hover {
    transform: scale(1.1);
}