body {
    font-family: 'Baloo 2', cursive;
    background: linear-gradient(180deg, #FDE2E4, #E0BBE4);
    margin: 0;
}
header {
    background: linear-gradient(90deg, #FF9A8B, #FF6A88);
    /* darker gradient */
    color: white;
    padding: 15px 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    /* bigger on mobile */
    margin: 0;
}
#display-area {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* prevents text overflow */
    text-align: center;
}

.text-display {
    word-break: break-word;
    font-size: 6vw;
    /* responsive font size for mobile */
    max-width: 95%;
    /* avoid going off screen */
    line-height: 1.2;
}
.display-section img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: popIn 0.5s ease;
}



@media (max-width: 600px) {
    header {
        padding: 12px 15px;
    }

    header h1 {
        font-size: 1.3rem;
    }

    .text-display {
        font-size: 8vw;
    }
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}