body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #3E3E93;
    color: #FBC1F0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

h2 {
    color: #CCCCFF;
}

h3 {
    color: #CCCCFF;
}

.tagline-img {
    position: absolute;
    top: 130px; /* Adjust the top position as needed */
    left: 50%;
    transform: translateX(-20px); /* Center the image horizontally */
    width: 200px; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #76C69E;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: lowercase;
}

.home-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px;
}

.left-content, .right-content {
    position: absolute;
}

.left-content {
    left: 50%;
    transform: translate(-80%, 70%); /* Adjust the distance as needed */
}

.right-content {
    right: 50%;
    transform: translate(100%, 50%); /* Adjust the distance as needed */
}

.index-text {
    color: #2E2E2E; /* Change this to your desired font color */
}

.text-box {
    background-color: #FBC1F0;
    padding: 100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1.6;
}

.coral-link {
    color: #3E3E93; /* Coral color */
    white-space: nowrap;
}

.coral-link:hover {
    color: #F4F4B3; /* Change to a different color on hover */
}

.profile-img {
    width: 300px; /* Set a fixed width */
    height: 300px; /* Set a fixed height */
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image covers the entire area */
}

.facts-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}


footer {
    color: #CCCCFF;
    background-color: #3E3E93;
    padding: 10px;
    text-align: center;
    width: 100%;
    margin-top: 600px;
}

.centered-list {
    list-style-position: inside;
    text-align: center;
    padding: 0;
}

.centered-list li {
    display: inline-block;
    margin: 0 10px;
}

a {
    color: #76C69E;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #F4F4B3;
}

main p {
    max-width: 600px; /* Set a maximum width for paragraphs */
    margin: 0 auto 20px; /* Center the paragraphs and add bottom margin */
    line-height: 1.6; /* Improve readability with line height */
}

.email-link {
    color: #76C69E; /* Change the color to make it stand out */
    font-size: 20px; /* Increase the font size */
    font-weight: bold; /* Make the text bold */
    transition: color 0.3s ease; /* Add a transition effect */
    white-space: nowrap; /* Prevent text from wrapping */
}

.email-link:hover {
    color: #F4F4B3;
}

.signature-img {
    width: 550px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 20px auto 0; /* Add top margin to create space above the image */
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 40px;
    }

    nav {
        flex: 1;
        padding-right: 20px; /* Add right padding to create space */
    }

    nav ul {
        display: flex;
        flex-direction: column; /* Change to column for mobile view */
        justify-content: flex-end;
        gap: 10px;
    }

    nav ul li a {
        font-size: 16px;
    }

    main p {
        max-width: 100%;
        margin: 0 auto 15px;
        line-height: 1.4;
    }

    .email-link {
        font-size: 18px;
    }

    .fact-box {
        width: 100%;
        margin-bottom: 10px;
    }

    .tagline-img {
        position: absolute;
        top: 130px; /* Adjust the top position as needed */
        left: 0;
        transform: translateX(130px); /* Center the image horizontally */
        width: 140px; /* Maintain aspect ratio */
        height: auto; /* Maintain aspect ratio */
    }

    .signature-img {
        width: 300px; /* Use percentage for responsive width */
        margin: 20px 0 0 0; /* Align the signature image to the left */
    }

    .left-content {
        left: 50%;
        transform: translate(-60%, 50%); /* Adjust the distance as needed */
    }

    .right-content {
        right: 50%;
        transform: translate(80%, 150%); /* Adjust the distance as needed */
    }
}