/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9f9f9;
    color: #000;
    line-height: 1.6;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.profile-container {
    max-width: 600px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    padding: 0 20px; /* Padding added to ensure inner elements don't touch the sides */
}

/* Profile Name */
.profile-name {
    font-size: 32px;
    font-weight: bold;
    padding: 20px;
    color: #000;
    text-align: center; /* Center align the name */
}

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

/* Info Item */
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.info-item img {
    width: 24px;
    height: 24px;
}

/* Image Container */
.image-container {
    width: calc(100% - 40px); /* Slight padding from the sides */
    margin: 0 auto 20px; /* Center and add spacing below */
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners */
}

.image-container img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

/* Prompt Container */
.prompt-container {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    width: calc(100% - 20px); /* Slight padding from the sides */
    margin: 0 auto 20px; /* Center and add margin below */
}

/* Prompt Question */
.prompt-question {
    font-size: 14px;
    font-weight: normal;
    color: #888;
    margin-bottom: 10px;
}

/* Prompt Answer */
.prompt-answer {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-container {
        max-width: 90%;
    }

    .image-container {
        width: calc(100% - 20px); /* Adjust for smaller screens */
    }
    .prompt-container {
        width: calc(100%); /* Adjust for smaller screens */
    }
}
