body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: linear-gradient(to bottom, #000cf9, #5f65e6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    padding: 40px 20px;
}

.dog-text {
    font-size: 28px;
    margin-top: 20px;
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 200px;
    display: inline-block;
}

.flip-card {
    background-color: transparent;
    width: 400px;
    height: 400px;
    perspective: 1000px;
    border-radius: 50%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 50%;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
}

.flip-card-front {
    color: black;
}

.flip-card-back {
    background-color: white;
    color: black;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dog-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Media queries */
@media (max-width: 600px) {
    .flip-card {
        width: 300px;
        height: 300px;
    }

    .dog-text {
        font-size: 22px;
        max-width: 150px;
    }
}

@media (max-width: 400px) {
    .flip-card {
        width: 200px;
        height: 200px;
    }

    .dog-text {
        font-size: 18px;
        max-width: 120px;
    }
}
