/* Body style */
body {
    background-color: #f6f4f2;
    color: #242424;
    display: flex;
    padding: 1rem;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
}

a {
    color: rgb(255, 0, 64);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2rem;
    transition: opacity 0.2s ease;
    line-height: 1.5rem;
}

a:hover {
    opacity: 0.5;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s ease;
    transition: opacity 0.2s ease;
}

.inline-link {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.inline-link:hover {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

h1 {
    font-size: xx-large;
    margin: 0;
}

h2 {
    font-size: large;
    font-weight: 700;
    opacity: 0.8;
    margin: 0;
}

p {
    line-height: 1.5rem;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    gap: 2rem;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.current {
    text-decoration: none;
    font-weight: bold;
    pointer-events: none;
    cursor: default;
}

.profile-pic {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.inline-img {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 100%;
    border-radius: 0.5rem;
}

.inline-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.about-link-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 200px;
    gap: 1rem;
}

.about-link {
    position: relative;
    display: inline-block;
    width: 100%;
    transition: opacity 0.2s ease;
}

.about-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.image-hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: white;
  mix-blend-mode: difference;
  opacity: 0;
}

.about-link:hover .image-hover-text {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.about-footer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
}

.about-footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.social-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.icon-small {
    width: 1rem;
    height: 1rem;
}

.work-header {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.horizontal-divider {
    width: 100%;
    height: 1px;
    background-color: #242424;
    opacity: 0.1;
}

.project-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.project-label {
    padding: 0.4rem;
    background-color:rgb(136, 215, 206);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.5rem;
    white-space: nowrap;
    overflow: visible;
}

.project-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.project-gallery {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 200px;
    gap: 1rem;
    overflow: auto;
    border-radius: 0.5rem;
}

.project-gallery::-webkit-scrollbar { 
    display: none;
}

.project-gallery img {
    flex: 1;
    width: auto;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 1rem;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: opacity 0.2s ease;
}

.photo-grid img:hover {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.journal-card {
    width: 100%;
    height: 8rem;
}

.journal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .about-footer {
        flex-direction: column;
    }
    
    .journal-grid {
        display: flex;
        flex-direction: column;
    }
}
