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

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


/* ======================================================
   BASE
====================================================== */

body {
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.6;

  color: black;
  background: rgb(247, 215, 249);
}


/* ======================================================
   TYPOGRAPHY
====================================================== */

h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;

  text-transform: uppercase;
}

h2 {
  font-size: 1.4rem;
}

p {
  font-size: 1.2rem;
  line-height: 1.8;
}


/* ======================================================
   INDEX TITLE
====================================================== */

.floating-title {
  position: fixed;

  top: 50%;
  left: 50%;

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

  z-index: 2000;

  font-size: 2.5rem;
  font-weight: 500;

  letter-spacing: 0.03em;
  line-height: 0.4;

  text-transform: uppercase;
  text-decoration: none;

  color: rgb(242, 186, 236);
}


/* ======================================================
   ABOUT TITLE
====================================================== */

.about-title {
  position: fixed;

  top: 2rem;
  left: 2rem;

  z-index: 2000;

  font-size: 2.2rem;
  font-weight: 500;

  letter-spacing: 0.03em;
  line-height: 0.4;

  text-transform: uppercase;
  text-decoration: none;

  color: rgb(242, 186, 236);
}


/* ======================================================
   PROJECT PANELS
====================================================== */

.project-panel {
  width: 100%;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
}

.project-img-wrapper {
  width: 100%;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  display: block;
}


/* ======================================================
   PROJECT TEXT
====================================================== */

.project-text-preview {
  width: 100%;
  padding: 2rem;
}

.project-text-preview h2 {
  margin-bottom: 1rem;
}

.project-text-preview p {
  max-width: 700px;
}


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

.about-split {
  display: flex;
  min-height: 100vh;
}

/* LEFT SIDE */

.about-left {
  width: 50%;

  padding: 3.8rem 2rem 1rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: rgb(0, 0, 0);
}

.about-left p {
  max-width: 800px;
  margin-bottom: 0.2rem;
}

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

.about-left a:hover {
  text-decoration: underline;
}
/* RIGHT SIDE */

.about-right {
  width: 50%;
}

.about-right img {
  width: 100%;
  height: 100vh;

  object-fit: cover;
  display: block;
}
/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  h2 {
    font-size: 1rem;
    line-height: 1.2;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .floating-title {
    font-size: 1.4rem;
    width: 50%;
    line-height: 1.2;
  }

  .about-title {
    top: 1rem;
    left: 1rem;
    font-size: 1.2rem;
  }

  .project-panel {
    min-height: auto;
  }

  .project-text-preview {
    padding: 1.2rem;
    }

  .about-split {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .about-left,
  .about-right {
    width: 100%;
  }

  .about-left {
    padding: 1.5rem 1.2rem 2rem;
  }

  .about-right img {
    height: auto;
    max-height: 70vh;
  } }