@charset "UTF-8";

@font-face {
  font-family: "Minion Pro";
  src: url("./subset-MinionPro-Regular.woff2") format("woff2"),
    url("./subset-MinionPro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: "Minion Pro";
  margin: 0;
  padding: 0;
}

body {
  color: #4b5f42;
  background-color: #ffffff;
}

.grid-container {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 60px;
  justify-content: center;
  background-color: #ffffff;
  padding: 40px;
  text-align: right;
}

.text_column {
  font-weight: 300;
  font-size: 18px;
  text-align: left;
  display: inline-block;
  background-color: #ffffff;
  line-height: 1.6em;
}

.headline {
  text-align: left;
  text-decoration: underline;
  text-decoration-color: #e1d1d0;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  font-size: 22px;
  color: #8da07a;
  font-weight: 300;
  letter-spacing: 5%;
  line-height: 1.5em;
}

.headline a {
  color: inherit;
  text-decoration: inherit;
}

.headline a:hover {
  opacity: 0.8;
}

.bilder {
  width: 100%;
  height: auto;
  max-width: 650px;
  max-height: 650px;
}

/* Popup */

.popup {
  box-sizing: border-box;
  position: absolute;
  max-width: 1000px;
  width: 90%;
  background-color: #3f5f3e;
  color: #ffffff;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 50px 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

  h2,
  h4,
  ul,
  li,
  p {
    font-weight: 300;
    opacity: 0.9;
  }

  h2 {
    font-size: 3.75rem;
    margin: 0;
    line-height: 1;
  }

  li {
    font-size: 1.125rem;
    margin: 0;
  }

  p {
    font-size: x-large;
    margin: 0;
  }

  .popup-text {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .logo {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 90px;
    height: auto;
  }

  .job-section {
    margin: 0 auto;
    display: flex;
    border: 1px solid #ffffff;
    padding: 20px;
    color: #ffffff;
    text-align: left;
    max-width: 780px;
    gap: 8px;
  }

  .column {
    flex: 1;
    justify-content: center;
  }

  h4 {
    font-size: 0.875rem;
    font-weight: lighter;
    text-transform: uppercase;
    color: #7a936d;
    margin: 0 0 5px;
  }

  ul {
    list-style-type: none;
    padding: 0;
    line-height: 1.25em;
    margin: 0;
  }

  li {
    position: relative;
    padding-left: 24px;
  }

  li::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 2px;
    width: 0.875em;
    height: 0.875em;
    background: url("arrow.svg") no-repeat center center;
    background-size: contain;
    font-weight: 300;
  }

  .info-text {
    position: relative;
    text-align: center;
    font-size: 1.25rem;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
  }

  .contact-text {
    width: 100%;
    max-width: 640px;
    position: relative;
    text-align: center;
    font-size: 1.25rem;
    margin: 0 auto;
    line-height: 1.5;

    span {
      color: #7a936d;
      font-weight: 300;
      font-size: 1rem;
      display: inline;
      vertical-align: baseline;
    }
  }
}

.email-link {
  color: #7a936d;
  text-decoration: underline;
  font-weight: 300;
}

.email-link:hover {
  color: #e1d1d0;
}

.close-btn {
  padding: 0;
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  width: 28px;
  height: 28px;

  svg {
    width: 100%;
    height: 100%;
  }
}

.close-btn:hover {
  color: #e1d1d0;
}

@media (max-width: 768px) {
  .popup {
    padding: 60px 30px 120px;
    width: calc(100% - 60px);

    h2 {
      font-size: 2.5rem;
    }

    .popup-text {
      font-size: 1.2rem;
    }
    .job-section {
      flex-direction: column;
    }

    .info-text {
      font-size: 1.125rem;
    }

    .contact-text {
      font-size: 1.125rem;
      text-align: center;
    }

    .logo {
      width: 70px;
      left: 50%;
      transform: translateX(-50%);
    }
  }
}

@media (max-width: 480px) {
  .popup {
    padding: 30px 20px 120px;
    width: 100%;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}
