/* Importing a custom font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    /* Setting a non-default font */
    font-family: 'Roboto', sans-serif;
    /* Centering the card on the page */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    /* First background color */
    background-color: #f0f2f5;
    /* Establishing a 3D perspective for child elements */
    perspective: 1000px;
}

.info-card {
    /* Maximum width of the card */
    max-width: 750px;
    /* Second background color */
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: #333;
    /* Preserving 3D transformations for children */
    transform-style: preserve-3d;
    /* Smooth transition for hover effect */
    transition: transform 0.5s ease-in-out;
}

.info-card:hover {
    /* Applying a 3D transform on hover */
    transform: rotateY(10deg) rotateX(5deg);
}

.info-card h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2.2em;
}

.info-card p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-card p strong {
    color: #34495e;
}

.info-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 20px;
    border: 4px solid #3498db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Applying a 3D transform to the image */
    transform: translateZ(20px);
}
