
body {
    background-color: black;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 50px;
}

h1 {
    color: white;
    font-size: 40px;
    margin-top: 5px;
    margin-bottom: 1px;
}

p {
    color: aliceblue;
    font-size: 20px;
    margin-top: 1px;
    margin-bottom: 20px;
}

button {
    display: inline-flex;
    background-color: black;
    color: white;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 20px;
}

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

#artworks {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.artwork {
    position: relative;
    display: block;
    width: 582px;
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
}

.artwork img {
    display: block;
    width: 100%;
    height: auto;
}

.artwork-label {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    font-size: 30px;

    opacity: 0;
    transition: opacity 0.3s ease;
}

.artwork:hover .artwork-label,
.artwork:focus-visible .artwork-label {
    opacity: 1;
}

@media (max-width: 600px) {
    body {
        margin: 20px;
    }

    h1 {
        font-size: 30px;
    }

    .artwork-label {
        font-size: 24px;
    }
}

@media (hover: none) {
    .artwork-label {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.35);
    }
}

.journal-list {
    margin: 40px auto;
}

.journal-list a {
    display: block;
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
}

a {
    color: white;
}

.journal-entry {
    max-width: 750px;
    margin: 40px auto;
    text-align: left;
}

.journal-entry p {
    line-height: 1.7;
    margin-bottom: 25px;
}

.journal-entry img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
}


/* about me page */

.about-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;

    max-width: 1100px;
    margin: 60px auto;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;

    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    color: white;
    font-size: 30px;
    margin-top: 0;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-text a {
    color: white;
}

.back-link {
    display: inline-block;
    color: white;
    font-size: 18px;
    margin-top: 30px;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* mobile layout */

@media (max-width: 700px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 30px auto;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-text {
        text-align: center;
    }
}

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

a:hover {
    text-decoration: underline;
}
