body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
}

.container {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.screen {
    transition: opacity 0.3s ease-in-out;
}

.hidden {
    display: none;
}

#qrcode {
    margin: 1rem auto;
    width: 128px;
    height: 128px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

#back-btn {
    margin-top: 2rem;
    background-color: #666;
}

#back-btn:hover {
    background-color: #555;
}

.download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #0056b3;
}

#egg-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    min-height: 100px;
}

.egg {
    width: 50px;
    height: 70px;
    background-color: #f0e4d7;
    border-radius: 50% / 60% 60% 40% 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.1);
    animation: appear 0.5s ease-in-out;
}

@keyframes appear {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
