body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(60deg, rgba(245, 100, 100, .7), rgba(245, 245, 245, .7)), url('/bg.jpg');
    background-attachment: fixed;
}

body.modal-open {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

header {
    background: #f4f4f4;
    width: 100%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    box-sizing: border-box;
}

header img {
    height: 48px;
    padding: 5px 15px;
}

.profile {
    width: 500px;
    max-width: 95vw;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px;
    overflow: auto;
}

.profile-banner {
    background-image: url(photos/may_pacifidlog_town.png);
    background-size: cover;
    height: 250px;
    width: 100%;
}

.profile-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #ffcc00;
    position: sticky;
    top: 0;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    cursor: pointer;
}

.profile-info h1 {
    margin: 0;
    font-size: 24px;
}

less {
    color: rgba(0, 0, 0, .5);    
}

.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 20px;
    cursor: pointer;
}

.profile-info p {
    margin: 5px 0 0;
    color: #555;
}

.profile-content {
    padding: 20px;
}

.description .details, .description .about-me {
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 20px;
    hyphens: auto;
    text-align: justify;
}

.description .details ul {
    list-style: none;
    padding: 0;
}

.description .details ul li {
    padding-block: 5px;
}

.description .details ul li ul {
    padding-left: 20px;
    list-style: '- ';
}

#posts {
    margin-top: 20px;
}

.post {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

.post img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
}

.poster {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.poster h1 {
    font-size: 18px;
}

.album-section {
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 20px;
}

#album {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: scroll;
    padding-bottom: 20px;
}

.album-item {
    width: calc(33.333% - 10px);
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    min-width: 120px;
}

.album-item div {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    aspect-ratio: 2 / 3;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.album-item p {
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 0; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 90%;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Add Animation */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.2s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background: #f4f4f4;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}

.reactions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.reaction {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.reaction.like {
    color: #3b5998;
}

.reaction.love {
    color: #e0245e;
}

.reaction.wow {
    color: #f5c33b;
}