@import url("https://fonts.googleapis.com/css?family=Noto+Sans:400");
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

[role=list] {
  padding: 0;
}

html {
  block-size: 100%;
  -moz-text-size-adjust: none;
       text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  block-size: 100%;
  min-block-size: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

img,
picture {
  max-inline-size: 100%;
  display: block;
  outline: 0;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
}
html {
  font-size: 100%;
} /*16px*/
body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

p {
  margin-block-end: 1rem;
}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  margin-block-start: 0;
  font-size: 4rem;
}

h2 {
  font-size: 2.441rem;
}

h3 {
  font-size: 1.953rem;
}

h4 {
  font-size: 1.563rem;
}

h5 {
  font-size: 1.25rem;
}

small, .text_small {
  font-size: 0.8rem;
}

.header-1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
}

@keyframes fade-in {
  from {
    scale: 0.8;
    opacity: 0;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}
@keyframes slide-in {
  from {
    transform: translateX(10%);
    scale: 0.8;
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    scale: 1;
    opacity: 1;
  }
}
@keyframes slide-right {
  from {
    transform: translateX(-30%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}
@keyframes slide-left {
  from {
    transform: translateX(30%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-fade-in {
    animation: fade-in linear;
    animation-timeline: view(80% 0);
  }
  .scroll-slide-in {
    animation: slide-in linear;
    animation-timeline: view(80% 0);
  }
  .slide-right {
    animation: 0.7s ease-in-out 1 slide-right;
  }
  .slide-left {
    animation: 0.7s ease-in-out 1 slide-left;
  }
  .fade-in {
    animation: 0.7s ease-in-out 1 fade-in;
  }
}
:root {
  --site-width: 90rem;
  --color-surface-1: white;
  --color-surface-2: rgb(253, 253, 253);
  --color-surface-3: #181818;
  --color-border: #e6e6e6;
  --color-text-1: #000000;
  --color-text-2: gray;
  --color-text-3: rgb(76, 76, 76);
  --color-text-contrast: white;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-surface-1: black;
    --color-surface-2: #080808;
    --color-surface-3: var(--color-surface-2);
    --color-border: #212121;
    --color-text-1: #ffffff;
    --color-text-2: #787878;
    --color-text-3: #787878;
    --color-text-contrast: black;
  }
  .bg-contrast * {
    color: white;
  }
}
body {
  background-color: var(--color-surface-1);
  color: var(--color-text-1);
}

.site-header {
  display: flex;
  justify-content: space-between;
  border-block-end: 1px solid var(--color-border);
}

.post-image {
  border: 1px solid var(--color-border);
  background-color: var(--color-surface-1);
  margin-block: 3rem;
}

.button {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  padding-inline: 2rem;
  padding-block: 0.5rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-surface-2);
  border-block-start: 1px solid var(--color-border);
  padding-inline: 2rem;
}
.footer p {
  margin-block: 0;
  color: var(--color-text-3);
}
.footer * {
  margin-inline: 0;
}

@media screen and (max-width: 750px) {
  .footer {
    flex-direction: column;
    padding-block-start: 1rem;
  }
  ul {
    margin-block: 0;
  }
  .site-header {
    flex-direction: column;
    align-items: center;
    flex-flow: column-reverse;
  }
  .site-header .socials ul {
    padding-block: 1.5rem 0;
  }
  .site-header .nav ul {
    padding-block: 0.5rem 1.5rem;
  }
}
.cover {
  display: flex;
  background-color: var(--color-surface-2);
  flex-direction: column;
  min-block-size: 20vh;
  padding: 1rem;
  border-block-end: 1px solid var(--color-border);
  color: var(--color-text-1);
}

.cover > * {
  margin-block: 1rem;
}

.cover > .cover__center-block {
  margin-block: auto;
}

.cover-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.cover-subtitle {
  text-align: center;
  color: var(--color-text-2);
  margin: 0;
}

svg {
  color: var(--color-text-1);
}

.section {
  background-color: var(--color-surface-1);
  padding-block: 6rem 10rem;
}

.section.bg-contrast {
  background-color: var(--color-surface-3);
  color: var(--color-text-contrast);
}

.section__wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 6rem;
  margin-inline: auto;
  max-inline-size: 60rem;
  justify-content: center;
  padding-inline: 2rem;
}
.section__wrapper h2 {
  text-align: center;
}

.section__wrapper.center {
  align-items: center;
}

.section__wrapper--cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  margin-inline: auto;
  max-inline-size: 60rem;
  justify-content: center;
  padding-inline: 2rem;
}

.about-me-description {
  display: flex;
  gap: 4rem;
  align-items: center;
}
.about-me-description img {
  filter: saturate(0);
  border-radius: 9999px;
  transition: filter 0.5s;
}
.about-me-description:hover img {
  filter: saturate(1);
}
.about-me-description p {
  margin-block-end: 0;
}

.card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 6rem 1fr 1fr 1fr;
  grid-template-rows: 1fr auto auto auto 1fr;
  gap: 0 1rem;
}

.card__title {
  display: flex;
  grid-column: 1/span 3;
  grid-row: 2;
  font-size: 1.5rem;
  font-weight: 700;
  margin-block: 0 1rem;
}

.card__description {
  border: 1px solid var(--color-border);
  background-color: var(--color-surface-2);
  padding: 2rem;
  grid-column: 1/span 4;
  grid-row: 3;
  z-index: 1;
}
.card__description p {
  color: var(--color-text-3);
  margin: 0;
}

.card__tags-list {
  grid-column: 1/span 3;
  grid-row: 4;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block-start: 0.5rem;
  color: var(--color-text-2);
}

.card__tags, .card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card__links {
  align-items: center;
}
.card__links a {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s;
  color: var(--color-text-1);
  gap: 0.5rem;
}
.card__links a:hover {
  opacity: 1;
}

.badge {
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  background-color: var(--color-surface-2);
}

.card__image {
  grid-column: 4/span 4;
  grid-row: 1/span 5;
}

.experience {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.experience__date-range {
  text-wrap: nowrap;
  margin-block-start: 0.2rem;
  opacity: 0.3;
}

.experience__description {
  max-inline-size: 45rem;
}
.experience__description h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-block-start: 0;
}
.experience__description h3 span {
  font-weight: 400;
  opacity: 0.6;
}
.experience__description ul {
  margin-inline: 0;
  padding-inline-start: 0.9rem;
}
.experience__description ul li {
  opacity: 0.6;
}

@media screen and (min-width: 750px) {
  .section__wrapper--cards .card:nth-child(2n) .card__description {
    grid-column: 4/span 4;
  }
  .section__wrapper--cards .card:nth-child(2n) .card__tags-list, .section__wrapper--cards .card:nth-child(2n) .card__title {
    grid-column: 5/span 3;
  }
  .section__wrapper--cards .card:nth-child(2n) .card__image {
    grid-column: 1/span 4;
  }
  .section__wrapper--cards .card:nth-child(2n) .card__tags, .section__wrapper--cards .card:nth-child(2n) .card__links, .section__wrapper--cards .card:nth-child(2n) .card__title {
    justify-content: flex-end;
  }
}
@media screen and (max-width: 750px) {
  .experience {
    flex-direction: column;
  }
  .card {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 1rem;
  }
  .card * {
    grid-column: 1;
    grid-row: unset;
  }
  .card__title {
    grid-row: 2;
    margin-block-start: 1rem;
  }
  .card__image {
    grid-row: 1;
  }
  .about-me-description {
    flex-direction: column;
    gap: 2rem;
  }
}
.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-block: 1rem;
}

.article-wrapper {
  max-inline-size: 50rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.article-hero {
  inline-size: min(65rem, 100% - 2rem);
  max-block-size: min(40vh, 40vw);
  -o-object-fit: cover;
     object-fit: cover;
  margin: 4rem auto 3rem auto;
}

.link-button {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 0.5rem;
  position: relative;
  color: #000;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.link-button::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: -0.4rem;
  left: 0;
  background-color: #000;
  transform: scaleX(0);
  transition: transform 0.1s ease;
}
.link-button:hover::before {
  transform: scaleX(1);
}
.link-button:hover {
  opacity: 1;
}

.nav ul {
  display: flex;
  justify-content: start;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 2rem;
}

.nav a {
  position: relative;
  color: var(--color-text-1);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: -0.4rem;
  left: 0;
  background-color: var(--color-text-1);
  transform: scaleX(0);
  transition: transform 0.1s ease;
}
.nav a:hover::before {
  transform: scaleX(1);
}
.nav a:hover {
  opacity: 1;
}

.nav.nav-blog ul {
  justify-content: center;
  margin: 1rem;
  padding: 1rem;
}

.socials ul {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 2rem;
}

.socials a {
  opacity: 0.5;
  transition: opacity 0.2s;
}
.socials a:hover {
  opacity: 1;
}