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


html, body {
    height: 100%; /* Ensure body and HTML take full height */
    overflow: hidden; /* Prevent double scrollbars */
}


body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Main Section */
main {
    flex: 1; /* Allows the main section to grow and take up available space */
    overflow-y: auto; 
}

/* Ensure the profile section is centered */
.profile-section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 100px;
    margin-bottom: 10px;
    overflow-y: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile picture styling */
.profile-pic {
    width: 250px; /* Adjusted size for the image */
    height: 250px; /* Adjusted size for the image */
    border-radius: 50%;
    object-fit: cover;
    margin-right: 50px;
}

/* Box around the intro text */
.intro-box {
    max-width: 400px; /* Keep the box from being too wide */
}


/* Responsive styling for smaller screens (smartphones) */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        margin-top: 100px;
        margin-bottom: auto;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .intro-box {
        max-width: 100%;
        margin-left: 0;
        text-align: center;
    }

}


/* Footer Styling */
footer {
    background-color: #f5f5f5;
    bottom: 1px;
    padding: 10px 0;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow at the top */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer-item {
    text-align: center;
}

.footer-item p {
    margin: 0;
    font-size: 14px;
}

.footer-item a {
    text-decoration: none;
    color: #333;
    text-decoration: none;
    font-size: 0;
}

.footer-item a img {
    width: 24px; /* Adjust the size of the icons */
    height: 24px;
    margin-right:5px;
    margin-left: 5px;
    vertical-align: middle;
    transform: transform 0.3s ease;
}

.footer-item a:hover img{
    transform: scale(1.1);
}


footer a:hover {
    text-decoration: underline;
}


/* Responsive footer */
@media (max-width: 768px) {

    .footer-container  {
        flex-direction:row;
        text-align: center;
    }

    .footer-item {
        margin-left: auto;
        align-items: center;
        margin-right: auto;
    }

    .footer-item a img{
        width: 20px; /* Adjust the size of the icons */
        height: 20px;
    }
}
