.bio::first-letter {
    font-size: 450%; /* Makes the first letter 3 times larger than the rest of the text */
    float: left; /* Allows text to wrap around the letter */
    margin-right: 4px; 
    line-height: 0.7; /* Adjusts line height to avoid spacing issues */
    color: #333; /* Changes the color of the letter - choose what fits your design */
    font-weight: bold; /* Makes the first letter bold */
    /* Additional styles like font-family or text-shadow can be added as needed */
    color: #000;
    margin-bottom: 0px;
    padding-bottom: 0px;
    font-family: Italiana, sans-serif;
}

.About-Bio {
    /* Your existing styles */
    position: relative; /* Needed to position the pseudo-element */
    width: 100%;
    height: 100vh;
    /* Removed the background-image here */
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

.About-Bio::before {
    content: ''; /* Pseudo-elements require content property */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/RIT.jpeg'); /* Your image here */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 10%; /* Adjust the opacity as needed */
}

.bio {
    width: 50%;
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: auto;
    margin-right: auto;
}

.aboutme {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 46px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    border-bottom: #000 1px solid;
}

.resume-button {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-bottom: #000 2px solid;
    text-decoration: none;
    z-index: 501;
} .websites-button {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-bottom: #000 2px solid;
    text-decoration: none;
    z-index: 500;
} .button-div {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Centers items on the main-axis */
    align-items: center; /* Centers items on the cross-axis */
    gap: 60px; /* Sets a 50px gap between each button */
    margin-top: 40px;
} .resume-button:hover, .websites-button:hover {
    transform: scale(1.05); /* Makes text bolder */
    cursor: pointer; /* Changes cursor to pointer */
} .resume-button:active, .websites-button:active {
    transform: scale(1); /* Slightly reduces the size to give a click effect */
}


.profile-pic {
    width: 250px; /* or any other size */
    height: 320px; /* making height more than width for oval shape */
    overflow: hidden; /* Ensures the image doesn't spill outside the boundary */
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic img {
    width: 100%; /* makes image fill the container */
    height: auto; /* maintains aspect ratio */
    object-fit: cover; /* ensures the image covers the area without stretching */
    border-radius: 50%; /* this gives the oval shape */
}

main {
    padding-top: 113px;
}

.Profile {
    border-left: 1px solid #000000;
    display: flex;
    align-items: center;  /* Ensures vertical centering in the flex container */
    justify-content: center; /* Centers horizontally in a column direction */
    flex-direction: column;
    padding-left: 50px;
    padding-right: 50px;
} 

.Profile-Text {
    text-align: center;
}

.About-Section {
    display: flex;
    flex-direction: row;
}

.name2 {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-top: 20px;
    padding-bottom: 15px;
}

.phone, .email {
    color: #000;
    font-family: Merriweather, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.8px;
} .phone {
    padding-bottom: 6px;
}

.social-media {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    padding-top: 60px;
}

/* Styles for the social media logos */
.social-media a img {
    transition: transform 0.2s; /* Smooth transition for scaling */
    width: 65px;
    height: 66px;
}

.social-media a:hover img {
    transform: scale(1.1); /* Scales up a bit on hover */
}

.social-media a:active img {
    transform: scale(1); /* Scales down a bit on click */
}

/* Media query for smaller screens */
@media screen and (max-width: 1024px) {
    .About-Section {
        flex-direction: column;
        align-items: center;
    }

    .Profile {
        border-left: none;
        margin-top: 40px;
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 600px;
        flex-direction: row;
    }

    .bio {
        width: 80%;
        font-size: 18px;
        text-align: center;
    }

    .aboutme {
        font-size: 40px;
        text-align: center;
        width: auto;
    }

    .button-div {
        gap: 60px;
    }

    .resume-button,
    .websites-button {
        font-size: 28px;
    }

    .About-Bio {
        height: 100;
        padding-bottom: 40px;
        border-bottom: #000 solid 1px;
    }

    .About-Bio::before {
        opacity: 7%;
    }

    .profile-pic {
        width: 200px;
        height: 260px;
        margin-right: 50px;
    }

    .name2 {
        font-size: 28px;
        padding-top: 15px;
    }

    .phone,
    .email {
        font-size: 14px;
    }

    .social-media {
        padding-top: 40px;
        gap: 20px;
    }

    .social-media a img {
        width: 55px;
        height: 56px;
    }
}

@media screen and (max-width: 615px) {
    .button-div {
        gap: 40px;
        flex-direction: column;
    }
}

@media screen and (max-width:500px) {
    .Profile {
        flex-direction: column;
    }

    .profile-pic {
        margin-right: 0px;
    }
}