@import url('/fonts.css');

:root {
  --max-width: 1000px;
}

html {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  line-height: 1.6;
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "LatoLatinWeb";
  margin: 0;
  font-size: 18px;
  height: 100%;
  overflow-x: hidden;
}

body.home {
  background: #144799;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}

body.home ul li {
  list-style: none;
}

body.home p {
  color: white;
  font-family: sans-serif;
  text-align: center;
  font-size: 18px;
}

body.home a {
  color: white;
  font-weight: bold;
}

body.home .inner {
  width: 100%;
  max-width: 600px;
  padding: 30px;
}

.header {
  margin-inline: auto;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding-inline: 20px;
  justify-content: space-between;
  flex-direction: column;
  max-width: 1240px;
  min-height: 200px;
}

.header:after {
  content: '';
  display: block;
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  left: 50%;
  max-width: 2000px;
  opacity: .3;
  background: black;
}

.header .background {
  position: absolute;
  width: 101vw;
  left: 50%;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%);
  display: block;
  max-width: 2000px;
  object-position: center;
  z-index: -1;
}

.position-label {
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 2px;
}

.header .logo {
  width: 100px;
  position: relative;
  z-index: 100;
}

.page-title {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  color: white;
  line-height: 1.2;
  padding-inline: 20px;
  text-shadow: black 0 0 6px;
  font-size: 40px;
  position: relative;
  z-index: 100;
}

.page-title em {
  font-size: .6em;
  line-height: .8em;
}

.open-position {
  padding-inline: 20px;
  flex: 1;
}

.open-position h2 {
  font-size: 40px;
}

.short-about {
  margin-top: 0;
  font-style: italic;
}

.news.teaser {
  max-width: 100%;
  display: flex;
  position: relative;
  font-size: 15px;
  flex-direction: column;
  color: black;
  text-decoration: none;
  margin-bottom: 2em;
}

.news.teaser .inner {
  position: relative;
  margin-bottom: 10px;
}

.news.teaser h3 {
  color: white;
  align-items: flex-end;
  display: flex;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 4px;
  top: 0;
  height: 100%;
  width: 100%;
  line-height: 1.4;
  padding: 15px 20px;
  background: linear-gradient(0deg, 
    rgba(0, 0, 0, .6) 0%, 
    rgba(0, 0, 0, .3) 100%
  );
  position: absolute;
}

.news.teaser p {
  margin: 0;
  color: #444;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.news.list {
  padding: 20px;
  background: #f7f7f7;
}

.news.teaser + .news.teaser {
  padding-top: 2em;
  /* border-top: 1px solid #ccc; */
}

.news.teaser .image {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.main {
  max-width: 1050px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.main img {
  border-radius: 4px;
  max-width: 100%;
}

p.first {
  font-weight: bold;
  font-size: 1.5em;
}

ul {
  padding-left: 18px;
  margin-top: 0;
}

ul li::marker {
    color: #d22630;
}

ul li {
  
}

.sidebar {
  font-size: 16px;
  color:#535353;
}

.sidebar ul {
  padding: 1em;
}

.about-us {
  margin-bottom: 40px;
  padding: 20px;
}

.about-us img {
  width: 100%;
}

.about-us p {
  font-weight: bold;
}

body.developer a {
  color: inherit;
}

.interested {
  padding: 50px 100px;
  color: white;
  margin-top: 40px;
  margin-inline: -60px;
  font-weight: bold;
  font-size: 1.3em;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 60px;
}

.interested:before {
  content: '';
  display: block;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background-image: url('assets/clayton-daniel.jpg');
  background-size: cover;
  background-position: center;
}

.interested:after {
  content: '';
  display: block;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: .7;
  pointer-events: none;
  background: black;
}

.interested h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4em;
}

.interested img {
  width: 80px;
  margin-bottom: 40px;
}

body.developer .interested a {
  font-weight: bold;
  color: white;
}

.open-position > h3 {
  margin-top: 1.6em;
  margin-bottom: .6em;
  font-size: 1.4em;
}

h3 + p {
  margin-top: 0;
}

@media screen and (min-width: 800px) {
  .main {
    gap: 60px;
    flex-direction: row;
  }

  .main > * {
    padding: 20px;
  }

  p.first {
    font-size: 1.6em;
  }

  .position-label {
    font-size: 20px;
  }

  .header,
  .header:after {
    border-radius: 4px;
  }

  .header .background {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  .page-title {
    margin-top: 120px;
    margin-bottom: 90px;
    font-size: 80px;
  }

  .open-position {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .about-us {
    margin-bottom: 0;
    padding-top: 40px;
  }

  .sidebar {
    background: #f7f7f7;
    padding-inline: 10px;
    max-width: 320px;
  }
}

@media screen and (min-width: 1480px) {
  .main img.breakout {
    margin-left: -200px;
    max-width: calc(100% + 200px);
    margin-top: 20px;
  }
}

body {
  background: #f7f7f7;
}

.open-position:after {
  content: '';
  display: block;
  background-color: white;
  width: calc(100% + 80px);
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: -100;
}

.open-position {
  position: relative;
  background-color: white;
  
}

.interested {
  position: relative;
  z-index: 10;
}

small {
  color: gray;
}

p + ul {
  margin-top: -20px;
}