/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 0.5em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  box-sizing: border-box;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1rem;
  margin-block-end: 1rem;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-inline-start: 2.5rem;
  unicode-bidi: isolate;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Sapphirus.Tech custom styles
   ========================================================================== */

:root {
  --sapphirus-color-dark: #071952;
  --sapphirus-color-light: #37B7C3;
  --sapphirus-color-grey: #EBF4F6;
  --font-main: "AbhayaLibre-Regular";
  --font-main-semibold: "AbhayaLibre-SemiBold";
  --main-btn-gradient: linear-gradient(98.07deg, #EC2766 12.18%, #EE3539 87.24%);
  --main-btn-color: #f02d50;
  --header-height: 6rem;
}

@font-face {
  font-family: "Aldrich";
  src: url("../fonts/Aldrich/Aldrich-Regular.ttf");
}

@font-face {
  font-family: "AbhayaLibre-Regular";
  src: url("../fonts/Abhaya_Libre/AbhayaLibre-Regular.ttf");
}

@font-face {
  font-family: "AbhayaLibre-SemiBold";
  src: url("../fonts/Abhaya_Libre/AbhayaLibre-SemiBold.ttf");
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf");
}

.anchor {
  display: block;
  height: var(--header-height);
  margin-top: calc(-1 * var(--header-height));
  visibility: hidden;
}

.sticky-header {
  z-index: 999999;
  background: var(--sapphirus-color-dark);
  padding: none;
  height: var(--header-height);
  align-content: center;
  color: white;
  position: sticky;
  top: 0;
}

.sticky-header .sticky-header-content {
  display: flex;
  flex-flow: row;
  gap: 0.5rem;
  max-width: 75rem;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 0 1.25rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.sticky-header .sticky-header-content img {
  max-height: 2rem;
  max-width: 2rem;
}


.container {
  display: flex;
  flex-flow: column;
  max-width: 75rem;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.row {
  flex-flow: row;
  flex-direction: row;
}

.centered {
  align-items: center;
}

.padded {
  padding: 0 1.25rem;
}

.gap-05rem {
  gap: 0.5rem;
}

.logo-text,
.logo-text-dark {
  font-family: Aldrich;
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin: 0;

  a {
    color: inherit;
    text-decoration: none !important;
  }
}

.logo-text-dark {
  color: var(--sapphirus-color-dark);
  font-size: 2rem;
  font-weight: 400;
}

.top-nav {
  margin-left: auto;
  width: max-content;
  height: 100%;
  align-content: center;
}

.main-menu {
  gap: 2.5rem;
  box-sizing: border-box;
  list-style: none;
  padding: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  display: flex;
  justify-content: space-around;
  margin: 0 auto 0 0;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.main-menu a,
.main-menu .dd-menu-item {
  display: flex;
  height: 100%;
  align-items: center;
  cursor: pointer;
  transition: color 120ms ease-in-out;
}

.main-menu a:hover,
.main-menu .dd-menu-item:hover {
  color: var(--sapphirus-color-light);
}

.main-menu a {
  font-family: var(--font-main);
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  color: inherit;
  text-decoration: none !important;
  background: none;
  border: none;
  padding: 0;
}

.main-menu a img {
  max-height: 1rem;
  transition: filter 120ms ease-in-out;
}

.main-menu a:hover img {
  filter: invert(62%) sepia(10%) saturate(2493%) hue-rotate(137deg) brightness(98%) contrast(93%);
}

.dd-content {
  display: block;
  visibility: hidden;
  position: absolute;
  background-color: var(--sapphirus-color-grey);
  min-width: 10rem;
  box-shadow: 0 0 1.25rem -1rem black;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  margin-top: 0.5rem;
  opacity: 0;
  transition: visibility 200ms, opacity 200ms ease-in-out;
}

.dd-content a {
  display: inline-block;
  text-align: left;
  color: var(--sapphirus-color-dark);

}

.dd-menu-item:hover .dd-content {
  visibility: visible;
  opacity: 100%;
}

.main-page-start {
  background-color: var(--sapphirus-color-dark);
  padding: 0;
  color: white;

  .bg-image {
    padding: 14rem 0;
    background-image: url("../img/main-heading-bg.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 50vw;
  }

  .heading-container {
    display: flex;
    flex-flow: column wrap;
    gap: 1.25rem;
  }

  .secondary-text {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.5rem;
    text-align: left;
    color: #949BB1;
    margin: 0;
    max-width: 50%;
  }
}

.primary-text {
  font-family: var(--font-main-semibold);
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 5rem;
  text-align: left;
  margin: 0;
}

.text-center {
  text-align: center;
}

.text-blue {
  color: var(--sapphirus-color-dark);
}

@property --main-btn-color-1 {
  syntax: '<color>';
  initial-value: #EC2766;
  inherits: false;
}

@property --main-btn-color-2 {
  syntax: '<color>';
  initial-value: #EE3539;
  inherits: false;
}

.main-button,
.submit-button {
  display: inline-block;
  font-family: var(--font-main-semibold);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5rem;
  text-align: center;
  align-self: center;
  color: white;
  text-decoration: none !important;
  width: fit-content;

  background: linear-gradient(100deg, var(--main-btn-color-1), var(--main-btn-color-2));
  transition: all 250ms ease-in-out, --main-btn-color-1 250ms ease-in-out, --main-btn-color-2 250ms ease-in-out;
  border: none;
  cursor: pointer;

  padding: 1.5rem 3rem;
  border-radius: 2.5rem;

  &:hover {
    box-shadow: 0 0 4rem 0.5rem var(--main-btn-color);
    --main-btn-color-1: #EE3539;
    --main-btn-color-2: #EC2766;
  }
}

.submit-button {
  width: 12rem;
  height: 4.5rem;
  transition: all 400ms;
}

.submit-button span {
  opacity: 1;
  visibility: visible;
  transition: all 400ms;
}

.submit-button .success {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all 400ms;

  img {
    width: 60%;
    height: 60%;
    transform-origin: 50% 50%;
    transition: all 400ms;
  }
}

.submit-button.is_active {
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  cursor: default;
  box-shadow: none;

  span {
    opacity: 0;
    visibility: hidden;
  }

  .success {
    opacity: 1;
    visibility: visible;

    img {
      transform:
        translateY(-0.5rem) rotate(720deg) scale(1);
    }
  }
}


.main-page-about-us-section {
  background-color: var(--white);
  padding: 6rem 0 16rem 0;
  height: auto;
}

.about-us-section-content {
  margin: 4rem 0 0 0;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;

  .about-us-image {
    min-height: 18rem;
    max-height: 18rem;
    min-width: 18rem;
    max-width: 18rem;
    border-radius: 1rem;
    box-shadow: 0 0 1.25rem -1rem black;

    display: flex;
    flex-flow: column;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .about-us-image img {
    max-width: 8.25rem;
    max-height: 8.25rem;
  }

  .about-us-portrait {
    max-height: 25rem;
    border-radius: 1rem;
    box-shadow: 0 0 1.25rem -1rem black;

    display: flex;
    flex-flow: column;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .text-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .quote-text {
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 3rem;
    margin: 0;
    color: var(--sapphirus-color-light);
    text-align: right;
  }

  .about-us-secondary-text,
  .quote-author-label {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2rem;
    text-align: left;
    color: var(--sapphirus-color-dark);
    margin: 0;
  }

  .quote-author-label {
    font-size: 2rem;
    text-align: right;

    a {
      transition: color 120ms ease-in-out;
      cursor: pointer;
      color: inherit;

      &:hover {
        color: var(--sapphirus-color-light);
      }
    }
  }
}

.qualities-section {
  padding: 6rem 0;
  display: flex;
  flex-direction: column;

  .qualities-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding: 7.5rem 0 0 0;

    .qualities-row {
      display: flex;
      flex-direction: row;
      gap: 2.5rem;
      justify-content: space-between;
      max-width: 100%;

      .qualities-item {
        display: flex;
        flex-flow: column;
        padding: 0;
        align-items: center;
        gap: 1.5rem;
        max-width: 16rem;
        flex: 1 1;

        img {
          max-width: 16rem;
          max-height: 16rem;
          width: 100%;
        }

        p {
          max-width: 16rem;
          font-family: var(--font-main-semibold);
          font-style: normal;
          font-weight: 600;
          font-size: 1.5rem;
          line-height: 2rem;
          text-align: center;

          color: var(--sapphirus-color-dark);
        }
      }
    }
  }
}

.services-section {
  padding: 6rem 0;
  display: flex;
  flex-direction: column;

  min-height: 62.5rem;
}

.services-bg-img {
  z-index: -999;
  display: inline-block;
  align-self: center;
  position: absolute;
  max-width: 100vw;
  width: 62.5rem;
  min-height: 62.5rem;
  filter: contrast(100%) brightness(110%);
  background:
    linear-gradient(-30deg, var(--sapphirus-color-light), rgba(0, 0, 0, 0));
  clip-path: circle(50%);
}

.services-btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 6rem;
  width: 28rem;
  font-family: var(--font-main-semibold);
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1.75rem;

  align-items: center;
  color: var(--sapphirus-color-dark);
  text-decoration: none !important;

  background: var(--sapphirus-color-grey);
  transition: all 250ms ease-in-out;
  border: none;
  cursor: pointer;

  padding: 0 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 1.25rem -1rem black;

  &:hover {
    color: white;
    background: var(--sapphirus-color-dark);
  }
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 6rem 3.75rem;

  .services-row {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
  }
}

.tech-stack-section {
  padding: 6rem 0;
  display: flex;
  flex-direction: column;

  .tech-stack-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 7.5rem;
    flex: 1;

    align-items: center;

    background: var(--sapphirus-color-grey);

    border-radius: 1rem;

    img {
      margin: 0.5rem;
      max-height: 80%;
      max-width: 40%;
    }
  }

  .tech-stack-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;

    .tech-stack-row {
      display: flex;
      flex-direction: row;
      gap: 2rem;
      justify-content: center;
    }
  }
}

.contact-section {
  display: flex;
  flex-direction: column;
  color: white;
  background: linear-gradient(246.56deg, #071952 0.36%, #19557D 21.61%, #36B3C0 66.58%, #F2F5F5 99.44%);
  background-size: 100% 100%;
  padding: 6rem 0 12rem 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: 4rem 0 0 0;
  gap: 2rem;
  font-family: "Roboto";

  .contact-form-row {
    display: flex;
    flex-direction: row;
    gap: 4rem;
  }

  .submit-button-row {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
    align-items: center;
  }

  .form-message.red {
    color: #D85050;
  }

  .form-message.green {
    color: white;
  }

  .form-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;

    label {
      font-style: normal;
      font-weight: 300;
      font-size: 1.5rem;
      line-height: 1.5rem;
    }

    label img {
      height: 1.5rem;
    }

    textarea,
    .input-text {
      font-family: "Roboto";
      color: var(--sapphirus-color-light);
      min-height: 3rem;
      background: #EDEDED;
      border-radius: 0.5rem;
      font-size: 1.5rem;
      padding: 0 1rem;
      border: none;
    }

    .input-error {
      color: #D85050;
    }

    textarea {
      padding: 1rem;
      line-height: 2rem;
      height: 10rem;
    }

    .input-attachment {
      cursor: pointer;
      text-decoration: underline;
      text-decoration-color: transparent;
      transition: all 150ms ease-in-out;

      &:hover {
        text-decoration-color: white;
      }
    }
  }
}

footer {
  background-color: var(--sapphirus-color-dark);
  color: white;
  padding: 3rem 0;

  a {
    margin: 0;
    flex: 1;
    display: flex;
    height: 100%;
    align-items: center;
    transition: color 120ms ease-in-out;
    font-family: var(--font-main);
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    text-align: center;
    cursor: pointer;
    color: inherit;
    text-decoration: none !important;
    background: none;
    border: none;
    padding: 0;

    &:hover {
      color: var(--sapphirus-color-light);
    }
  }

  .sections {
    display: flex;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    flex-flow: row;
    flex-direction: row;
    height: fit-content;

    .section {
      display: flex;
      flex-flow: column;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      width: 100%;
      gap: 2rem;
      justify-content: start;
      height: auto;

      a {
        font-size: 1.25rem;
        font-weight: 400;
        line-height: 1.25rem;
        height: auto;
      }

      .subsections {
        display: flex;
        flex-flow: column;
        margin: 0;
        height: 100%;
        padding: 0;
        box-sizing: border-box;
        align-items: start;
        justify-content: start;
        text-align: start;
        gap: 1rem;

        a {
          font-size: 1rem;
          font-weight: 400;
          line-height: 1rem;
          flex-grow: 0;
        }
      }
    }
  }

}

.policy-section {
  padding: 1rem 0;
}

.policy {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.copyright {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

@media only screen and (max-width: 64rem) {

  /* @media only screen and (max-width: 52rem) { */
  .policy {
    flex-direction: column-reverse;
    align-items: center;
  }

  .policy .top-nav {
    margin: 0;
    align-self: center;
  }
}

.policy img {
  max-height: 2rem;
  max-width: 2rem;
}

.services-page-description-section {
  color: white;
  background: linear-gradient(var(--sapphirus-color-light) 2%, white);
  padding: 8rem 0 12rem 0;

  .services-page-secondary-text {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2rem;
    text-align: left;
    color: var(--sapphirus-color-dark);
    margin: 0 auto;
  }

  .services-page-secondary-title {
    font-family: var(--font-main-semibold);
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 2.5rem;
    color: white;
  }

  .services-text-container {
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 100%;
    padding: 6rem 0 0 0;
    box-sizing: border-box;
    flex: 2 2 0;
  }

  .services-description-container {
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    gap: 4.5rem;
  }

  img {
    max-width: 100%;
    width: 30rem;
    align-self: center;
  }
}

.services-page-section-title {
  font-family: var(--font-main-semibold);
  font-style: normal;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--sapphirus-color-light);
  margin: 0;
}

.services-offerring-section {
  box-sizing: content-box;
  border: 0.2rem solid #37B7C3;
  border-radius: 1rem;
  padding: 4.5rem;

  .offerring-image {
    max-width: 7.25rem;
  }

  .offerring-title {
    font-family: var(--font-main-semibold);
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.5rem;
    color: var(--sapphirus-color-light);
    margin: 0;
  }

  .offerring-description {
    font-family: var(--font-main-semibold);
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--sapphirus-color-dark);
    margin: 0;
  }

}

.services-features-section {

  padding: 6rem 0 12rem 0;
  gap: 6rem;

  .services-features-list {
    flex-wrap: wrap;
    row-gap: 6rem;
    align-items: start;

    .services-features-item {
      width: calc(100% / 3);
      justify-content: center;

      img {
        max-height: 6rem;
        max-width: 6rem;
      }

      p {
        font-family: var(--font-main-semibold);
        font-style: normal;
        font-weight: 600;
        font-size: 2rem;
        line-height: 2.5rem;
        color: var(--sapphirus-color-dark);
        text-align: center;
        max-width: 18.75rem;
      }
    }

    .services-features-item:nth-of-type(3n - 2) {
      margin: 0 0 0 auto;
    }

    .services-features-item:nth-of-type(3n - 1) {
      margin: 0 auto 0 0;
    }
  }
}

.services-steps-section {

  padding: 6rem 0 12rem 0;
  gap: 3rem;

  .services-steps-list {
    flex-wrap: wrap;
    gap: 2.25rem;

    .services-steps-item {
      gap: 2.25rem;

      img {
        max-height: 6rem;
        max-width: 6rem;
      }

      h1 {
        font-family: var(--font-main-semibold);
        font-style: normal;
        font-weight: 600;
        font-size: 2rem;
        line-height: 2.25rem;
        text-align: center;
        color: var(--sapphirus-color-light);
        margin: 0;
      }

      p {
        font-family: var(--font-main-semibold);
        font-style: normal;
        font-weight: 600;
        font-size: 1.75rem;
        line-height: 2rem;
        text-align: center;
        color: var(--sapphirus-color-dark);
        margin: 0;
      }
    }
  }
}

.faq-section {
  padding: 6rem 0 16rem 0;
  color: white;
  background: linear-gradient(var(--sapphirus-color-light), 20%, white);
}

.faq-list {
  font-family: var(--font-main-semibold);
  font-style: normal;

  details {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0 1.25rem -1rem black;
    padding: 1.25rem;
  }

  @media (prefers-reduced-motion: no-preference) {
    interpolate-size: allow-keywords;
  }

  details::details-content {
    opacity: 0;
    block-size: 0;
    overflow-y: clip;
    transition: all 400ms allow-discrete;
  }

  details[open]::details-content {
    padding-top: 0.75rem;
    opacity: 1;
    block-size: auto;
  }

  details summary {
    display: flex;
    justify-content: space-between;
    color: var(--sapphirus-color-dark) !important;
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.5rem;
    cursor: pointer;
  }

  details summary::after {
    content: "\002B";
    font-size: 3rem;
    font-weight: 1200;
    transition: all 400ms ease-in-out;
  }

  details p {
    color: var(--sapphirus-color-dark) !important;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 0;
  }

  details[open]>summary::after {
    transform: rotate(45deg);
  }

  details a,
  details a:visited {
    color: var(--sapphirus-color-light) !important;
  }
}

.document-section {
  color: var(--sapphirus-color-dark);
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

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

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

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

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35rem) {
  html {
    /* font-size: 1em; */
    font-size: calc(0.5rem + 0.625vw);
  }

  .main-button {
    align-self: unset;
  }

  .contact-form .submit-button-row {
    flex-direction: row;
  }

  .services-page-description-section .services-text-container {
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 0;
    padding: 6rem 0 0 0;
    box-sizing: border-box;
    flex: 2 2 0;
  }

  .services-page-description-section .services-description-container {
    display: flex;
    flex-direction: row;
    margin: 0;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    gap: 4.5rem;
  }

  .services-page-description-section img {
    max-width: 30rem;
    width: 0;
    flex: 1 1 0;
  }
}

@media only screen and (max-width: 85rem) {
  .container {
    max-width: 90vw;
  }

  .padded {
    padding: 0;
  }

  .services-offerring-section {
    box-sizing: border-box;
  }
}

@media only screen and (min-width: 85rem) {
  html {
    font-size: 1em;
  }

  .main-page-start .bg-image {
    background-size: 45rem 45rem;
  }
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@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;
  }

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

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

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