.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto); /* Three rows for images and buttons */
    grid-gap: 20px;
}

.cell img {
    width: 60%; /* Adjusted image width */
    height: auto;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-photo {
    max-width: 250px; /* Adjust as needed */
    max-height: 250px; /* Adjust as needed */
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.1);
}

#stayButton,
#switchButton {
    padding: 10px 20px;
    font-size: 16px;
    display: block; /* Display buttons as block elements */
    margin: 10px auto; /* Center buttons horizontally and add margin between them */
}

/* Ensure all action buttons have the same width */
.action-button {
    padding: 10px 20px;
    font-size: 16px;
    display: block;
    margin: 10px auto;
    width: 200px;
    max-width: 200px; /* Set the maximum width */
    box-sizing: border-box; /* Include padding in the width calculation */
    text-align: center;
}

/* Center the paragraph text in the buttons-container */
.buttons-container p {
    text-align: center;
    margin-bottom: 10px; /* Add some space between the text and the buttons */
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

