/* General */

body {
    width: 100%;
    margin: auto;
    padding: auto;
    opacity: 0;
    background-color: #FAFAFA;
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 0.8s ease-in forwards;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

a {
    color: black;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    color: #E3AFC2;
}

a:active {
    text-decoration: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20vh);
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility;
}

.fade-in.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.fade-in-on-scroll {
      opacity: 0;
      transition: opacity 1s ease;
    }

.fade-in-on-scroll.visible {
    opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px); /* start slightly below */
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s; /* optional delay */
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fonts */

@font-face {
    font-family: 'sequel_sanslight_body';
    src: url('/assets/webfontkit-20241113-163919/sequel_sans_light_body-webfont.woff2') format('woff2'),
         url('/assets/webfontkit-20241113-163919/sequel_sans_light_body-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'sequel_sansmedium_body';
    src: url('/assets/webfontkit-20241113-163919/sequel_sans_medium_body-webfont.woff2') format('woff2'),
         url('/assets/webfontkit-20241113-163919/sequel_sans_medium_body-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Navigation */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 2%;
}

#logo {
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo img {
    width: 100%;
    max-width: 45px;
}

#nav-right {
    display: flex;
    gap: 2rem;
}

.nav-li {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #575757;
    display: inline;
    padding: 1em;
}

.nav-li a {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #575757;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-li a:hover {
    color: #E3AFC2;
}

/* Home Page */

.intro {
    width: 100%;
    max-width: 900px;
    margin: auto;
    margin-top: 6rem;
    margin-bottom: 2rem;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text {
    max-width: 70%;
}

.intro h1 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: 40px;
}

.intro p {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #4D4D4D;
}

.showcase {
    padding: 4rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 440px 440px;
    gap: 15px;
    width: 100%;
    max-width: 900px;
    margin: auto;
    justify-content: center;
    align-items: start;
    text-align: center;
    height: auto;
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 1rem;
    }

    .showcase-img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .showcase-item {
        margin-bottom: 2rem;
    }
}

.showcase-item {
    text-align: left;
    margin-bottom: 3rem;
}

.showcase img {
    object-fit: cover;
    width: 420px;
    height: 300px;
    border-radius: 10px;
}

.showcase h2 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.showcase h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.showcase p {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #575757;
    margin-bottom: 0.25em;
}

.showcase-heading {
    max-width: 900px;
    margin: auto;
    margin-bottom: 1.5rem;
}

p.details {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #747474;
    margin: 0;
}

p.description {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #575757;
    margin: 0;
    margin-top: 0.5rem;
}

html {
    scroll-behavior: smooth;
}

/* Footer */

.footer {
    width: 100%;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 2rem 0;
    background-color: white;
    border-radius: 30px;
}

.footer-grid {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    background-color: white;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.6rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    gap: 0.6rem;
    text-align: right;
}

#one-line {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.footer h5 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    margin: 0;
    color: black;
}

.footer p {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    color: #575757;
    margin: 0;
}

#nyc-time {
    color: #575757;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
}

.footer-right a {
    color: #575757;
    text-decoration: none;
}

.footer-right a:hover {
    color: #E3AFC2;
    text-decoration: none;
}

/* About Page */

.about {
    margin: auto;
}

.about h1 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.75rem;
    margin-top: 0;
}

.about h2 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about p {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #575757;
    line-height: 27px;
}

.about-intro {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.about-intro-item img {
    width: 360px;
    height: 460px;
    object-fit: cover;
    vertical-align: top;
}

.about-more {
    padding-top: 1rem;
}

.about-more-section {
    width: 100%;
    max-width: 1000px;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6rem;
}

.about-more-image-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 3rem;
}

.image-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 224px;
    height: 364px;
    background-color: #E3AFC2;
    border-radius: 999px 999px 16px 16px;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.image-item:hover::before {
    opacity: 0;
}

.image-item img {
    width: 220px;
    height: 360px;
    object-fit: cover;
    border-radius: 999px 999px 16px 16px;
    display: block;
    border: 2px solid #E3AFC2;
}

p.about-caption {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: #787878;
    line-height: 20px;
    width: 230px;
    text-align: center;
}

.bookshelf {
    display: flex;
    gap: 16px;
    padding-bottom: 3rem;
    margin-top: 3rem;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.book img {
    height: 280px;
    width: auto;
    border-radius: 10px;
    flex-shrink: 0;
    object-fit: cover;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book img:hover {
    transform: scale(1.06);
}

/* Work & Project Pages */

.header img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 1rem;
}

#intro {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.intro-details-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-grid-item p {
    margin: 0;
}

@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.section-grey {
    background-color: #FAFAFA;
    width: 100%;
    margin: 0;
}

.section-white {
    width: 100%;
    margin: 0;
}

.work-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.work-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 2fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.work h1 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 2rem;
}

.work h2 {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #B0B0B0;
}

.work h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
}

.work-section p {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #575757;
    line-height: 27px;
}

#intro-grid-text {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: black;
    font-size: 1rem;
}

.work p.caption {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: #636363;
    text-align: center;
    max-width: 50%;
    margin: 0 auto;
    padding-top: 2rem;
    line-height: 18px;
}

#short {
    max-width: 650px;
}

.centered-image {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 0;
}

.centered-image img {
    max-width: 100%;
    height: auto;
}

.centered-image video {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

#reflection {
    margin-bottom: 3rem;
}