@font-face {
  font-family: 'Mona-Sans';
  src: url('/fonts/MonaSans-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Mona-Sans';
  src: url('./fonts/MonaSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Mona-Sans';
  src: url('./fonts/MonaSans-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Mona-Sans';
  src: url('./fonts/MonaSansExpanded-Black.ttf') format('truetype');
  font-weight: 900;
}

body {
  font-family: 'Mona-Sans';
  margin: 0;
  background-color: #f6f6f6;
}

a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

a:hover {
  color: #7e78ea;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.3em;
  font-size: 0.4em;
  font-family: inherit;
  background-color: #f4f4f4;
  cursor: pointer;
  transition: border-color 0.25s;

}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.full-page {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.collumn {
  flex-direction: column;
}

.title {
  margin-top: 4rem;
  font-weight: 900;
  font-size: 5rem;
  color: #213547;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95vw;

  will-change: filter;
  transition: filter 600ms;
}

.subtitle {
  margin-top: 1rem;
  font-weight: 500;
  font-size: 2rem;
  color: #213547;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.clickable {
  font-weight: 200;
  font-size: 1.6rem;
  margin: 1.3rem;
  cursor: pointer;
}

.clickable:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: none;
  animation: underlineFromLeft 0.3s ease forwards;
}

@keyframes underlineFromLeft {
  from {
    text-decoration-color: transparent;
    text-underline-offset: -100%;
  }

  to {
    text-underline-offset: 4px;
  }
}

.parallax-section {
  position: relative;
  height: 100vh;
  font-size: 3rem;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.content {
  position: relative;
  z-index: 1;

  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
}


.popup {
  position: fixed;
  bottom: 43vh;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1000;
}

.popup.show {
  opacity: 1;
}

.parallax-section {
  position: relative;
  height: 100vh;
  font-size: 3rem;
  overflow: hidden;
}

.noise {
  position: fixed;
  top: -300%;
  left: -150%;
  height: 600%;
  width: 600%;
  -webkit-animation: grain 7s steps(10) infinite;
  animation: grain 7s steps(10) infinite;
  background-image: url(assets/noise.png);
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.1;
  pointer-events: none;
}


@keyframes grain {

  0%,
  100% {
    transform: translate(0);
  }

  10% {
    transform: translate(-5%, -10%);
  }

  20% {
    transform: translate(-15%, 5%);
  }

  30% {
    transform: translate(7%, -25%);
  }

  40% {
    transform: translate(-5%, 25%);
  }

  50% {
    transform: translate(-15%, 10%);
  }

  60% {
    transform: translate(15%);
  }

  70% {
    transform: translateY(15%);
  }

  80% {
    transform: translate(3%, 35%);
  }

  90% {
    transform: translate(-10%, 10%);
  }
}

.full-page.work-experience {
  gap: 6rem;
}


.jobs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  min-height: 100vh;
}

.banner-jobs {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 3rem;
  color: #213547;
  align-items: center;
}

.job-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
  max-width: 45rem;
  border-radius: 8px;
  cursor: pointer;
}

.date-range {
  font-weight: 400;
  font-size: 0.8rem;
  width: 10rem;
  margin-top: 0.2rem;
}

.job-title {
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  cursor: pointer;
}

.position {
  font-weight: 400;
}

.job-container:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.job-container:hover .position,
.job-container:hover .job-title {
  text-decoration: underline;
  color: #7e78ea;
}

.link-icon {
  display: inline-block;
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
  margin-left: 0.25rem;
  transform: translateY(1px);
}

.job-container:hover .link-icon {
  transform: translateY(-0.25rem) translateX(0.25rem);
}

.job-description {
  color: #424242;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 16px 0;
}

.skills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.skill {
  background-color: #d3d2f2;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
}


@media screen and (max-width: 600px) {
  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .clickable {
    font-size: 1rem;
  }

  .full-page .small {
    font-size: 1.5rem;
  }

  .full-page .big {
    font-size: 3rem;
  }

  .popup {
    bottom: 40vh;
  }

  .full-page.work-experience {
    gap: 4rem;
    padding: 6rem 2rem;
    justify-content: start;
  }

  .jobs {
    min-height: auto;
    gap: 4rem;
  }

  .job-container {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0rem;
  }
}