.favorites-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
    padding: 10px;
}

.favorites-category {
    border: 2px solid gray;
    width: 100%;
    padding: 5px;
    max-width: 480px;
}

.favorites-category h3 {
    margin: 0 0 5px 0;
    text-align: center;
    color: var(--accent-color);
}

.favorites-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: none;
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.80)), url("/patterns/PanelPattern2.png");
    background-size: 30px;
}

.favorites-container img {
    height: 150px;
    border: 2px solid gray;
}

.favorites-container img:hover {
    border-color: var(--accent-color);
}

.image-caption {
    text-align: center;
    font-size: 0.9em;
    margin: 5px 0;
}

#about-me {
    display: flex;
    margin: 30px 0;
    align-items: center;
    gap: 10px;
}

#about-me img {
    height: 200px;
    border: 5px groove gray;
    transition: scale 0.05s ease-in-out;
}

#about-me img:hover {
    scale: 1.1;
}

#about-me p {
    text-align: left;
    margin-left: 20px;
}

#site-section {
    display: flex;
    margin-top: 15px;
}

#about-header {
    width: 100%;
    max-width: 500px;
}

.container {
    border-radius: 50px;
}

@media (max-width: 768px) {
    #about-me {
        flex-direction: column;
        align-items: center;
    }

    #about-me img {
        margin-bottom: 15px;
    }

    .container {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .favorites-container {
        scrollbar-width: thin;
    }

    #site-section {
        flex-direction: column;
    }
}