@import url("https://rsms.me/inter/inter.css");
html {
  font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter var", sans-serif;
  }
}

:root {
  --color-light: #F5F5F5;
  --color-dark: #1A1A1A;
  --color-highlight: #f2440d;
}

body {
  background-color: white;
  margin: 0;
  padding: 0;
  color: var(--color-dark);
}

html {
  margin: 0;
  padding: 0;
}

h2 {
  margin-bottom: 0;
}

p {
  margin: 14px 0;
}
.me {
  margin: 32px;
  font-size: 11px;
  border-radius: 130px;
}

.wrapper {
  margin: 0 auto;
  padding: 1px;
  max-width: 80%;
  z-index: 999;
  align-items: left;
}

.wrapper-header-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 800px) {
  .wrapper-header {
    max-width: 480px;
  }
}

@media (max-width: 592px) {
  .wrapper-header {
    max-width: 80%;
  }
}

.wrapper-acast {
  max-width: 45%;
  margin-right: 10%;
  color: var(--color-light);
  text-align: left;
}
.wrapper-epidemic {
  max-width: 45%;
  margin-left: 10%;
  color: var(--color-dark);
  text-align: left;
}
.wrapper-arc {
  max-width: 45%;
  margin-left: 10%;
  color: #F2E9D3;
  text-align: left;
}
.wrapper-game {
  margin-top: 5%;
  color: #ee4e91;
  /* color: #0b83b7; */
}

.wrapper-minecraft {
  max-width: 45%;
  margin-right: 10%;
  color: var(--color-dark);
  text-align: left;
}

.wrapper-telenor {
  max-width: 456px;
  display: flex;
  flex-direction: column;
  color: var(--color-dark);
}

@media (max-width: 570px) {
  .wrapper-telenor {
    max-width: 80%;
  }
}

.wrapper-volvo {
  max-width: 736px;
  padding-bottom: 204px;
  display: flex;
  flex-direction: column;
}

.wrapper-TCP {
  max-width: 736px;
  margin-bottom: 7%;
  display: flex;
  flex-direction: column;
  color: var(--color-light);
}

@media (max-width: 918px) {
  .wrapper-TCP {
    max-width: 80%;
  }
}

@media (max-width: 500px) {
  .wrapper-TCP {
    margin-bottom: 27%;
  }
}

.wrapper-nl {
  max-width: 45%;
  margin-left: 10%;
  margin-bottom: 10%;
  color: #2c3f6b;
  text-align: left;
}

.section {
  position: relative;
  /* min-height: 80vh; */
  height: 80vh;
  max-height: 800px;
  max-width: 1240px;
  margin: auto;
  background-size: cover;
  background-position: center;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  border: none;
  font-family: "Inter var", sans-serif;
}

.section:focus {
  outline: none;
}

.section-arc {
  background-image: url(../src/ARC-background.png);
  background-size: cover;
}

.section-title-arc {
  background-image: url(../src/arcraiderstext.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 218px;
  height: 100px;
}

.section-minecraft {
  background-color: #f3b000;
}

.section-acast {
  background-color: #020A12;
}

.section-epidemic {
  background-color: #fb6f10;
}

.section-nl {
  background-color: #f5f5f5;
}

.cow-container {
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  transition: transform 0.3s ease-out;
}

.section:hover .cow-container {
  transform: scale(1.06);
}

.section:focus .cow-container {
  transform: scale(1.06);
}

.cow-position {
  margin: 5% 0;
  position: relative;
}

.section-game {
  background-color: #c3eabd;
}

.bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.bg-anim {
  transition: transform 0.3s ease-out;
}

.section:hover .bg-anim {
  transform: scale(1.06);
}

.section:focus .bg-anim {
  transform: scale(1.06);
}

.section:hover .section-volvo-bg-left {
  transform: translateX(30px);
}

.section:hover .section-volvo-bg-right {
  transform: translateX(-30px);
}

@media (min-width: 1240px) {
  .section {
    /* margin-left: 40px;
    margin-right: 40px; */
    width: 1240px;
    height: 764px;
    margin-bottom: 40px;
  }
  .section-footer {
    margin-bottom: -40px;
  }
}

@media (max-width: 1240px) {
  .section {
    width: 100%;
  }
}

@media (min-width: 1320px) {
  .section {
    margin-left: auto;
    margin-right: auto;
  }
}

.section-header {
  position: relative;
  font-weight: 500;
  margin-bottom: 0;
  min-height: 90vh;
}

.section-header-links {
  display: flex;
  align-items: left;
  width: 100%;
  gap: 8px;
  margin: 0;
}

.section-header-links a:not(:last-child) {
  padding-right: 8px;
  border-right: 1px solid var(--color-dark);
}

.section-footer {
  min-height: 90vh;
  padding-bottom: 60px;
}

@media (min-width: 1240px) {
  .section-footer {
    margin-bottom: -40px;
  }
}

.bg-arc {
  background-image: url(../src/ARC-lines.png);
  background-repeat: no-repeat;
  background-position: left;
}

.bg-acast {
  background-image: url(../src/acast.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  right: -10%;
}

@media (max-width: 1130px) {
  .bg-acast {
    bottom: -15%;
  }
}

@media (max-width: 1000px) {
  .bg-acast {
    bottom: -30%;
  }
  .wrapper-acast {
    max-width: 60%;
    margin-left: 10%;
    margin-top: -30%;
  }
}

.bg-epidemic {
  background-image: url(../src/epidemicsound-small.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  right: -10%;
}

@media (max-width: 890px) {
  .bg-epidemic {
    background-image: url(../src/epidemicsound-small.png);
    background-size: auto;
    background-repeat: no-repeat;
    bottom: -60%;
    right: -50%;
  }
}

@media (max-width: 760px) {
  .section-epidemic {
    justify-content: start;
  }
  .wrapper-epidemic {
    max-width: 80%;
    margin-top: 6%;
  }
  .wrapper-arc {
    max-width: 80%;
    margin-top: 6%;
  }
  .section-acast {
    justify-content: start;
  }
  .wrapper-acast {
    max-width: 80%;
    margin-top: 15%;
  }
  .bg-acast {
    bottom: -50%;
    background-size: 700px;
  }
}

@media (max-width: 630px) {
  .bg-epidemic {
    bottom: -30%;
    right: -10%;
    background-size: 450px;
  }
}

@media (max-width: 500px) {
  .bg-epidemic {
    bottom: -122%;
  }
  .wrapper-epidemic {
    margin-top: 14%;
  }
  .wrapper-arc {
    margin-top: 14%;
  }
}

.bg-minecraft {
  background-image: url(../src/gameboy-yellow2.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 10%;
  transition: transform 0.3s ease-out;
}

.section:hover .bg-minecraft {
  transform: translateY(-15px);
}

@media (max-width: 1020px) {
  .bg-minecraft {
    background-image: url(../src/gameboy-yellow-bottom.jpg);
    background-position: top;
    top: -20px;
  }

  .wrapper-minecraft {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 27%;
    display: flex;
    flex-direction: column;
  }

  .section:hover .bg-minecraft {
    transform: translateY(15px);
  }
}

.bg-telenor {
  background-image: url(../src/phones3.png);
  background-position: center;
  background-size: cover;
}

.section-volvo {
  background-color: black;
  color: #dbdbdb;
  position: relative;
  overflow: hidden;
}

.section-volvo-bg {
  position: absolute;
  /* background-image: url(src/clock2.svg); */
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 95%;
  bottom: -100px;
  /* opacity: 0.2; */
}

.section-volvo-bg-left {
  background-image: url(../src/clock2.svg);
  background-position: left;
  left: -25%;
  transition: transform 0.3s ease-out;
}

.section-volvo-bg-right {
  background-image: url(../src/clock3.svg);
  background-position: right;
  right: -25%;
  transition: transform 0.3s ease-out;
}

@media (max-width: 918px) {
  .section-volvo-bg-left {
    width: 80%;
    bottom: -45%;
    background-position: center;
    left: 0;
    right: 0;
    margin: auto;
  }

  .section:hover .section-volvo-bg-left {
    transform: translateY(-15px);
  }

  .section-volvo-bg-right {
    display: none;
  }

  .wrapper-volvo {
    max-width: 80%;
    padding-bottom: 204px;
    align-items: left;
  }
}

.bg-codepub {
  background-image: url(../src/codepub.png);
  background-position: center;
  background-size: cover;
}

.bg-nl {
  background-image: url(../src/boids.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 80%;
}

.section-title {
  font-weight: 800;
  /* letter-spacing: 1px; */
  font-size: 60px;
  width: 100%
}

.section-title-game {
  font-family: "Lilita One", sans-serif;
  font-size: 60px;
}

@media (max-width: 395px) {
  .section-title {
    font-size: 30px;
  }
  .section-title-game {
    font-size: 35px;
  }
}

.section-title-link {
  color: var(--color-dark);
  text-decoration: none;
  cursor: default;
  font-size: 80px;
  font-weight: 800;
  width: 100%;
  text-align: left;
}

.section-title-link:hover {
  color: var(--color-highlight);
}

.section-title-link:focus {
  color: var(--color-highlight);
  outline: none;
}

.section-subtitle {
  font-weight: 500;
  font-size: 20px;
}

.section-subtitle-telenor {
  color: var(--color-dark);
}

.section-text-nl {
  text-align: left;
}

@media (max-width: 700px) {
  .bg-nl {
    background-image: url(../src/boid.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
  }

  .section-text-nl {
  }

  .wrapper-nl {
    max-width: 80%;
    margin-left: auto;
    margin-top: 32%;
    display: flex;
    flex-direction: column;
  }
}

.section-description {
  font-weight: 400;
  font-size: 20px;
  text-align: left;
  padding-bottom: 16px;
}

@media (max-width: 500px) {
  .section {
    min-height: 60vh;
  }

  .section-header {
    min-height: 90vh;
  }

  .section-footer {
    min-height: 90vh;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-description {
    font-size: 16px;
  }
}

.section-things {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.section-things-text {
  margin: 16px;
  font-weight: 500;
}

.the-end {
  position: relative;
  margin: 0;
  bottom: 0;
  padding-bottom: 10px;
  font-weight: 300;
}

.section:hover .button {
  visibility: visible;
}

.section:focus .button {
  visibility: visible;
}

.arrow {
  font-size: 26px;
  padding-left: 8px;
  transition: transform 0.3s ease-out;
  margin: 0;
}
.email-arrow {
  visibility: hidden;
  padding-right: 14px;
  color: var(--color-highlight);
}

.email-arrow-reverse {
  padding-left: 14px;
}

.link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-dark);
}

.link:hover, .link:focus {
  color: var(--color-highlight);
  outline: none;
}

.link:focus .email-arrow {
  transform: translateX(6px);
  visibility: visible;
}

.link:focus .email-arrow-reverse {
  transform: translateX(-6px);
  visibility: visible;
}

.button {
  visibility: hidden;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  padding: 4px 12px;
  width: fit-content;
}

.button-text {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.button:hover .arrow {
  transform: translateX(6px);
}

.button:focus .arrow {
  animation: arrow-bounce 0.6s infinite;
}

.button:focus {
  outline: none;
}

.button-light {
  background-color: var(--color-light);
  color: var(--color-dark);
}

.button-light:hover {
  background-color: #c2c2c2;
}

.button-dark:hover {
  background-color: #343434;
}

.button-dark {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.button-game {
  background-color: #ee4e91;
  color: var(--color-light);
}

.button-arc {
  background-color: #F2E9D3;
  color: var(--color-dark);
}

.button-nl {
  background-color: #2c3f6b;
  color: var(--color-light);
}

@media (max-width: 430px) {
  .button {
    visibility: visible;
    font-size: 18px;
  }

  .arrow {
    animation: arrow-bounce 0.6s infinite;
  }
  /* .email-arrow {
    visibility: visible;
  } */
  .email-arrow-reverse {
    padding-left: 6px;
  }
  .arrow-reverse-anim {
    animation: arrow-bounce-reverse 0.6s infinite;
  }
}

@keyframes arrow-bounce {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes arrow-bounce-reverse {
  0% {
    transform: translateX(6px);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(6px);
  }
}
