@charset "UTF-8";
.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #1D2B18;
  color: #f6f2e9;
  font-family: "Fraunces", serif;
}
.project-card img {
  display: block;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16/9;
}
.project-card__img--cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.project-card__img--contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.project-card h4 {
  margin: 0 0 0.5rem;
  padding-top: 0;
  font-size: 1.4em;
  letter-spacing: normal;
}
.project-card p {
  margin: 0 0 1rem;
  line-height: 1.6;
}
.project-card a {
  background-color: #dce6d3;
  padding: 1em;
  border-radius: 1.5em;
  text-decoration: none;
  text-align: center;
  color: #1D2B18;
  font-family: "Fraunces", serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  margin-left: 2em;
  display: inline-block;
  align-self: flex-start;
  margin: auto 0 0;
  font-size: 1em;
}
.project-card a:hover {
  filter: brightness(0.92);
}
.project-card a:focus-visible {
  outline: 3px solid #f6f2e9;
  outline-offset: 3px;
}
.project-card__toggle {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.project-card__toggle:hover {
  text-decoration-thickness: 2px;
}
.project-card__toggle:focus-visible {
  outline: 3px solid #f6f2e9;
  outline-offset: 3px;
}
.project-card__process {
  margin: 0 0 1rem;
}
.project-card__process ol {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}
.project-card__process li + li {
  margin-top: 0.5rem;
}

.project-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.25rem 1.25rem;
}

.project-card__details {
  font-size: 0.9em;
  opacity: 0.85;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

header {
  background-color: #1D2B18;
  display: flex;
  justify-content: space-around;
  height: 10em;
  position: sticky;
  top: 0;
  z-index: 10;
}
header h1 {
  color: #f6f2e9;
  font-family: Nothing You Could Do, sans-serif;
  font-size: 2em;
  margin: auto;
  letter-spacing: 0.4em;
}
header nav {
  margin: auto;
}
header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2em;
}
header nav ul li a {
  text-decoration: none;
  color: #f6f2e9;
  font-family: "Fraunces", serif;
  font-size: 1.5em;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
header nav ul li a[aria-current=location] {
  border-bottom-color: #f6f2e9;
}

p {
  color: #f6f2e9;
  font-family: "Fraunces", serif;
  font-size: 1.5em;
  margin-bottom: 2em;
}

.btn {
  background-color: #dce6d3;
  padding: 1em;
  border-radius: 1.5em;
  text-decoration: none;
  text-align: center;
  color: #1D2B18;
  font-family: "Fraunces", serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  margin-left: 2em;
}

h3 {
  color: #f6f2e9;
  font-family: "Fraunces", serif;
  font-size: 3em;
  padding: 0.5em 0;
}

h4 {
  color: #f6f2e9;
  font-family: "Fraunces", serif;
  font-size: 2em;
  padding-top: 1em;
  letter-spacing: 0.1em;
}

/*---------------- Sektion 1 ----------------*/
.section1 {
  max-width: 100%;
  min-height: 10em;
  padding-bottom: 4em;
  background-color: #1D2B18;
  display: flex;
  flex-direction: row;
}

.text-box {
  margin-left: 5em;
}
.text-box h2 {
  color: #f6f2e9;
  font-family: "Fraunces", serif;
  font-size: 5em;
  padding-top: 1em;
}
.text-box .subheading {
  font-size: 2em;
  opacity: 70%;
  padding-top: 0.5em;
}
.text-box .quote {
  margin-top: 4em;
  font-size: 1.5em;
  letter-spacing: 0.05em;
  font-family: "Fuzzy Bubbles";
}

.image-box {
  margin-left: 5em;
  padding: 1.5em;
  margin-top: 2em;
  background-color: #374733;
  border-radius: 4em;
}
.image-box img {
  display: block;
  margin: 0 auto;
  width: 12em;
  height: auto;
  border-radius: 4em;
}
.image-box .subheading {
  font-size: 2em;
  padding: 0.5em;
}
.image-box p {
  text-align: center;
  font-size: 1.2em;
  padding-top: 0.5em;
}

/*---------------- Sektion 2 ----------------*/
.section2 {
  width: 100%;
  min-height: 10em;
  padding: 4em;
  background-color: #374733;
  display: flex;
  flex-direction: row;
}
.section2 .text-box {
  min-width: 40%;
}
.section2 .description-box {
  margin: 2em;
  line-height: 2.4em;
  padding-right: 6em;
}

/*---------------- Sektion 3 ----------------*/
#kompetencer {
  display: flex;
  flex-direction: column;
}
#kompetencer .section-intro {
  padding-top: 2em;
}
#kompetencer .section-intro,
#kompetencer .skills-container {
  text-align: center;
}

.skills-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.skills-container .skills-box {
  width: 30%;
  padding: 1.5em;
  margin-top: 2em;
  background-color: #374733;
  border-radius: 4em;
}
.skills-container .skills-box h4 {
  padding-bottom: 2em;
}
.skills-container .skills-box .skills-list {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2em;
}
.skills-container .tool-box {
  width: 30%;
  margin-top: 2em;
}

/*---------------- Sektion 4 ----------------*/
#projekter {
  flex-direction: column;
}

/*---------------- Footer ----------------*/
.footer {
  display: block;
  padding: 3rem 1.5rem;
  color: #f6f2e9;
}
.footer__inner {
  max-width: 70rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6rem;
  align-items: start;
}
.footer__quote {
  font-family: "Fuzzy Bubbles";
  font-size: 1.5em;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0 0 1.5rem;
  line-height: 1.8em;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  font-size: 1.3rem;
}
.footer__list--inline {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.footer__contact {
  font-style: normal;
}
.footer__contact a {
  background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat;
  transition: background-size 0.25s ease;
}
.footer__contact a:hover, .footer__contact a:focus-visible {
  background-size: 100% 1px;
}
.footer__links a {
  font-size: 3rem;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.footer a:focus-visible {
  outline: 2px solid;
  outline-offset: 4px;
}

/*==================== Lille desktop / tablet liggende ====================*/
@media (max-width: 1024px) {
  /* Hero */
  .text-box {
    margin-left: 3em;
  }
  .text-box h2 {
    font-size: 4em;
  }
  .image-box {
    margin-left: 3em;
  }
  /* Om mig + Projekter */
  .section2 {
    padding: 3em;
  }
  .section2 .description-box {
    padding-right: 2em;
  }
  /* Projekt kortene */
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }
}
/*==================== Tablet ====================*/
@media (max-width: 768px) {
  /* Header */
  header {
    height: auto;
    flex-direction: column;
    gap: 1em;
    padding: 1.25em 1em;
  }
  header h1 {
    margin: 0;
    font-size: 1.5em;
    letter-spacing: 0.2em;
    text-align: center;
  }
  header nav {
    margin: 0;
  }
  header nav ul {
    flex-wrap: wrap;
    gap: 0.5em 1.25em;
  }
  header nav ul li a {
    font-size: 1.1em;
  }
  /* Generel tekst */
  p {
    font-size: 1.25em;
    margin-bottom: 1.25em;
  }
  h3 {
    font-size: 2.2em;
  }
  h4 {
    font-size: 1.6em;
  }
  /* Knapper */
  .btn {
    display: inline-block;
    margin: 0 1em 1em 0;
  }
  /* Hero */
  .section1 {
    flex-direction: column;
  }
  .section1 .text-box {
    margin: 0 2em;
  }
  .text-box h2 {
    font-size: 3em;
    padding-top: 0.75em;
  }
  .text-box .subheading {
    font-size: 1.4em;
  }
  .text-box .quote {
    margin-top: 2em;
    font-size: 1.25em;
  }
  .image-box {
    margin: 1em 2em 0;
    border-radius: 2em;
  }
  .image-box .subheading {
    font-size: 1.5em;
  }
  /* Om mig + Projekter */
  .section2 {
    flex-direction: column;
    padding: 2em;
  }
  .section2 .text-box {
    min-width: 0;
    margin-left: 0;
  }
  .section2 .description-box {
    margin: 1em 0 0;
    padding-right: 0;
    line-height: 1.8;
  }
  /* Kompetencer */
  #kompetencer {
    padding: 0 1.25em 3em;
  }
  .skills-container {
    flex-direction: column;
  }
  .skills-container .skills-box,
  .skills-container .tool-box {
    width: 100%;
  }
  .skills-container .skills-box {
    border-radius: 2em;
  }
  /* Projekt kortene */
  .projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer__contact {
    text-align: center;
  }
}
/*==================== Mobil ====================*/
@media (max-width: 425px) {
  /* Header */
  header h1 {
    font-size: 1.2em;
    letter-spacing: 0.15em;
  }
  header nav ul li a {
    font-size: 1em;
  }
  /* Generel tekst */
  p {
    font-size: 1.1em;
  }
  h3 {
    font-size: 1.8em;
  }
  h4 {
    font-size: 1.4em;
  }
  /* Knapper */
  .btn {
    display: block;
    margin: 0 0 1em;
  }
  /* Hero */
  .section1 .text-box {
    margin: 0 1.25em;
  }
  .text-box h2 {
    font-size: 2.4em;
  }
  .text-box .subheading {
    font-size: 1.2em;
  }
  .text-box .quote {
    font-size: 1.1em;
  }
  .image-box {
    margin: 1em 1.25em 0;
    padding: 1em;
  }
  /* Om mig + Projekter */
  .section2 {
    padding: 1.25em;
  }
  /* Projekt kortene */
  .projects {
    grid-template-columns: 1fr;
  }
}
/*==================== Reduceret bevægelse ====================*/
@media (prefers-reduced-motion: reduce) {
  .footer__contact a {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}/*# sourceMappingURL=style.css.map */