/* Basic styling */
body {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align the content at the top */
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
    font-family: 'Source Sans Pro', sans-serif;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-top: 20px; /* Add spacing at the top of the page */
}

/* Main container to center content vertically */
.container {
    display: flex;
    flex-direction: column; /* Keep the elements in a vertical layout */
    align-items: center;
    gap: 30px; /* Spacing between the elements */
}

/* Main title */
h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    font-size: 40px;
    margin: 0;
    transition: transform 0.3s ease; /* Add transition for the scaling effect */
}

/* Scaling effect on hover of the main title */
h1:hover {
    transform: scale(1.05);
}

/* Styling for h2 elements */
h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
    color: #BBBBBB;
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Scaling effect on hover of h2 elements */
h2:hover {
    transform: scale(1.05);
}

/* Rounded border for the image */
.circle-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease; /* Add transition for the scaling effect */
}

/* Scaling effect on hover of the image */
.circle-container:hover {
    transform: scale(1.05);
}

/* Correct the image style to respect the rounded border */
.circle-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Styling for social media icons */
.social-icons a {
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s ease; /* Transition for scaling effect on icons */
}

/* Scaling effect on hover of social media icons */
.social-icons a:hover {
    transform: scale(1.1);
}

/* Media queries for mobile layout */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px; /* Increase h2 size on mobile */
    }

    .circle-container {
        width: 180px; /* Enlarge the image on mobile */
        height: 180px;
    }

    .container {
        gap: 20px; /* Reduce horizontal spacing */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px; /* Further increase h2 size on very small screens */
    }

    .circle-container {
        width: 200px; /* Enlarge the image on very small screens */
        height: 200px;
    }

    .container {
        gap: 15px; /* Reduce vertical spacing further */
    }
}

