/* GLOBAL */

:root {
  --blue: #0e71b0;
  --gray: #f8f9f9;
  --red: #c4282c;
  --blue-pale: #c8dfed;
  --border-color: #d9d9d9;

  --margin-1: 16px;
  --margin-2: 32px;
}

*,
::before,
::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Helvetica', 'Helvetica Neue', 'sans-serif';
  font-size: 18px;
  color: #000;
  background-color: #e5e5e5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  min-width: 360px;
}
body > div {
  margin: auto;
  max-width: 1200px;
  background-color: white;
}
img {
  max-width: 100%;
  max-height: 100%;
}
a {
  color: var(--blue);
  text-decoration: none !important;
}
a:hover {
  opacity: 0.8;
  cursor: pointer;
}
a.button {
  color: #fff;
  background-color: var(--blue);
  border-color: #1a7db4;
  display: inline-flex;
  align-items: center;
  text-align: left;
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
  padding: 8px 32px;
  border-radius: 10px;
  white-space: nowrap;
  text-decoration: none;

  margin-top: var(--margin-2);
}

/* COLORS */
.red-txt {
  color: var(--red);
}
.blue-txt {
  color: var(--blue);
}
.gray {
  background-color: var(--gray);
}

/* UTILS */
.ms-2 {
  margin-left: var(--margin-1);
}
.mt-2 {
  margin-top: var(--margin-1);
}
.d-flex {
  display: flex;
}
.center {
  text-align: center;
}
.tag-container {
  margin: -4px;
}
.tag {
  display: inline-block;
  padding: 4px 16px;
  background-color: var(--blue-pale);
  border-radius: 20px;
  margin: 4px;
  white-space: nowrap;
}
.d-block {
  display: block;
}

p {
  margin-top: 8px;
  margin-bottom: 8px;
}
h3 {
  font-size: 18px;
}

/* Our jobs */
.lt-lg > div {
  position: relative;
  padding-left: 1em;
}
.lt-lg > div::before {
  content: '<';
  position: absolute;
  left: 0;
}
.lt-lg > div::after {
  content: '>';
  margin-left: 8px;
}
.lt-lg > div::after,
.lt-lg > div::before {
  color: var(--blue);
  display: inline-block;
}
.bigger {
  font-size: 34px;
  margin-bottom: var(--margin-2);
}

/* SECTION */

section {
  padding: var(--margin-1);
  padding-top: 25px;
  padding-bottom: 25px;
}

section > div {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
}
section > h1 {
  margin: var(--margin-1);
}

section > div > div {
  flex: 1;
  margin: var(--margin-1);
}
section p {
  text-align: justify;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
.column-count-2 {
  display: block;
  max-width: none;
  column-count: 2;
  column-gap: var(--margin-2);
}
.column-count-2 > div {
  break-inside: avoid-column;
  margin-bottom: var(--margin-2);
  padding-left: var(--margin-1);
}
.column-count-2 li {
  margin-bottom: 8px;
  text-align: justify;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
h1 {
  font-size: 36px;
  line-height: 44px;
  color: var(--blue);
  margin-bottom: var(--margin-2);
  margin-top: 0px;
}
div.stretch-v {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
  line-height: 30px;
}
div.section-img > img {
  max-height: 300px;
}
div.section-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
div.section-img.sm {
  display: none;
  width: 100%;
}

/* HEADER */

header.navbar {
  height: 85px;
  background-color: white;
  display: flex;
  padding: var(--margin-1) var(--margin-2);
  align-items: center;

  position: relative;
}

header.navbar > nav {
  margin-left: auto;
  white-space: nowrap;
}

header.navbar > nav > a + a {
  margin-left: var(--margin-1);
}

header.navbar > nav > a.active {
  position: relative;
}
header.navbar > nav > a.active::after {
  content: ' ';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  bottom: -33px;
  background-color: var(--blue);
}

/* expertise */
.expert > div {
  max-width: none;
}
.expert-container {
  margin-left: calc(0 - var(--margin-2));
  margin-right: calc(0 - var(--margin-2));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.expert-block {
  display: block;
  width: 178px;
  height: 350px;
  margin: var(--margin-1);
  display: flex;
  flex-direction: column;
}
.expert-img {
  height: calc(120px + var(--margin-1));
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.expert-img > div {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: var(--blue-pale);
  padding: 24px;
}
.expert-img > div > img {
  width: 100%;
  height: 100%;
}
.expert-header {
  color: var(--blue);
  font-size: 20px;
  height: 60px;
  text-align: center;
}
.expert-text {
  text-align: center;
}

/* FOOTER */
footer {
  /*! height: 85px; */
  background-color: var(--blue);
  padding: var(--margin-1);
  align-items: center;
  display: flex;
  justify-content: space-around;
  font-weight: 500;
  flex-wrap: wrap;
}

footer {
  white-space: nowrap;
}

footer > a {
  color: white;
  margin: var(--margin-1);
}
footer > a + a {
  margin-left: 16px;
}

@media screen and (max-width: 730px) {
  .column-count-2 {
    column-count: 1;
  }
  div.section-img {
    display: none;
  }
  div.section-img.sm {
    display: flex;
  }
  .button {
    align-self: center;
  }
}
@media screen and (max-width: 791px) {
  .expert-container {
    justify-content: space-around;
  }
}
@media screen and (max-width: 420px) {
  :root {
    --margin-1: 12px;
    --margin-2: 24px;
  }
}
@media screen and (max-width: 378px) {
  :root {
    --margin-1: 8px;
    --margin-2: 16px;
  }
}
@media screen and (max-width: 470px) {
  .d-flex {
    flex-direction: column;
  }
}

header.navbar .burger,
#burger-check {
  display: none;
}

@media screen and (max-width: 720px) {
  header.navbar .burger {
    margin-left: auto;
    display: block;

    background-image: url('assets/icon/menu.svg');
    background-repeat: no-repeat;
    background-position: center;

    width: 32px;
    height: 32px;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    cursor: pointer;
  }
  #burger-check {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  header.navbar > nav {
    margin: var(--margin-1);
    position: absolute;
    z-index: 1;

    display: none;
    flex-direction: column;
    align-items: flex-start;

    padding: var(--margin-1);
    right: var(--margin-1);
    top: 50px;
    background-color: white;
    line-height: 32px;
    border-radius: 10px;
    box-shadow: 1px 1px 1px 1px gray;
  }
  header.navbar > nav > a {
    margin-left: 0 !important;
    padding: 4px;
    width: 100%;
  }
  header.navbar > nav > a::after {
    display: none;
  }
  header.navbar > nav > a.active {
    color: black!;
  }
  header.navbar > nav > a[href]:hover {
    background-color: var(--gray);
  }

  header.navbar #burger-check:checked + .backdrop + nav {
    display: flex;
  }
  header.navbar #burger-check:checked + .backdrop {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #00000020;
    z-index: 1;
  }
}
