:root {
  --card-padding: 25px;
  --padding-md: 45px;
  --icon-size: 50px;
}

html {
  color: #000;
  font-size: 1em;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}

html, body {
  margin: 0;
}

.not-visible {
  visibility: hidden;
}

.header {
  min-height: 100vh;
  width: 100%;
  background: url("../img/bg.jpg") no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header h1 {
  margin: 180px;
  font-weight: normal;
}

.text-white {
  color: #fff;
}

.text-black {
  color: #000;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-xl {
  font-size: 2.6rem;
}


.card {
  padding: var(--card-padding) var(--card-padding) var(--padding-md) var(--card-padding);
  display: flex;
  flex-direction: row;
  gap: 60px;

  min-height: 200px;
}

.card div:last-of-type {
  align-items: flex-end;
  flex-grow: 1;
}

.card > div:first-of-type {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.card .title {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.card.big div:nth-of-type(2) {
  max-width: 40%;
}

.card .subtitle {
  font-size: 1.4rem;
  margin-top: 40px;
}

.card ul {
  line-height: 1.8rem;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.card ul li:not(:last-of-type) {
  margin-bottom: 5px;
}

.card-row {
  display: flex;
  flex-direction: row;
}

.card-row div {
  flex: 1;
}

.card-row .card:not(:last-of-type) {
  border-right: 1px solid black;
}

.card > div:last-of-type {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.card .arrow {
  width: 60px;
}

.card .icon {
  height: var(--icon-size);
}

.card.black {
  background-color: #000;
  color: #fff;
}

.contact-box {
  display: flex;
  padding: 20px 30px 50px 30px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 60px;
}

.heading-container {
  padding: 40px 20px 15px 20px;
}

.heading-container h1 {
  margin: 0;
  font-weight: 500;
}

.contact-box .icon {
  height: 40px;
}

.contact-box .title {
  font-size: 1.3rem;
  line-height: 1.5rem;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.contact-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-box ul li:not(:last-of-type) {
  margin-bottom: 5px;
}

.contact-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}


.contact-row .contact-box {
  flex: 1;
  border: 1px solid black;
}

.contact-row .contact-box:first-of-type {
  border-left: none;
}

.contact-row .contact-box:last-of-type {
  border-right: none;
  border-left: none;
}

.phrases-row {
  padding: var(--card-padding);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  text-transform: uppercase;
}

@media screen and (max-width: 1000px) {
  .card .title {
    font-size: 1.4rem;
  }

  .header h1 {
    font-size: 1.5rem;
    margin: 20px;
  }

  .card-row {
    flex-direction: column;
  }

  .contact-row {
    flex-direction: column;
  }

  .card-row .card {
    border-left: none !important;
    border-right: none !important;
  }

  .card-row .card:not(:last-of-type) {
    border-bottom: 1px solid black;
  }

  .card.big {
    flex-direction: column;
    gap: 30px;
  }

  .card.big div:nth-of-type(2) {
    max-width: 100% !important;
  }

  .phrases-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .contact-row>.contact-box {
    border-right: none !important;
    border-left: none !important;
  }

  .contact-row>.contact-box:last-of-type {
    border-top: none !important;
  }

  .not-visible {
    display: none;
  }

  .card.big .arrow {
    display: none;
  }

  .contact-box {
    gap: 25px;
  }
}

.deew-footer {
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  background-color: #000;
  color: #fff;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}


@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

