body {
  font-family: "Work Sans", sans-serif;
  color: #282b28;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
}

.section-title {
  text-transform: uppercase;
}

main {
  padding-inline: 1.5rem;
}

.site-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(40, 43, 40, 0.08);
}

.site-header__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-header__title {
  margin: 0;
  font-size: 2em;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.5;
  color: #282b28;
}
.site-header__title a {
  color: inherit;
  text-decoration: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
}

.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  color: #282b28;
  cursor: pointer;
}

.site-header__menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.5rem;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(40, 43, 40, 0.08);
  box-shadow: 0 8px 16px rgba(40, 43, 40, 0.12);
  z-index: 10;
}
.site-header__menu.is-open {
  display: flex;
}
.site-header__menu a {
  font-weight: 400;
  color: #6a3937;
  text-decoration: none;
}
.site-header__menu a:hover, .site-header__menu a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 992px) {
  .site-header__toggle {
    display: none;
  }
  .site-header__menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: none;
    border-bottom: none;
    box-shadow: none;
  }
}
.hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: #6a3937;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.back-to-top:hover, .back-to-top:focus-visible {
  background-color: #f0cf65;
  color: #282b28;
}

.webdev__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.webdev-card {
  min-width: 0;
}

.webdev-card__embed {
  display: block;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 375px) {
  .webdev__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1.5rem;
}

.project-card {
  min-width: 0;
  width: 100%;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  overflow: hidden;
}
.project-card:hover {
  border-color: #333333;
}

.project-card__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.25;
}
.project-card__title a {
  color: #6a3937;
  text-decoration: none;
}
.project-card__title a:hover, .project-card__title a:focus-visible {
  text-decoration: underline;
}

.project-card__square {
  display: block;
  box-sizing: border-box;
  aspect-ratio: 1/1;
  padding: 24px;
  overflow: hidden;
  background-color: #ffffff;
}

.project-card__status {
  margin: 0;
  font-size: 0.8rem;
}

.project-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 575px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.project-detail {
  max-width: 1440px;
  margin-inline: auto;
  padding-block: 1.5rem;
}

.project-detail__intro {
  font-family: "Work Sans", sans-serif;
  font-size: 1em;
}

.project-detail__embed {
  display: block;
  width: 100%;
  max-width: 100%;
}

.project-detail__logo {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}
