/*
Theme Name: Sjeldani
Description: A custom theme for Sjeldani
Version: 1.0
Author: Leadways
Author URI: https://leadways.dk
*/

html,
body {
  margin: 0;
  padding: 0;
  background: #fffefc;
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

body * {
  box-sizing: border-box;
}

.locked {
  @media (max-width: 1024px) {
    overflow: hidden;
    height: 100%;
  }
}

.splash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  width: 500px;
  max-width: 100%;
}

.splash img {
  width: 100%;
}

.sj-container {
  width: 1512px;
  max-width: 100%;
  margin: 0 auto;
}

.sj-header {
  position: relative;
  background: #363636;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.sj-header .sj-logo {
  position: absolute;
  width: 290px;
  right: 50px;
  top: 35px;

  @media (max-width: 1024px) {
    right: auto;
    top: 28px;
    left: 20px;
    width: 133px;
    z-index: 3;
  }
}

.sj-header .sj-title {
  background: #fcf7ee;
  padding: 68px 56px;
  margin-top: 63px;
  width: 598px;
  max-width: 60%;
  display: inline-block;
  margin-bottom: 256px;
  color: #000;

  @media (max-width: 1024px) {
    margin-top: 336px;
    margin-bottom: 68px;
    max-width: 90%;
    padding: 33px 20px;
  }
}

.sj-header .sj-title h1 {
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  line-height: 42px; /* 80.769% */
  margin: 0 0 20px;

  @media (max-width: 1024px) {
    margin-bottom: 14px;
    font-size: 35px;
  }
}

.sj-header .sj-title h4 {
  margin: 0;
}

.sj-header .sj-title h4 img {
  vertical-align: middle;
  margin-right: 15px;
}

.sj-header .sj-title h4 span {
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 42px; /* 190.909% */
  vertical-align: middle;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

.sj-content {
  color: #000;
  text-align: center;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 145.455% */
  width: 794px;
  max-width: 90%;
  margin: 120px auto;

  @media (max-width: 1024px) {
    font-size: 16px;
    line-height: 24px; /* 150% */
    margin: 75px auto;
  }
}

.sj-content-tab {
  display: none;
}

.sj-menu-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: 50px;
  right: 40px;
  user-select: none;
}

@media (max-width: 1024px) {
  .sj-menu-icon {
    display: flex;
  }
}

.sj-menu-icon .line {
  width: 20px;
  height: 2px;
  background-color: #000;
  margin: 2px 0;
}

.sj-close-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  opacity: 0.75;
  background-color: #000;
  color: #fff;
  font-size: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  position: absolute;
  top: 50px;
  right: 40px;
  display: none;
  user-select: none;
}

@media (max-width: 1024px) {
  .locked .sj-close-icon {
    display: flex;
    z-index: 3;
  }
}

nav {
  text-align: center;
  border-bottom: 1px solid #B1CF35;
  margin: 0 50px;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }

  .locked nav {
    background: #FCF7EE;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
  }

  .locked nav ul {
    margin: 170px 20px 0;
    border-top: 1px solid #B1CF35;
    padding: 50px 0 0;
  }

  .locked nav ul li {
    display: block;
    margin: 30px 0;
  }

  .locked nav ul li a {
    font-size: 22px;
    line-height: 32px;
  }
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin: 10px 30px;
}

nav ul li a {
  color: #000;
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
  font-weight: 600;
}

nav ul li a:hover {
  color: #666;
}

nav ul li a.tab-active {
  color: #B1CF35;
}

.sj-documents {
  background: #f0f5db;
  display: grid;
  grid-template-columns: 2fr 3fr;
  padding: 57px 53px;
  grid-gap: 77px;
  margin-bottom: 63px;

  @media (max-width: 1024px) {
    grid-template-columns: 1fr;
    padding: 0;
    grid-gap: 0;
    margin-bottom: 0;
  }
}

.sj-documents > div:nth-child(1) {
  @media (max-width: 1024px) {
    padding: 57px 21px 50px;
    margin-bottom: 0;
  }
}

.sj-documents h3 {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px; /* 100% */
  margin: 0 0 28px;

  @media (max-width: 1024px) {
    font-size: 28px;
  }
}

.sj-documents p {
  color: #000;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 145.455% */

  @media (max-width: 1024px) {
    font-size: 16px;
    line-height: 24px; /* 150% */
  }
}

.sj-footer {
  background: #363636;
  padding: 69px 53px;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;

  @media (max-width: 1024px) {
    padding: 52px 19px;
  }
}

.sj-footer img {
  margin-bottom: 54px;
  background: #363636;
  width: 387px;
  max-width: 100%;
}
