html {
  scroll-behavior: smooth; /* Enable smooth scrolling for the entire document */
}
body {
  background: url("/img/space.jpg");
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  color: white;
  font-family: "Roboto", sans-serif;
  font-display: swap;
  line-height: 1.6;
}
header {
  background: linear-gradient(to right, #f7f7f751, #3333337c);
  /* margin-bottom: 30px; */
  padding: 4% 0;
  background: linear-gradient(to left, #00000075, #ff825438);
}
header label {
  font-size: 40px;
  color: white;
  float: right;
}
header label:hover {
  cursor: pointer;
}
header input[type="checkbox"]:checked ~ ul {
  display: block;
}
.wrapper {
  padding: 0 5%;
  width: 90%;
}
nav {
  display: block;
}
nav ul {
  padding: 0;
  display: none;
  margin: -4%;
  border-bottom: 2px solid #eee;
  margin-top: 20px;
}
nav li {
  display: inline-block;
  width: 100%;
  padding: 10px;
  border-top: 2px solid #eee;
  font-size: 20px;
}
nav li a {
  /* color: orange; */
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: 700;
}
.name {
  color: white;
  text-decoration: none;
  font-size: 32px;
  margin-top: 20px;
  font-weight: 500;
  width: 500px;
}

/* main */

.USPS {
  display: grid;
  grid-template-areas:
    "headshot"
    "title"
    "runner"
    "brain"
    "adventure";
  position: relative;
  overflow-x: hidden;
}
.USP {
  padding: 4%;
  align-self: center;
  z-index: 1;
  /* background: linear-gradient(to bottom, #ffffff42, #2f2f2f82); */
  padding: 20px 8% 65px;
}
.USP img {
  display: block;
  width: 90px;
  margin: auto;
}
.USP h2 {
  text-align: center;
  margin: 0 0 5px;
}

.headshot {
  grid-area: headshot;
  padding: 4%;
  background: none;
}
.title-wrapper {
  width: 100%;
  grid-area: title;
  display: flex;
}
.title {
  background: orangered;
  border-radius: 0 15px 15px 0;
  width: calc(72%);
  padding-left: 16%;
  margin-left: -8%;
  margin-bottom: 15px;
  display: inline-block;

  box-shadow: 8px 8px 0px #a42c00;
  background: #4929168c;
  box-shadow: -8px 8px 0px #ff450085;
}
.title h3 {
  margin-bottom: 5px;
}
.title p {
  margin-top: 5px;
}
.title-wrapper img {
  margin-top: 10px;
  margin-left: 5px;
  width: 120px;
  height: 120px;
  max-width: 20%;
  display: inline-block;
}
.headshot img {
  border-radius: 50px;
  width: 100%;
  /* border: orangered solid;
  border-width: 0 15px 15px 0;
  box-sizing: border-box; */
  width: 60%;
  margin: 0 auto;
  /* box-shadow: 8px 8px 0px #a42c00; */
}
.runner {
  grid-area: runner;
  padding: 35px 8% 50px;
}
.USP p {
  max-width: 320px;
  margin: 0 auto;
  text-align: justify;
}
.brain {
  grid-area: brain;
  background: #ff914d30;

  background: #ff914d24;
}
.adventure {
  grid-area: adventure;

  background: #ff914d30;
  background: #ff914d24;
}
.circle {
  width: 615px;
  height: 615px;
  background: #ff914d1f;
  border-radius: 100%;
  position: absolute;
  margin-top: 78vw;
  justify-self: center;

  margin-top: 105vw;
  margin-top: 102.5vw;
  background: #ff914d2b;
  margin-top: calc(82vw + 80px);
  width: 650px;
  height: 650px;
}

/* CV */

.CV {
  margin: 1%;
  padding: 15px;
  background: #ff7c3029;
  border-radius: 50px;
}
.cv-title {
  grid-area: cvtitle;
}
.cv-title h2 {
  font-size: 35px;
}
.cv-title h3 {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 2.5px;
  margin-top: -20px;
}
.cv-billede {
  grid-area: cvbillede;
  border-radius: 100%;
  overflow: hidden;
  width: 300px;
  height: 300px;
}
.cv-billede img {
  width: 100%;
}
.cv-kontakt {
  grid-area: cvkontakt;
}
.cv-uddannelse {
  grid-area: cvuddannelse;
}
.cv-skills {
  grid-area: cvskills;
}
.cv-resume {
  grid-area: cvresume;
}
.cv-experience {
  grid-area: cvexperience;
}
.gap {
  visibility: hidden; /* Hide the gap */
}
iframe {
  max-width: 100%;
  display: block;
}
.CV a {
  color: white;
}
.cv-kontakt div {
  display: flex;
  align-items: center; /* Center vertically */
}
.cv-kontakt img {
  width: 40px;
  padding-right: 10px;
}
footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(to right, #000, #291407);
  padding-top: 50px;
  flex-wrap: wrap;
}
footer button {
  border: 4px solid rgba(255, 68, 0, 0.725);
  width: 100%;
  padding: 25px 15px;
  background: #ff440085;
  color: #ffffffcb;
  font-weight: 700;
  font-size: 22px;
  border-radius: 50px;
}
footer button:hover {
  border: 4px solid orangered;
  background: #ff4400cb;
  color: #fff;
  cursor: pointer;
}
footer .del1,
footer .del3 {
  max-width: 150px;
  width: calc(100% - 40px);
  padding: 20px 100px;
}
footer h1 {
  text-align: center;
  font-size: 26px;
}
footer h1 a {
  padding: 20px 0;
}
footer .del3 {
  text-align: right;
}
footer a {
  display: inline-block;
  width: 100%;
  color: #fff;
}
footer .del2 p {
  text-align: center;
}
.fiskestang {
  position: absolute;
  top: 500px;
  right: 8%;
  width: 100px;
}
.rumraket {
  position: absolute;
  top: 1000px;
  left: 35%;
  width: 120px;
}
.copy {
  text-align: center;
  width: 100%;
}
@media only screen and (max-width: 1200px) {
  .other-videos {
    display: none;
  }
  .title {
    border-radius: 50px;
    width: 39%;
    margin-left: 22.5%;
    padding-top: 70vw;
    display: inline-block;
    background: #4929168c;
    box-shadow: -8px 8px 0px #ff450085;
    position: absolute;
    top: 3.8vw;
  }
  .title * {
    margin-left: calc(-60px + 8vw);
  }
  .video-wrapper {
    padding: 50px 5px;
    background: #c25128a5;
  }
  .infobox {
    padding: 0 20px;
  }
  .CV {
    margin: 0 auto;
  }
  .cv-wrap {
    width: 98%;
    padding: 1%;
  }
  .del1 {
    grid-area: del1;
    padding: 20px 20px !important;
  }
  .del2 {
    grid-area: del2;
  }
  .del3 {
    grid-area: del3;
    padding: 20px 20px !important;
  }
  .copy {
    grid-area: copy;
    text-align: center;
  }
  footer {
    display: grid;
    grid-template-areas:
      "del2 del2"
      "del1 del3"
      "copy copy";
  }
  .fiskestang {
    top: calc(3230px + 110vw);
  }
  .rumraket {
    top: calc(3730px + 110vw);
    right: 50px;
    left: unset;
  }
}

@media only screen and (min-width: 1200px) {
  .infobox h2 {
    margin-top: 630px;
    padding: 0 45px;
  }
  .infobox p {
    padding: 0 20px 0 45px;
  }
  .cv-left {
    grid-area: cv-left;
  }
  .cv-right {
    grid-area: cv-right;
    padding-left: 60px;
    background: #73340f45;
    margin-top: -15px;
    margin-right: -60px;
    padding-right: 60px;
    border-radius: 0 50px 50px 0;
    margin-bottom: -15px;
  }
  .CV {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 60px;
    padding-right: 60px;
    grid-template-areas: "cv-left cv-right";
    position: absolute;
    top: 1700px;
    width: 80%;
    font-size: 17px;
  }
  .cv-resume {
    margin-top: 300px;
    text-align: justify;
  }
  .headshot {
    margin: unset;
    padding: unset;
    padding-top: 0 !important;
    margin-top: -20px;

    margin-left: 3vw;
  }
  .headshot img {
    width: 250px;
    margin: unset;
    /* margin: 0 auto; */
    /* margin: 50px 25px 0 25px;
    margin-left: clamp(50px, calc(22vw - 250px), 120px); */
  }
  .USPS {
    display: grid;
    grid-template-areas:
      "headshot runner brain adventure"
      "title title title title";
  }
  .USP p {
    width: 250px;
    padding: unset;
  }
  header ul {
    display: block;
  }
  header label {
    display: none;
  }

  header {
    padding: 10px 25px;
  }
  nav {
    display: flex;
  }
  .name {
    margin: 0;
  }
  header ul {
    width: calc(100% - 300px);
    display: flex;
    margin: unset;
    border-bottom: 0;
    justify-content: end;
  }
  header li {
    border-top: none;
    width: unset;

    display: inline-block;
    justify-content: end;
  }
  header li a:last-child,
  header li:last-child {
    padding-right: 0;
  }
  .circle {
    margin-top: 0px;
    height: 700px;
    width: 700px;
    margin-left: 3.5vw;
  }
  .USP {
    height: 435px;
    padding-top: 200px;
  }

  /* CSS rules for medium devices */
  /* .circle {
    margin-top: 100px;
    height: 600px;
    width: 600px;
    margin-left: 8vw;
  } */
  .USP p {
    width: 250px;
    padding: unset;
  }
  .runner {
    padding: 200px 30px 65px calc(16% - 30px);
  }
  .brain {
    padding: 200px calc(16% - 30px) 65px 30px;
  }
  .title {
    width: 230px;
    border-radius: 15px;
    margin-left: calc(3vw);
    margin-top: -100px;
    height: 100px;
    padding-left: 20px;
    height: 800px;
    padding-top: 325px;
    border-radius: 50px;
    height: 110px;
    margin-top: -578px;
  }
  .title-wrapper img {
    margin-top: -190px;
    margin-top: 730px;
  }
  main {
    position: relative;
  }
  .video {
    position: absolute;
    top: 800px;
    margin-left: clamp(50px, calc(22vw - 250px), 120px);
    padding: 30px 30px 30px 45px;
    background: #492916;
    background: #492916a8;
    border-radius: 50px;
    box-shadow: 8px 8px 0px #ff450085;
    width: 965px;
  }
  .video iframe {
    z-index: 10;
  }
  .other-videos {
    width: 19%;
    background: #492916a8;
    padding: 25px;
    border-radius: 50px;
    display: inline-block;
    right: clamp(50px, calc(22vw - 250px), 120px);
    position: absolute;
    top: 800px;
  }
  .other-videos > div:nth-child(5) {
    margin-bottom: 0 !important; /* Reset margin for the last div */
  }
  .other-videos > div {
    margin-bottom: 10px;
  }

  .streg {
    width: 20px;
    background: #ff440085;
    height: 1383px;
    position: absolute;
    top: 1717px;
    margin-left: calc(50% + 10px);
    display: none;
  }
  footer {
    position: absolute;
    top: 3400px;
  }

  .infobox {
    width: 304px;
    height: 800px;
    background: #492916;
    border: 10px solid #000;

    left: clamp(40px, calc(22vw - 260px), 130px);
    position: absolute;
    top: 770px;
    border-radius: 50px;
    z-index: 2;
  }
}
@media only screen and (min-width: 1400px) and (max-width: 1500px) {
  .advent {
    margin-left: -70px !important;
    margin-right: 10px !important;
    padding-left: 90px;
  }
}
@media only screen and (min-width: 1400px) {
  /* CSS rules for large devices */

  .brain {
    padding: 200px calc(4% - 5px) 65px 5px !important;
  }
  .runner {
    padding: 200px 5px 65px calc(4% - 5px) !important;
  }
  .headshot {
    width: 465px;
    margin: 0 auto;
    width: calc(36.5vw - 200px);
    margin-left: clamp(50px, calc(22vw - 250px), 120px);
    margin-top: -20px;
    width: 300px;
  }
  .headshot img {
    width: 300px;
  }
  .circle {
    margin-left: calc(70vw - 600px);
    justify-self: left;
  }

  .title {
    margin-left: calc(15vw - 120px);
    margin-left: clamp(50px, calc(22vw - 250px), 120px);
    width: 281px;
    padding-top: 380px;
  }
}
@media only screen and (min-width: 1500px) {
  .adventure .advent {
    margin-left: -40px !important;
    margin-right: 40px !important;
  }
  .runner {
    padding: 200px 5px 65px calc(16% - 5px) !important;
  }
  .brain {
    padding: 200px calc(16% - 5px) 65px 5px !important;
  }
}

@media only screen and (min-width: 1800px) {
  /* CSS rules for extra large devices */
  /* .circle {
    border-radius: 60px 0 0 60px;
  } */
  /* .adventure {
    padding: 200px 16% 65px 0% !important;
  }
  */
  .adventure .advent {
    margin-left: -90px !important;
    margin-right: 90px !important;
  }
  body {
    width: 1800px;
    margin: 0 auto;
  }
  .circle {
    margin-left: 230px;
    justify-self: center;
  }
  .headshot {
    width: calc(36.5vw - 300px);
    max-width: 480px;
  }
}

@media only screen and (min-width: 00px) {
  /* CSS rules for extra extra large devices */
  /* .circle {
    width: 100%;
    height: 577px;
    background: orange;
    border-radius: 577px 0 0 577px;
    position: absolute;
  } */
}
