@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap");
::selection {
  background-color: #f6e204;
  color: #000;
}

html[class=dark_theme] {
  background: #28292b;
  color: #b8c7d5;
}
html[class=dark_theme] header {
  background-color: rgba(25, 26, 29, 0.6784313725);
}
html[class=dark_theme] h1 {
  color: #fff;
}
html[class=dark_theme] h2, html[class=dark_theme] h3, html[class=dark_theme] h4, html[class=dark_theme] h5, html[class=dark_theme] h6 {
  color: #fff;
}
html[class=dark_theme] a {
  color: #a7f3ff;
}
html[class=dark_theme] a:hover {
  color: #fff;
}
html[class=dark_theme] .hero-menu-div {
  background-color: rgba(25, 26, 29, 0.6784313725);
  border: 3px solid transparent;
  display: flex;
  font-weight: 600;
  padding: 1.8rem 2.5rem;
  margin: 2rem 1rem;
  border-radius: 0.5rem;
}
html[class=dark_theme] .hero-link-text span {
  color: #b8c7d5;
}
html[class=dark_theme] .hero-icon svg {
  width: 50px;
  vertical-align: middle;
  margin: 0 1.2rem 0 0;
  fill: #b8c7d5;
}
html[class=dark_theme] .project-gallery img {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3294117647);
}
html[class=dark_theme] #profile-grid {
  background-color: rgba(25, 26, 29, 0.6784313725);
  border-bottom: 10px solid rgba(96, 96, 96, 0.1294117647);
}
html[class=dark_theme] #profile-grid a {
  color: #44486b;
}
html[class=dark_theme] #profile-grid h2, html[class=dark_theme] #profile-grid h3 {
  color: #333;
}
html[class=dark_theme] #work-tools li a, html[class=dark_theme] #work-tools li {
  color: #a7f3ff;
  background-color: #3e3e45;
  box-shadow: none;
}
html[class=dark_theme] .work-div {
  background-color: rgba(34, 34, 34, 0.9294117647);
  border: 1px solid rgba(74, 74, 74, 0.54);
}
html[class=dark_theme] .work-div h3 {
  color: #f5f5f5;
}
html[class=dark_theme] .tags li {
  background-color: #30313b;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3294117647);
}
html[class=dark_theme] .tags li a, html[class=dark_theme] .tags li {
  color: #a7f3ff;
}
html[class=dark_theme] .tags li:hover, html[class=dark_theme] .tags li:hover a {
  rotate: 3deg;
  background-color: #e0f6ff;
  color: #000;
}
html[class=dark_theme] .under-h1 {
  color: #b8c7d5;
}
html[class=dark_theme] .tooltip .tooltiptext {
  background-color: rgba(25, 26, 29, 0.6784313725);
  color: #fff;
}
html[class=dark_theme] footer {
  background-color: rgba(25, 26, 29, 0.6784313725);
  color: #b8c7d5;
}
html[class=dark_theme] .github svg, html[class=dark_theme] .linkedin svg {
  fill: #000000;
}
@media only screen and (max-width: 600px) {
  html[class=dark_theme] .sticky {
    background-color: rgba(25, 26, 29, 0.6784313725);
    border-top: 2px solid #333;
  }
}
html[class=dark_theme] svg {
  fill: #fff;
}
html[class=dark_theme] button {
  background-color: #44486b;
}

@font-face {
  font-family: "Graphik";
  src: url("../fonts/graphik/Graphik-Medium.eot") format("embedded-opentype"), url("../fonts/graphik/Graphik-Medium.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: url("../fonts/graphik-Regular.eot") format("embedded-opentype"), url("../fonts/graphik/Graphik-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: url("../fonts/graphik-Light.eot") format("embedded-opentype"), url("../fonts/graphik/Graphik-Light.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}

html {
  background: #f5f5f5;
  font-size: 1rem;
  font-family: Graphik, "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: #444;
  margin: 0 auto;
}

body {
  margin: 0;
}

header {
  width: 100%;
  top: 0;
  position: sticky;
  background-color: rgba(255, 255, 255, 0.9333333333);
  padding: 20px 5%;
  display: flex;
  z-index: 1;
}

header .logo {
  font-size: 20px;
  font-weight: 500;
  padding-top: 5px;
  font-family: Inter;
}

header .theme-switcher {
  margin-left: auto;
  order: 2;
}

main {
  padding: 0;
  margin: 0 auto;
}

#side-nav {
  display: none;
}

.side-nav-title,
.side-nav-subtitle {
  margin: 0;
  font-family: Inter;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5e6278;
}

.side-nav-main,
.side-nav-subnav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav-main {
  margin-top: 0.9rem;
}

.side-nav-main li,
.side-nav-subnav li {
  margin-bottom: 0.2rem;
}

.side-nav-main a,
.side-nav-subnav a {
  display: block;
  font-weight: 500;
  color: #3e4668;
  padding: 0.45rem 0.65rem;
  border-radius: 0.45rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.side-nav-main a.active,
.side-nav-subnav a.active {
  color: #0017a2;
  background-color: #e7ecff;
}

.side-nav-subnav-wrapper {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d8dcec;
}

.side-nav-subnav {
  margin-top: 0.75rem;
}

.side-nav-subnav a {
  font-size: 0.9rem;
  padding-left: 0.8rem;
}

.side-nav-subnav-wrapper.hidden {
  display: none;
}

footer {
  text-align: center;
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.9333333333);
}

a {
  color: #0017a2;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #2a48ff;
  rotate: 1deg;
}

h2, h3, h4, h5, h6 {
  color: #202020;
  font-weight: 600;
}

h1 {
  text-align: center;
  font-size: 4rem;
  font-weight: 600;
  font-family: Inter;
  color: #111;
}

@keyframes rotation {
  50% {
    transform: rotate(6deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.under-h1 {
  margin: -1rem auto 0;
  text-align: center;
  color: #444;
  font-size: 1.3rem;
}

.hero-menu-div {
  background-color: #fff;
  border: 3px solid #0017a2;
  display: flex;
  font-weight: 600;
  padding: 1.8rem 2.5rem;
  margin: 2rem 1rem;
}

.hero-menu-div:hover {
  background-color: #0017a2;
  display: flex;
  rotate: 0deg;
}

.hero-menu-div:hover svg {
  fill: #fff;
}

.hero-menu-div:hover .hero-link-text, .hero-menu-div:hover .hero-link-text span {
  color: #fff;
}

.hero-icon svg {
  width: 50px;
  vertical-align: middle;
  margin: 0 1.2rem 0 0;
  fill: #0017a2;
}

.hero-link-text {
  flex: 1;
  margin-top: 0.3rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-link-text span {
  color: #666;
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.6rem;
}

article {
  padding-bottom: 3rem;
}

article p, article ul {
  font-size: 1rem;
  line-height: 30px;
  margin: 1rem auto;
  width: 640px;
}

article h2, article h3, article h4, article h5, article h6 {
  margin: 2rem auto 1rem;
  width: 640px;
}

article button {
  margin: 0 auto;
  max-width: 640px;
}

h2 {
  font-size: 2.2rem;
  margin-top: 5rem;
}

h3 {
  font-size: 1.4rem;
}

.text-center {
  text-align: center;
}

.sticky {
  display: block;
  position: sticky;
  top: 0;
  padding-top: 1rem;
  width: unset;
  text-align: center;
  font-weight: 800;
  font-size: 1.8rem;
  z-index: 2;
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

section {
  margin: 7rem 0;
}

#hero-section {
  max-width: 700px;
  margin: 5rem auto 5rem;
  font-size: 1.1rem;
}

#profile-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2.3rem;
  padding: 10rem 3rem 10rem 3rem;
  background-color: #e3f6ff;
  border-bottom: 10px solid rgba(96, 96, 96, 0.1294117647);
  border-radius: 0.5rem 0.5rem 1rem 1rem;
  line-height: 1.5;
}

#profile-grid div img {
  margin-bottom: 1rem;
}

#profile-grid a {
  color: #0017a2;
}

#profile-grid h2, .profile-grid h3 {
  color: #333;
  margin-bottom: 1.5rem;
}

#profile-grid div {
  border-radius: 2rem;
  background-color: #fff;
  padding: 2.25rem;
  list-style: none;
  color: #333;
  box-shadow: 5px 5px 18px -15px;
  line-height: 1.5;
  font-size: 1rem;
}

#profile-grid div:hover {
  box-shadow: 5px 5px 18px -10px;
}

.item1 {
  background-image: url("./../img/jesper-ekerling-profile-picture.webp");
  background-size: cover;
}

.item1:hover {
  transform: scale(1.1);
  transition: 0.5s;
}

.item2 {
  grid-column-start: 2;
  grid-column-end: 4;
  line-height: 2;
}
.item2 h2 {
  font-size: 1.8rem;
  margin-top: 0;
  font-weight: bold;
}

.item5 h3 {
  margin-top: 0;
}

strong {
  font-weight: 600;
}

small {
  color: #444;
}

button {
  padding: 1.1rem 3rem;
  background-color: #0017a2;
  border: 0;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}

button a, a button {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

button:hover, button a:hover {
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.divider {
  padding: 5rem 0;
}

.divider hr {
  max-width: 70px;
  border: 4px solid #b8c7d5;
  border-radius: 13px;
}

#projects h3 {
  font-size: 2rem;
  padding-top: 5rem;
}

.project-gallery {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.project-gallery a:hover {
  display: inline-block;
}

.project-gallery img {
  width: 300px;
  display: inline-block;
  aspect-ratio: 1/1;
  height: unset;
  border-radius: 0.4rem;
  object-position: top;
  margin: 1rem;
  box-shadow: 2px 2px 2px #eee;
}
.project-gallery img:hover {
  opacity: 0.7;
  padding: 0;
  transition: 0.2s ease-in-out;
  rotate: 1deg;
}

h4 a {
  text-decoration: underline;
}

.svg {
  vertical-align: middle;
  fill: #111;
  text-align: center;
}

.svg svg {
  width: 60px;
}

svg {
  vertical-align: middle;
  fill: #111;
  margin: 2rem;
}

.switch-button {
  text-align: center;
  margin: 0 auto;
}

.example-image {
  object-fit: cover;
}

.work-div {
  background-color: #fff;
  border-radius: 5px;
  padding: 4em;
  margin: 5rem auto;
  max-width: 640px;
  display: block;
}

.work-div svg {
  padding-bottom: 1.5rem;
  margin: 0;
  max-width: 170px;
  max-height: 80px;
  text-align: center;
}

.work-div span {
  width: 30%;
  display: inline-block;
  font-weight: bold;
}

.work-div h3, .work-div h4, .work-div details {
  padding: 2rem 0 0;
  margin: 0;
  font-weight: boldM;
}

.work-div .url, .work-div h4 {
  padding-bottom: 1.5rem;
}

.work-div p {
  width: auto;
}

.work-div .project-img {
  width: 3rem;
  height: 3rem;
}

.tags ul {
  padding: 0 0 0 0.1rem;
  margin: 0 auto 3rem;
}

.tags li {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.3rem 0.3rem 0.4rem 0.3rem;
  background-color: #fff;
  border-radius: 0.4rem;
  font-size: 85%;
  white-space: nowrap;
  color: #0017a2;
  box-shadow: 2px 2px 2px #eee;
  font-weight: 600;
}

.tags li a {
  color: #0017a2;
}

.tags li:hover {
  rotate: 3deg;
  background-color: #e0f6ff;
}

.tags li:hover a {
  rotate: 3deg;
  color: #000;
}

.tags li svg, .tags li img {
  width: 1rem;
  height: 1rem;
  margin: 0;
  vertical-align: sub;
  padding-right: 0.15rem;
}

.linkedin, .linkedin a {
  background-color: #fff !important;
}

.linkedin a {
  color: #000000 !important;
}

.linkedin svg {
  fill: #000000;
}

.github, .github a {
  background-color: #fff !important;
}

.github a {
  color: #000000 !important;
  width: 50%;
}

.github svg {
  fill: #000000;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 32px;
  width: 32px;
  left: 0px;
  bottom: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  box-shadow: 0 0px 15px rgba(32, 32, 32, 0.2392156863);
  background: white url("../img/icons/night.png");
  background-repeat: no-repeat;
  background-position: center;
}

input:checked + .slider {
  background-color: #0017a2;
}

input:focus + .slider {
  box-shadow: 0 0 1px #0017a2;
}

input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
  background: white url("../img/icons/sunny.png");
  background-repeat: no-repeat;
  background-position: center;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.tooltip {
  position: relative;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #28292b;
  color: #fff;
  text-align: center;
  border-radius: 1rem;
  padding: 1rem;
  position: absolute;
  z-index: 1;
  bottom: 85%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 90%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #28292b transparent transparent transparent;
}

.tooltip img {
  transition: all 1s ease-in-out;
}

.tooltip:hover img {
  transform: rotate(360deg);
}

.text-left {
  text-align: left !important;
}

::selection {
  background-color: #f6e204;
  color: #000;
}

html[class=dark_theme] {
  background: #28292b;
  color: #b8c7d5;
}

html[class=dark_theme] header {
  background-color: rgba(25, 26, 29, 0.6784313725);
}

html[class=dark_theme] h1 {
  color: #fff;
}

html[class=dark_theme] h2, html[class=dark_theme] h3, html[class=dark_theme] h4, html[class=dark_theme] h5, html[class=dark_theme] h6 {
  color: #fff;
}

html[class=dark_theme] a {
  color: #a7f3ff;
}

html[class=dark_theme] a:hover {
  color: #fff;
}

html[class=dark_theme] .hero-menu-div {
  background-color: rgba(25, 26, 29, 0.6784313725);
  border: 3px solid transparent;
  display: flex;
  font-weight: 600;
  padding: 1.8rem 2.5rem;
  margin: 2rem 1rem;
  border-radius: 0.5rem;
}

html[class=dark_theme] .hero-link-text span {
  color: #b8c7d5;
}

html[class=dark_theme] .hero-icon svg {
  width: 50px;
  vertical-align: middle;
  margin: 0 1.2rem 0 0;
  fill: #b8c7d5;
}

html[class=dark_theme] .project-gallery img {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3294117647);
}

html[class=dark_theme] #profile-grid {
  background-color: rgba(25, 26, 29, 0.6784313725);
  border-bottom: 10px solid rgba(96, 96, 96, 0.1294117647);
}

html[class=dark_theme] #profile-grid a {
  color: #44486b;
}

html[class=dark_theme] #profile-grid h2, html[class=dark_theme] #profile-grid h3 {
  color: #333;
}

html[class=dark_theme] #work-tools li a, html[class=dark_theme] #work-tools li {
  color: #a7f3ff;
  background-color: #3e3e45;
  box-shadow: none;
}

html[class=dark_theme] .work-div {
  background-color: rgba(34, 34, 34, 0.9294117647);
  border: 1px solid rgba(74, 74, 74, 0.54);
}

html[class=dark_theme] .work-div h3 {
  color: #f5f5f5;
}

html[class=dark_theme] .tags li {
  background-color: #30313b;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3294117647);
}

html[class=dark_theme] .tags li a, html[class=dark_theme] .tags li {
  color: #a7f3ff;
}

html[class=dark_theme] .tags li:hover, html[class=dark_theme] .tags li:hover a {
  rotate: 3deg;
  background-color: #e0f6ff;
  color: #000;
}

html[class=dark_theme] .under-h1 {
  color: #b8c7d5;
}

html[class=dark_theme] .tooltip .tooltiptext {
  background-color: rgba(25, 26, 29, 0.6784313725);
  color: #fff;
}

html[class=dark_theme] footer {
  background-color: rgba(25, 26, 29, 0.6784313725);
  color: #b8c7d5;
}

html[class=dark_theme] .github svg, html[class=dark_theme] .linkedin svg {
  fill: #000000;
}

@media only screen and (max-width: 600px) {
  html[class=dark_theme] .sticky {
    background-color: rgba(25, 26, 29, 0.6784313725);
    border-top: 2px solid #333;
  }
}
html[class=dark_theme] svg {
  fill: #fff;
}

html[class=dark_theme] button {
  background-color: #44486b;
}

html[class=dark_theme] #side-nav {
  background-color: rgba(25, 26, 29, 0.82);
  border-color: rgba(138, 146, 173, 0.22);
}

html[class=dark_theme] .side-nav-title,
html[class=dark_theme] .side-nav-subtitle {
  color: #9fa8c7;
}

html[class=dark_theme] .side-nav-main a,
html[class=dark_theme] .side-nav-subnav a {
  color: #c8ddff;
}

html[class=dark_theme] .side-nav-main a.active,
html[class=dark_theme] .side-nav-subnav a.active {
  color: #ffffff;
  background-color: #384067;
}

html[class=dark_theme] .side-nav-subnav-wrapper {
  border-top-color: rgba(138, 146, 173, 0.2);
}

@media only screen and (min-width: 1200px) {
  .has-side-nav #side-nav {
    display: block;
    position: fixed;
    left: 1.4rem;
    top: 6rem;
    width: 240px;
    z-index: 3;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #dce0f2;
  }
  .has-side-nav main {
    max-width: 1500px;
    padding-left: 270px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  header {
    padding: 20px 8%;
  }
  header .logo {
    padding-top: 0;
  }
  #hero-section {
    max-width: 100%;
  }
  .hero-menu-div {
    margin: 8%;
  }
  #profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem;
    line-height: 1.5;
  }
  #profile-grid div {
    grid-column: 1;
    width: 100%;
    padding: 1.5rem !important;
    border-radius: 1.3rem !important;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  button {
    padding: 1.1rem 2rem;
  }
  .under-h1 {
    margin: 0 auto;
  }
  .item1 {
    min-height: 250px;
  }
  .item2 {
    grid-column-start: 2;
    grid-column-end: 3;
  }
  .project-gallery {
    margin-left: unset;
  }
  .project-gallery img {
    width: 90%;
  }
  #profile-section {
    max-width: 100%;
    margin: 5rem auto 15rem;
    font-size: 1.1rem;
  }
  article p, article ul {
    width: 100%;
    padding: 0.5rem 2rem;
    line-height: 25px;
    font-size: 0.9rem;
  }
  article ul, .tags ul {
    padding-left: 1.5rem;
  }
  article h2, article h3, article h4, article h5, article h6 {
    width: 100%;
    padding: 0.5rem 2rem 0;
  }
  .sticky {
    top: 0;
    padding: 1rem 0 1rem 0;
    text-align: center;
    top: 3.9rem;
    background-color: rgba(255, 255, 255, 0.9333333333);
    font-weight: 600;
    font-family: Inter;
    border-top: 1px solid #eee;
    margin-bottom: 3rem;
    font-size: 1.2rem;
  }
  .work-div {
    padding: 2rem;
    margin: 8%;
  }
  .work-div p {
    padding: 0;
  }
  .work-div span {
    width: 80%;
    display: block;
    font-weight: bold;
  }
}

/*# sourceMappingURL=styles.css.map */
