
/* =================================
   RESET
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: Helvetica, sans-serif;
  font-size: 11px;
}


/* =================================
   HEADER
================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;

  padding: 18px 22px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  z-index: 10;
  pointer-events: none;
}

.header a {
  color: #111;
  text-decoration: none;
  pointer-events: auto;
}

.header nav {
  display: flex;
  gap: 20px;
}


/* =================================
   GALLERY VIEWPORT
================================= */
.gallery {
  width: 100vw;
  height: 100svh;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: none;
  scroll-behavior: auto;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;

  overflow-anchor: none;
  overscroll-behavior-x: contain;
}

/* =================================
   GALLERY TRACK
================================= */

.gallery-track {
  display: flex;
  gap: 0;
  padding: 0;
  width: max-content;
}


/* =================================
   INDIVIDUAL SLIDES
================================= */

.slide {
  flex: 0 0 48vw;
  width: 48vw;
  height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* =================================
   IMAGES
================================= */

.slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  margin: 0;
}


/* =================================
   CENTRAL TEXT OVERLAY
================================= */

.center-text {
  position: fixed;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 100%;
  max-width: 650px;

  z-index: 20;

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

  text-align: center;

  /* NEGATIVE COLOR EFFECT */
  color: white;
  mix-blend-mode: difference;

  pointer-events: none;
}

/* TEXT CONTENT */

.text-content {
  padding: 20px;
}

.text-content p {
  font-size: 16px;
  font-weight: 500;

  line-height: 1.5;
  letter-spacing: 0.02em;
}

a {
  font-size: 16px;
  font-weight: 500;

  line-height: 1.5;
  letter-spacing: 0.02em;
}

.text-content .description {
  margin-top: 8px;
  opacity: 0.9;
}

/* CENTRAL TEXT - LETTER SPACING */

.center-text .text-content,
.center-text .text-content p,
.center-text .text-content a {
    letter-spacing: -0.02em !important;
}

.about-center-text .text-content,
.about-center-text .text-content p,
.about-center-text .text-content a {
    letter-spacing: -0.02em !important;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 768px) {

    .gallery {
        width: 100%;
        height: 100dvh;
        overflow-x: auto;
    }

    .gallery-track {
        display: flex;
        width: max-content;
        height: 100%;
        gap: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .slide {
        flex: 0 0 100vw;
        width: 100vw;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
    }

}

/* =================================
   INDEX - MOBILE CENTRAL TEXT
   MATCH ABOUT PAGE EXACTLY
================================= */

@media (max-width: 700px) {

  .center-text {
    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 100%;
    max-width: 650px;

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

    text-align: center;
  }

  .center-text .text-content {
    padding: 20px;
  }

  .center-text .text-content p {
    font-size: 16px;
    font-weight: 500;

    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .center-text .text-content a {
    font: inherit;
  }

}


/* =================================
   ABOUT PAGE
================================= */

.about-page {
  background: #ffffff;
  color: #000000;

  font-family: Helvetica, sans-serif;
  font-size: 11px;
}


/* =================================
   ABOUT CENTRAL TEXT
   SAME LAYOUT AS MAIN PAGE
================================= */

.about-center-text {
  position: fixed;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 100%;
  max-width: 650px;

  z-index: 20;

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

  text-align: center;

  color: #000000;

  pointer-events: none;
}

/* TEXT CONTENT */

.about-center-text .text-content {
  padding: 20px;
}

.about-center-text p {
  font-size: 16px;
  font-weight: 500;

  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* LINKS */

.about-center-text a {
  color: inherit;
  text-decoration: none;

  pointer-events: auto;
  cursor: pointer;

  font: inherit;
}

.center-text {
    pointer-events: none;
}

.center-text a {
    pointer-events: auto;
    cursor: pointer;
}

/* =================================
   ABOUT CONTENT
================================= */
.about-content {
  position: absolute;

  top: 3%;
  left: 0;
  bottom: 3%;

  margin-right: 60%;

  width: 100%;
  padding: 0 22px 40px;

  color: #000000;
  text-align: left;

  font-family: Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;

  line-height: 1.2;
  letter-spacing: 0.02em;
}

.about-content .Raquel {
  margin-bottom: 36px;
}


/* =================================
   CV SCROLL AREA
================================= */

.cv-scroll {
  position: fixed;

  top: 55%;
  left: 0;
  right: 0;
  bottom: 0;

  overflow-y: auto;
  overflow-x: hidden;

  z-index: 1;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}


/* =================================
   CV CONTENT
================================= */

.cv-content {
  position: relative;

  width: 100%;
  padding: 0 22px 40px;

  color: #000000;
  text-align: left;

  font-family: Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;

  line-height: 1.2;
  letter-spacing: 0.02em;
}


/* PARAGRAPHS */

.cv-content p {
  max-width: 650px;

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;

  line-height: inherit;
  letter-spacing: inherit;

  color: #000000;

  margin: 0 0 28px 0;
}


/* INDIVIDUAL SPACING */

.cv-content .RR001G {
  margin-bottom: 36px;
}

.cv-content .about {
  margin-bottom: 36px;
}

.cv-content .Publishing {
  margin-bottom: 36px;
}

.cv-content .Education {
  margin-bottom: 36px;
}

.cv-content .Work {
  margin-bottom: 0;
}
