body { 
    text-align: center; 
    font-family: 'Comic Sans MS', cursive, sans-serif; 
    background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3eZ2IvS4pDukhKaeyzS_-PB_zDnLEQBcmog&s') no-repeat center center fixed;
    background-size: cover;
    color: lime;
    text-shadow: 3px 3px 5px black;
}

input { 
    width: 90%;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
    border: 5px solid red;
    background-color: yellow;
    color: black;
}

/* FLEX CONTAINER FOR CALCULATOR + IMAGE */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.calculator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 80px);
    grid-gap: 10px;
    justify-content: center;
    padding: 20px;
}

button { 
    width: 80px;
    height: 80px;
    font-size: 28px;
    font-weight: bold;
    background-color: purple;
    color: cyan;
    border: 5px dashed hotpink;
    box-shadow: 5px 5px 15px red;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 15px;
}

button:hover {
    background-color: black;
    color: yellow;
    transform: scale(1.2);
    animation: shake 0.2s infinite alternate;
}

.clear {
    background-color: red;
    color: white;
    font-size: 24px;
}

@keyframes shake {
    0% { transform: translateX(-5px); }
    100% { transform: translateX(5px); }
}

/* STYLE FOR IMAGE */
#result img { 
    max-width: 300px;
    max-height: 300px;
    border: 10px ridge orange;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

h1::before { content: "💀🤡🔥🌈 "; }
h1::after { content: " 🌈🔥🤡💀"; }
