@charset "UTF-8";
/* Variabler vi kan kalde på, i scss'en */
/* importerer variabler og mixins fra partial.scss */
/* Variabler vi kan kalde på, i scss'en */
h1, header a {
  font-family: "polymath-display", sans-serif;
}

header {
  display: flex;
  width: 100%;
  height: 120px;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  position: fixed;
  top: 0;
  z-index: 10;
  transition: 0.3s;
}
header #desktop-nav {
  justify-items: end;
}
header #desktop-nav ul {
  list-style-type: none;
}
header #desktop-nav ul li {
  display: inline;
  margin-right: 30px;
}
header #desktop-nav ul li a {
  padding: 10px;
  border-radius: 1rem;
}
header #menu {
  display: none;
  font-size: 32px;
  z-index: 9;
  padding: 3px 5px;
  border-radius: 5px;
  transition: 0.3s;
}
header #mobile-nav {
  position: fixed;
  top: -100svh;
  left: 0;
  height: calc(100svh - 80px);
  width: 100vw;
  margin-top: 80px;
  transition: 0.2s;
  justify-content: center;
  z-index: 5;
}
header #mobile-nav ul {
  list-style-type: none;
  margin-top: 80px;
  padding: 0;
}
header #mobile-nav ul li {
  margin-bottom: 30px;
  text-align: center;
}
header a {
  transition: 0.3s;
  z-index: 9;
  padding: 5px;
  border-radius: 1rem;
  opacity: 0.5;
}
header a:hover {
  opacity: 1;
  transition: 0.5s;
}
header h1 {
  font-size: 32px;
}
header .h1pdf h1 {
  color: #FFEFC7;
}

/* Variabler vi kan kalde på, i scss'en */
@media (prefers-color-scheme: light) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(253, 249, 239, 0.2), rgba(253, 249, 239, 0.5)), url("../img/bg portfolio 2 light mode.png") center/cover no-repeat;
  }
  body {
    background-color: #FDF9EF;
  }
  h1, header a, .skills-page h3 {
    color: #111919;
  }
  .project-card {
    background-color: green;
    border: 1px solid #111919;
  }
  .project-card h4, .project-card p {
    color: white;
  }
  .project-card .project-preview {
    border-bottom: 1px solid #111919;
  }
  .project-card .project-title {
    color: white;
  }
  .project-card .project-link {
    background-color: #FDF9EF;
    color: #111919;
  }
  .project-card .project-link:hover {
    background-color: #FFEFC7;
    color: #111919;
  }
  .project-card button {
    background-color: #111919;
    color: white;
  }
  .project-card button:hover {
    background-color: #FFEFC7;
    color: #111919;
  }
  .arrowdown {
    background-color: #FDF9EF;
  }
  .skills-card {
    background-color: #111919;
  }
  .skills-card h4, .skills-card p {
    color: #FDF9EF;
  }
  .info-tap {
    background-color: #111919;
  }
  .info-tap h4, .info-tap p, .info-tap i {
    color: white;
  }
  p {
    color: green;
  }
  nav h2, nav a, .gridbox h2, .gridbox a {
    color: #111919;
    transition: 0.5s;
  }
  nav a:hover, .gridbox a:hover {
    color: green;
    transition: 0.5s;
  }
  nav ul li a h2:hover, .gridbox ul li a h2:hover {
    color: green;
    transition: 0.5s;
  }
  .gridbox, .projects-page, .skills-page {
    background-color: rgba(253, 249, 239, 0.6);
  }
  #mobile-nav {
    background-color: #FDF9EF;
  }
  .img-theme {
    content: url("../img/drawing.png");
  }
}
/* Variabler vi kan kalde på, i scss'en */
@media (prefers-color-scheme: dark) {
  body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 51, 0, 0.5), rgba(0, 128, 0, 0.8)), url("../img/bg portfolio 2.png") center/cover no-repeat;
  }
  body {
    background-color: #005C00;
  }
  h1, h2, h3, p, a, header i {
    color: white;
  }
  .project-card {
    background-color: #111919;
  }
  .project-card h4, .project-card p {
    color: #FDF9EF;
  }
  .project-card .project-preview {
    border-bottom: 1px solid #FDF9EF;
  }
  .project-card .project-link {
    background-color: #005C00;
    border: 1px solid #FDF9EF;
  }
  .project-card .project-link:hover {
    background-color: #FFEFC7;
    color: #111919;
  }
  .project-card button {
    color: #111919;
    background-color: #FDF9EF;
  }
  .project-card button:hover {
    background-color: #FFEFC7;
    color: #111919;
  }
  .arrowdown {
    background-color: green;
    color: #FDF9EF;
  }
  .skills-page h3 {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  }
  .skills-card {
    background-color: #FDF9EF;
  }
  .skills-card h4, .skills-card p {
    color: #111919;
  }
  .info-tap {
    background-color: #FDF9EF;
    border: 2px solid #111919;
  }
  .info-tap h4, .info-tap p, .info-tap i {
    color: #111919;
  }
  nav h2, nav a, .gridbox h2, .gridbox a {
    transition: 0.5s;
  }
  nav a:hover, .gridbox a:hover {
    color: #FFEFC7;
    transition: 0.5s;
  }
  nav section p, .gridbox section p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  }
  nav ul li a h2:hover, .gridbox ul li a h2:hover {
    color: #FFEFC7;
    transition: 0.5s;
  }
  #mobile-nav {
    background-color: #005C00;
  }
  .img-theme {
    content: url("../img/drawing2.png");
  }
}
/* Variabler vi kan kalde på, i scss'en */
.projects-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  padding: 25px 30px 40px 30px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  width: auto;
}

.page-title {
  margin: 140px 50px 0px 50px;
}

.project-box {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "card";
  height: auto;
  transform: scale(1);
  transition: 0.3s;
}
.project-box.box-open {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "card info";
}
.project-box .project-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  transition: 0.3s;
  z-index: 2;
  grid-area: card;
}
.project-box .project-card .project-preview {
  width: 100%;
  height: auto;
  border-radius: 1rem 1rem 0 0;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  filter: grayscale(25%);
}
.project-box .project-card .project-text {
  display: flex;
  flex-direction: column;
  margin: 15px 10px;
  height: 100%;
}
.project-box .project-card .project-text h3 {
  margin: 10px 5px;
}
.project-box .project-card .project-text p {
  margin: 10px 5px 25px 5px;
}
.project-box .project-card .project-text .project-link {
  text-align: center;
  border-radius: 5px;
  font-size: 1.2em;
  padding: 10px;
  width: 80%;
  margin-top: auto;
  align-self: center;
}
.project-box .project-card .project-text .project-link:hover {
  transition: 0.3s;
  box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.2);
}
.project-box .project-card .project-text .more-info {
  justify-self: center;
  align-self: center;
  margin: 20px 5px 5px 5px;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  transition: 0.5s;
  cursor: pointer;
}
.project-box .project-card .project-text .more-info:hover {
  transition: 0.5s;
  transform: scale(1.05);
}
.project-box .info-tap {
  display: none;
  flex-direction: column;
  position: relative;
  right: 15px;
  height: auto;
  width: auto;
  justify-content: space-between;
  padding: 30px 20px 40px 35px;
  border-radius: 0 1rem 1rem 0;
  grid-area: info;
}
.project-box .info-tap .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.3em;
  cursor: pointer;
}
.project-box .info-tap h4 {
  margin-bottom: 5px;
}
.project-box .info-tap p {
  margin-bottom: 15px;
}

.project-box:hover {
  transform: scale(1.02);
  transition: 0.3s;
}

/* Variabler vi kan kalde på, i scss'en */
.gridbox {
  display: grid;
  width: 100vw;
  height: 100svh;
  grid-template-columns: 2fr 1fr;
  grid-template-areas: "text drawing";
}
.gridbox section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 5svw;
  grid-area: text;
}
.gridbox section h3 {
  font-size: 3em;
  margin-top: 100px;
  padding-bottom: 10px;
}
.gridbox section p {
  font-size: 1.5em;
  margin-top: 25px;
}
.gridbox img {
  grid-area: drawing;
  width: 50%;
  justify-self: center;
  align-self: center;
}
.gridbox div {
  margin: 40px 0 40px 0;
}
.gridbox div a {
  margin-right: 40px;
  font-weight: 700;
}

/* Variabler vi kan kalde på, i scss'en */
* {
  box-sizing: border-box;
  margin: 0;
  font-family: "Gabarito", sans-serif;
  line-height: 1.2;
  scroll-behavior: smooth;
}

h2 {
  font-weight: 700;
  font-size: 64px;
  width: -moz-fit-content;
  width: fit-content;
  text-decoration: none;
  text-underline-offset: 1px;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
main nav {
  display: grid;
  width: 100vw;
  height: 100svh;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text buttons";
  justify-items: center;
  align-items: center;
  gap: 80px;
}
main nav ul {
  list-style-type: none;
}
main nav ul .area {
  grid-area: buttons;
}
main nav ul p {
  font-size: 1.2em;
  font-weight: 300;
  margin-bottom: 20px;
}
main nav ul li {
  margin-bottom: 20px;
}
main nav ul a h2:hover {
  -webkit-text-decoration: underline 3px;
          text-decoration: underline 3px;
  text-underline-offset: 5px;
}
main nav .intro {
  padding-left: 80px;
  grid-area: text;
}
main nav .intro p {
  font-size: 1.5em;
  font-weight: 300;
  width: 80%;
}
main nav .intro p:not(:last-of-type), main nav .intro p:first-of-type {
  margin-bottom: 20px;
}
main .arrowdown {
  position: fixed;
  bottom: 25px;
  left: 50%;
  padding: 10px 15px;
  z-index: 5;
  border-radius: 2rem;
}
main .arrowdown i {
  font-size: 1.5em;
}

a {
  font-size: 1.5em;
  text-decoration: none;
  transition: 0.5s;
  font-weight: 400;
}

.pdf-fullscreen {
  width: 100vw;
  height: 100svh;
}

.skills-page {
  padding-bottom: 30px;
}
.skills-page h3 {
  margin: 40px 40px 0 40px;
  font-size: 1.3em;
}

.skills-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  padding: 25px 30px 40px 30px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.skills-grid .skills-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  transition: 0.3s;
  z-index: 1;
  width: auto;
  padding: 15px 20px;
}
.skills-grid .skills-card p {
  opacity: 0.5;
  padding-top: 5px;
}

.project-card:hover, .skills-card:hover {
  box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.contact {
  display: flex;
  flex-direction: column;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.2em;
  padding: 10px 15px;
  position: fixed;
  bottom: 0;
  right: 5%;
  transition: 0.5s;
  border-radius: 1rem 1rem 0 0;
  color: white;
  background-color: #B11414;
  z-index: 10;
  border-bottom: none;
  text-decoration: underline;
  box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.2);
}

.pdf {
  left: 50%;
  transform: translateX(-50%);
}

.contact:hover {
  padding: 20px 20px 60px 20px;
  transition: 0.5s;
  font-size: 1.5em;
}

@media screen and (max-width: 799px) {
  header {
    height: 80px;
  }
  header #desktop-nav {
    display: none;
  }
  header #menu {
    display: flex;
  }
  header #mobile-nav {
    display: flex;
    right: -100vw;
  }
  header a {
    width: -moz-fit-content;
    width: fit-content;
    height: -moz-fit-content;
    height: fit-content;
    opacity: 1;
  }
  header a h1 {
    text-align: left;
    font-size: 16px;
  }
  main nav {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "text" "buttons";
    padding-top: 8px;
    row-gap: 20px;
    width: 100vw;
    padding-left: 0;
  }
  main nav .intro {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    padding-left: 0;
    align-items: center;
  }
  main nav h2 {
    font-size: 48px;
  }
  main nav .pc {
    align-self: center;
    margin-top: 60px;
    width: 85%;
  }
  main nav ul {
    padding: 0;
    margin: 0;
    align-self: flex-start;
  }
  main nav a {
    font-size: 1.2em;
  }
  main .arrowdown {
    bottom: 60px;
    transform: translateX(-50%);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
  }
  .skills-page h3 {
    margin: 20px 40px 0 40px;
    font-size: 1.2em;
  }
  .page-title {
    margin: 70px 45px 15px 45px;
  }
  .projects-page {
    height: 100vh;
  }
  .projects-page .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: 0 40px 70px 40px;
    row-gap: 30px;
  }
  .projects-page .projects-grid .project-box {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "card" "info";
    width: 100%;
  }
  .projects-page .projects-grid .project-box.box-open {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .projects-page .projects-grid .project-box .info-tap {
    right: 0;
    bottom: 0;
    bottom: 15px;
    border-radius: 0 0 1rem 1rem;
    padding: 40px 30px 20px 30px;
  }
  .projects-page .projects-grid .project-box .info-tap .close {
    top: 30px;
    right: 25px;
  }
  .contact {
    padding: 15px;
    margin-bottom: 5px;
    border-radius: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1em;
    opacity: 1;
    z-index: 3;
  }
  .contact:hover {
    padding: 15px;
  }
  .gridbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas: "text" "drawing";
  }
  .gridbox section h3 {
    padding-bottom: 5px;
    margin-top: 50px;
  }
  .gridbox section p {
    font-size: 1.2em;
    margin-top: 15px;
  }
  .gridbox img {
    display: none;
  }
}
@media screen and (max-width: 799px) and (prefers-color-scheme: light) {
  main nav {
    background-color: rgba(253, 249, 239, 0.6);
  }
}/*# sourceMappingURL=style.css.map */