main {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
    background-color: rgb(241, 241, 241);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.215);
    width: 80%;
    max-width: 600px;
}

/* Coin flipper container */
.coin-flipper-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Button styles */
button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

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

/* Coin result styles */
.coin-result {
    margin-top: 30px;
    font-size: 1.2em;
}

#resultText {
    font-weight: bold;
    color: #333;
}

#coinImage {
    margin-top: 20px;
    width: 150px;
    height: 150px;
    transition: transform 0.4s ease-in-out;
}

/* Coin flip animation */
.flip {
    transform: rotateY(180deg);
}
