* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#user_info {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-in-out;
}

#user_img {
    display: flex;
    align-items: center;
    justify-content: center;
}

#profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

#profile-pic:hover {
    transform: scale(1.05);
}

#user_info h1 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
}

button#btn1 {
    grid-column: span 3;
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    background-color: #fff;
    color: #6e8efb;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button#btn1:hover {
    background-color: #6e8efb;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.key {
    color: #fddb3a; 
    font-weight: bold;
}

.value {
    color: #ff6b81; 
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    #user_info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #profile-pic {
        margin-bottom: 20px;
    }

    button#btn1 {
        width: 100%;
    }
}
