@font-face {
  font-family: "Bahnschrift Condensed";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/banhschrift.ttf") format("truetype");
}

@font-face {
  font-family: "Arial Nova Light";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/arial-nova-light.ttf") format("truetype");
}

:root {
  /* Clear fixed navbar when jumping to in-page anchors */
  --nav-scroll-offset: 4.75rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-scroll-offset);
}

h1 {
  font-family: "Bahnschrift Condensed", sans-serif;
  font-size: 3rem;
  line-height: 1.3;
  font-weight: bold;
  color: #062245;
}

body {
  background-image: linear-gradient(#dae2ea, #9fbad3);
}

h2 {
  font-size: 2.4rem;
  line-height: 1.4;
  font-family: "Bahnschrift Condensed", sans-serif;
  color: #062245;
  margin-bottom: 0.85rem;
}

h3.subsection-title {
  color: #062245;
  font-size: 1.35rem;
  line-height: 1.4;
  font-family: "Bahnschrift Condensed", sans-serif;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

a {
  color: #a94c09;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.4;
  font-family: "Arial Nova Light", Arial, Helvetica, sans-serif;
}

a:hover {
  color: #c45a0f;
  text-decoration: underline;
}

p {
  color: #062245;
  font-size: 1.05rem;
  line-height: 1.55;
  font-family: "Arial Nova Light", Arial, Helvetica, sans-serif;
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: 1.2rem;
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 36rem;
  margin-bottom: 0;
}

nav {
  background-image: linear-gradient(30deg, #f57145, #f2443b);
}

.navbar-brand {
  color: #062245;
  text-decoration: none;
}

.navbar-brand:hover {
  color: #062245;
  text-decoration: none;
}

.container-fluid {
  padding: 3% 10%;
  position: relative;
}

.section-block {
  scroll-margin-top: var(--nav-scroll-offset);
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.section-lead,
.section-footnote {
  margin-bottom: 1rem;
}

.section-footnote {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.98rem;
  opacity: 0.92;
}

#title {
  padding-top: 140px;
}

#welcome {
  padding-bottom: 20px;
}

.navbar-toggler {
  margin-right: 15px;
}

.nav-item {
  padding: 0 12px;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: bold;
  color: #062245;
}

.nav-link:hover {
  text-decoration: underline;
  color: #062245;
}

.collapse {
  justify-content: flex-end;
}

.hero-row {
  row-gap: 1.5rem;
}

#pic {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(6, 34, 69, 0.2);
}

#title-text {
  font-size: 1.6rem;
  padding-left: 15px;
  font-family: "Bahnschrift Condensed", sans-serif;
  font-weight: bold;
  color: #062245;
}

ul.skill-tags,
ul.project-list,
ul.contact-list {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags > li {
  font-family: "Arial Nova Light", Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  color: #062245;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(6, 34, 69, 0.12);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  list-style: none;
  list-style-type: none;
}

.project-list {
  margin-top: 0.25rem;
}

.project-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(6, 34, 69, 0.1);
}

.project-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.project-list a {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.project-list span {
  display: block;
  font-family: "Arial Nova Light", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #062245;
  line-height: 1.45;
}

.cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-site,
.btn-site-outline {
  font-family: "Arial Nova Light", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-site {
  background-color: #062245;
  border: 2px solid #062245;
  color: #fff;
}

.btn-site:hover {
  background-color: #0a3466;
  border-color: #0a3466;
  color: #fff;
  text-decoration: none;
}

.btn-site-outline {
  background-color: transparent;
  border: 2px solid #062245;
  color: #062245;
}

.btn-site-outline:hover {
  background-color: rgba(6, 34, 69, 0.08);
  color: #062245;
  text-decoration: none;
}

.cv-embed-wrapper {
  width: 100%;
  height: 70vh;
  min-height: 520px;
  max-height: 900px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(6, 34, 69, 0.18);
  background: #fff;
  overflow: hidden;
}

.cv-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
  background: #fff;
}

.cv-mobile-hint {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.contact-list {
  margin: 0.5rem 0 0;
}

.contact-list li {
  margin-bottom: 0.55rem;
  font-family: "Arial Nova Light", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #062245;
}

.contact-label {
  display: inline-block;
  min-width: 5.5rem;
  font-weight: 600;
  color: #062245;
}

i {
  transition: transform 0.2s ease-in-out;
}

.social a:hover i {
  transform: scale(1.2);
}

#footer {
  background-color: #5f89b5;
  padding: 28px 0;
}

.social {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 20px;
  color: #4b4c4d;
}

.social a {
  font-size: 24px;
  color: inherit;
  width: 40px;
  height: 40px;
  line-height: 38px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 8px;
  opacity: 0.75;
}

.social a:hover {
  opacity: 0.95;
  text-decoration: none;
}

.copyright {
  margin-top: 12px;
  margin-bottom: 8px;
  text-align: center;
  font-family: "Arial Nova Light", Arial, Helvetica, sans-serif;
  color: #062245;
}

@media (min-width: 764px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  p,
  .contact-list li,
  a,
  .project-list span {
    font-size: 1.15rem;
  }

  #title-text {
    font-size: 2rem;
  }
}

@media (min-width: 1600px) {
  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .nav-link {
    font-size: 1.6rem;
  }

  p,
  .contact-list li,
  a,
  .project-list span {
    font-size: 1.5rem;
  }

  #title {
    padding-top: 9%;
  }

  .container-fluid {
    padding: 3% 7%;
  }

  #title-text {
    font-size: 2.4rem;
  }

  .social a {
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
  #pic {
    max-width: 280px;
    margin-bottom: 0.25rem;
  }

  .cv-embed-wrapper.cv-embed-desktop {
    display: none;
  }

  .cv-mobile-hint {
    display: block;
  }

  .contact-label {
    display: block;
    min-width: unset;
    margin-bottom: 0.1rem;
  }
}
