body {
    background-color: #E5E5FD;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

#profile-image {
    height: 45%;
    width: 45%;
    object-fit: cover;
    /* Ensures the image doesn't get distorted */
}

article {
    border: 13px darkblue solid;
    padding: 50px 30px 30px;
    max-width: 800px;
    margin: 0 auto;
}

li{
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: black;

}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

p {
    text-align: justify;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: bold;
    /* margin-right: 50px; */
    max-width: 45%;
    /* Ensures that the text area doesn't grow too wide */
}

#title-name {
    font-size: 36px;
    color: #003366;
    margin: 0;
}

#title-year {
    font-size: 24px;
    color: #003366;
    margin: 0;

}

#title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 36px;
    color: #003366;
}

#p-name {
    font-weight: bold;
}

#p-pronounce {
    font-style: italic;
}

#list-title {
    font-weight: bold;
}

#list {
    font-size: small;
    font-family: 'Courier New', Courier, monospace;
}

#footer {
    display: flex;
    justify-content: flex-end;
    font-size: small;
    margin-top: 20px;
}

#footer>a {
    padding: 0 2px;
    color: darkblue;
    text-decoration: none;
    font-weight: bold;
}

#footer>a:hover {
    text-decoration: underline;
    color: #0044cc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    .column {
        align-items: center;
        margin-right: 0;
        margin-top: 20px;
        max-width: 100%;
    }

    #profile-image {
        width: 80%;
        height: auto;
    }

    #title-name {
        text-align: center;
    }

    #title {
        text-align: center;
    }

    #footer {
        justify-content: center;
    }
}