.hero-section {
    padding-top: 2em;
    padding-bottom: 10em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;  
    overflow: hidden;  
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20em;
    right: -10em;
    width: 50em;
    height: 50em;
    background: rgba(106, 13, 173, 0.5);
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
}

.hero-content {
    margin-top: 0;
    color: #000000; 
    font-size: 1.5em;
    width: 25em;
    text-align: left;
    padding: 1.5em;
    padding-left: 5em;
}

.social-media-links {
    display: flex;
    gap: 20px;
    justify-content: left;
}

.social-media-icon {
    color: #6A0DAD;
    font-size: 2em;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #D8BFD8;
}

.fa-github:hover {
    color: #000000;
}

.fa-linkedin:hover {
    color: #0A66C2;
}

.fa-envelope:hover {
    color: #D14836;
}

.hero-main-image {
    width: 30em;
    height: 30em; 
    margin-top: 5em;
    margin-right: 20em;
    object-fit: cover; 
    object-position: center 30%; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.hero-profile-image {
    width: 25em;
    height: 25em;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    right: 12em;
    top: 22em;
    transition: transform 0.3s ease;
}

.hero-profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1500px) {
    .hero-main-image {
        width: 25vw;
        height: 25vw;
        margin-right: 10em;
    }
    
    .hero-profile-image {
        width: 20vw;
        height: 20vw;
        right: 5em;
    }
    .about-me-text {
        width: 20em;
        font-size: 1.2em;
        padding: 2em;
        margin-left: 2em;
        text-align: left;
    }
}

@media (max-width: 992px) {
    .hero-main-image {
        width: 30vw;
        height: 30vw;
        margin-right: 5em;
        margin-top: 12em;
    }
    
    .hero-profile-image {
        width: 25vw;
        height: 25vw;
        right: 3em;
        top: 22em;
    }

    .about-me-text {
        width: 30em;
        font-size: 1.2em;
        padding: 2em;
        margin-left: 2em;
        text-align: left;
    }
}
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 1em;
    }

    .hero-content {
        width: auto;
        font-size: 1.2em;
        padding: 1em;
        margin-top: 0;
        text-align: center;
    }

    .social-media-links {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .hero-main-image,
    .hero-profile-image {
        display: none;
    }

    .hero-section::after {
        width: 20em;
        height: 20em;
        bottom: -10em;
        right: -5em;
    }
}