/* =========================================================
   GENERAL
========================================================= */

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}


/* =========================================================
   CUSTOM FONT
========================================================= */

@font-face {
  font-family: "HeaderFont";
  src: url("/content/HeaderFont.eot");
  src:
    url("/content/HeaderFont.eot?#iefix") format("embedded-opentype"),
    url("/content/HeaderFont.woff") format("woff"),
    url("/content/HeaderFont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


/* =========================================================
   BODY
========================================================= */

body {
  margin: 0;
  background-color: #d9d9d9;
  color: #716c65;
  font-family: "Roboto Mono", monospace;
}


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

.header,
.gallery-header {
  width: 100%;
  height: 100px;

  display: flex;
  align-items: flex-start;
}


/* =========================================================
   LOGO
========================================================= */

.logo,
.gallery-logo {
  flex-shrink: 0;

  padding-left: 10px;
  margin-top: -10px;
}

.logo img,
.gallery-logo img {
  display: block;

  width: 300px !important;
  height: auto !important;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation,
.gallery-navigation {
  margin-left: auto;

  display: flex;
  align-items: center;

  gap: 15px;

  padding: 20px 20px 0 0;
}

.navigation a,
.gallery-navigation a {
  color: #716c65;

  font-family: "Roboto Mono", monospace;
  text-decoration: none !important;
}

.navigation a:hover,
.gallery-navigation a:hover {
  opacity: 0.7;
}


/* =========================================================
   LANDING PAGE
========================================================= */

.landing {
  min-height: 100vh;
}


/* =========================================================
   THREE PANELS
========================================================= */

.panels {
  width: 100%;

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

  gap: 40px;

  margin-top: 15px;
}

.panel {
  position: relative;
  text-align: center;
}


/* =========================================================
   PANEL LINKS
========================================================= */

.panel a {
  position: relative;

  display: block;

  width: 300px;

  text-decoration: none;

  z-index: 2;
}


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

.panel img {
  display: block;

  width: 300px;
  height: auto;

  position: relative;

  z-index: 2;
}


/* =========================================================
   XR PANEL
========================================================= */

.panel:nth-child(1) a {
  background-image: url("/content/windowxrbw.png");

  background-repeat: no-repeat;
  background-position: top left;
  background-size: 300px auto;
}

.panel:nth-child(1) a:hover {
  background-image: url("/content/windowxrcolor.png");
}


/* =========================================================
   GALLERY PANEL
========================================================= */

.panel:nth-child(2) a {
  background-image: url("/content/windowgalbw.png");

  background-repeat: no-repeat;
  background-position: top left;
  background-size: 300px auto;
}

.panel:nth-child(2) a:hover {
  background-image: url("/content/windowgalcolor.png");
}


/* =========================================================
   PANEL TEXT
========================================================= */

.panel h1 {
  position: absolute;

  top: 50%;
  left: 50%;

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

  margin: 0;
  padding: 0;

  font-family: "HeaderFont", serif;
  font-size: 36px;
  font-weight: normal;

  color: white;

  text-align: center;
  white-space: nowrap;

  pointer-events: none;

  z-index: 3;
}


/* =========================================================
   SHARED HEADINGS
========================================================= */

.panel h1,
.resume-header h1,
.resume h2,
.about h1,
.gallery-page h1 {
  font-family: "HeaderFont", serif;
}


/* =========================================================
   GALLERY / XR / EXTRA PAGES
========================================================= */

.gallery-page {
  width: 100%;

  min-height: calc(100vh - 100px);

  padding: 50px 5% 100px;
}

.gallery-page h1 {
  margin: 0;

  font-family: "HeaderFont", serif;
  font-size: 36px;
  font-weight: normal;

  color: #716c65;
}


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

.about {
  min-height: 100vh;
  width: 100%;

  display: flex;
  justify-content: center;

  padding: 450px 5% 100px;
}

.about-content {
  width: 100%;
  max-width: 900px;

  font-family: "Roboto Mono", monospace;

  font-weight: normal;
  font-style: normal;

  line-height: 1.6;
}

.about-content p {
  margin: 0 0 30px;
}

.about-content p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   ABOUT BOX
========================================================= */

.about-box {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
  padding: 50px;

  background-color: #d9d9d9;

  border-radius: 32px;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.08),
    0 3px 10px rgba(0, 0, 0, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.5);
}


/* =========================================================
   ABOUT TEXT
========================================================= */

.about-text {
  max-width: 900px;

  font-family: "Roboto Mono", monospace;
  color: #716c65;

  font-size: 16px;
  line-height: 1.6;
}

.about-text p {
  margin: 0 0 30px;
}

.about-text p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   RESUME
========================================================= */

.resume {
  width: 100%;

  padding: 0 5%;

  margin: 30px auto 100px;
}


/* =========================================================
   RESUME BOX
========================================================= */

.resume-box {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
  padding: 50px;

  background-color: #d9d9d9;

  border-radius: 32px;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.08),
    0 3px 10px rgba(0, 0, 0, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.5);
}


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

.resume-header {
  margin: 0 0 10px;
  padding: 0;
}

.resume-header h1 {
  margin: 0 0 5px;
  padding: 0;

  font-size: 36px;
  letter-spacing: 2px;
}

.resume-header h3 {
  margin: 0;
  padding: 0;

  font-weight: normal;
  font-style: italic;
}


/* =========================================================
   RESUME CONTENT
========================================================= */

.resume-content {
  display: flex;

  width: 100%;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience {
  width: 65%;
  padding-right: 30px;
}

.resume h2 {
  margin: 0 0 10px;
  padding: 0;

  font-size: 22px;
}


/* =========================================================
   INDIVIDUAL PROJECTS
========================================================= */

.job {
  margin-bottom: 25px;
}

.job-title {
  font-style: italic;
  font-weight: bold;
}

.date {
  float: right;

  font-size: 14px;
  font-style: normal;
}

.job-subtitle {
  margin-top: 3px;

  font-style: italic;
}

.job ul {
  padding-left: 20px;
  margin-top: 8px;
}

.job li {
  margin-bottom: 5px;
}


/* =========================================================
   RESUME SIDEBAR
========================================================= */

.sidebar {
  width: 35%;
}

.sidebar h3 {
  margin-top: 0;
  margin-bottom: 15px;

  font-family: "HeaderFont", monospace;
  font-size: 16px;
}

.sidebar p,
.sidebar li {
  font-family: "Roboto Mono", monospace;

  font-size: 16px;
  font-weight: normal;
  font-style: normal;

  line-height: 1.4;
}

.sidebar-section {
  margin-bottom: 45px;
}

.skills p {
  margin-bottom: 18px;
}


/* =========================================================
   SITEWIDE FOOTER
========================================================= */

.site-footer {
  width: 100%;

  margin: 80px 0 0;
  padding: 25px 40px 20px;

  background-color: #b5b5b5;

  display: flex;
  flex-direction: column;

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

  gap: 12px;

  text-align: center;
}


/* =========================================================
   FOOTER BUTTONS
========================================================= */

.footer-links {
  width: 100%;

  display: flex;

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

  gap: 20px;
}

.footer-links a {
  display: inline-flex;

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

  padding: 10px 24px;

  background-color: #716c65;
  color: #d9d9d9;

  border-radius: 30px;

  font-family: "Roboto Mono", monospace;
  font-size: 14px;

  text-decoration: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.75;
  transform: translateY(-3px);
}


/* =========================================================
   FOOTER COPYRIGHT
========================================================= */

.footer-copyright {
  color: #716c65;

  font-family: "Roboto Mono", monospace;
  font-size: 13px;
}


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

@media (max-width: 700px) {

  /* ---------- HEADER ---------- */

  .header,
  .gallery-header {
    height: auto;
  }

  .navigation,
  .gallery-navigation {
    gap: 10px;
  }


  /* ---------- LANDING PANELS ---------- */

  .panels {
    gap: 10px;
  }

  .panel {
    width: 30%;
    margin-bottom: 30px;
  }

  .panel a,
  .panel img {
    width: 100%;
    height: auto;
  }

  .panel h1 {
    font-size: 20px;
  }


  /* ---------- ABOUT ---------- */

  .about {
    min-height: 100vh;

    padding: 200px 5% 100px;
  }

  .about-box {
    padding: 30px 25px;
    border-radius: 24px;
  }


  /* ---------- RESUME ---------- */

  .resume {
    width: 100%;

    padding: 0 5%;

    margin-top: 100px;
  }

  .resume-box {
    padding: 30px 25px;
    border-radius: 24px;
  }

  .resume-content {
    display: block;
  }

  .experience,
  .sidebar {
    width: 100%;
  }

  .experience {
    padding-right: 0;
  }

  .date {
    float: none;

    display: block;

    margin-top: 5px;
  }


  /* ---------- GALLERY / XR / EXTRA ---------- */

  .gallery-page {
    width: 100%;

    min-height: calc(100vh - 100px);

    padding: 50px 5% 100px;
  }

  .gallery-page h1 {
    font-size: 36px;
  }


  /* ---------- FOOTER ---------- */

  .site-footer {
    margin-top: 80px;

    padding: 20px 20px 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    width: auto;
  }
}
