*{
    box-sizing: border-box;
}

body{
    background-color: antiquewhite;
    font-family: "Inter", sans-serif;

}
.stylenav .links a {
    color: black;
    text-decoration: none;
    padding-right: 15px;
    margin: 15px;
    float: right;
    font-size: 30px;
}
.stylenav .logo a{
    color: black;
    float: left;
    padding-left: 15px ;
    margin:15px;
    font-size: 30px;
}
.menu-icon {
    display: none;
}

.intro{
    clear: both;
    margin: 15px;
    padding: 40px 0px 0px 80px;
    font-size: 2em;
    color:black;
    display: block;

}
.intro .introduction {
    font-size: 0.8em;
}

.intro .name {
    font-size: 3em;
    font-weight: bold;
    padding-top: 10px;
    /* padding-bottom: 10px; */
    line-height: 1;
    
}
.intro .shortbio {
    font-size: 3em;
    font-weight: bold;
    color:grey;
    line-height: 1;

}

.about-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px;
    gap: 50px;
}

.about-me .text {
    flex: 1;
    max-width: 50%;
    font-size: 1.3em;
}

.about-me .image {
    flex: 1;
    max-width: 35%;
}

.about-me img {
    max-width: 280px; 
    height: auto;
    border-radius: 20px; 
    /*border: solid black;
    border-width: 5px; */ 
}

.about-me h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.about-me p {
    font-size: 1.1em;
    line-height: 1.5;
}

.footer {
    font-family: "Inter", sans-serif;
    position: relative;
    background-color: gray; /* Dark background color */
    color: white; /* White text color */
    text-align: center; /* Center-align text */
    padding: 20px; /* Space around the text */
    font-size: 1.2em; /* Adjust the font size */
}

.footer a{
    text-decoration: none;
    color: white;
}



/* Media query for smaller screens */
@media (max-width: 768px) {
    .links {
        display: none; /* Hide links */
        flex-direction: column;
        gap: 10px;
        background-color: #f8f9fa;
        position: absolute;
        top: 50px;
        right: 20px;
        padding: 8px 5px 0px 0px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
        float: right;
        padding-left: 15px ;
        margin:15px;
        font-size: 30px; 
    }

    .about-me {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        align-items: center;   /* Center-align content */
        max-width: 100%;
    }

    .about-me .image {
        margin-bottom: 20px; /* Add spacing below the image */
        align-content: center;
        text-align: center;
    }

    .about-me .text {
        text-align: center; /* Optional: Center-align text */
        max-width: 100%;
    }
}