:root {
  --rtm-body-bg: #ffffff;
  --rtm-footer-bg: #000000;

  --rtm-text-blue: #153cc7;
  --rtm-text-light: #ffffff;
  --rtm-text-dark: #000000;

  --rtm-blue-extra-light: #dfe6ff;
  --rtm-blue-light: #8098d9;
  --rtm-blue-dark: #153cc7;
  --rtm-blue-dark-hover: #1437b7;

  --body-font: "Overpass", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  --body-font-size: 1.1rem;
  --body-font-size-mobile: 1rem;
}

/* =-= General =-= */

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 5rem;
}

.row {
  scroll-margin-top: 12rem;
}

body {
  --bs-body-font-family: var(--body-font);
  --bs-body-bg: var(--rtm-body-bg);
  --bs-body-color: var(--rtm-text-dark);
  --bs-body-font-size: var(--body-font-size-mobile);
}

@media screen and (min-width: 992px) {
  body {
    --bs-body-font-size: var(--body-font-size);
  }
}

li.nav-item {
  margin-top: 0.5rem;
}

.mt-10 {
  margin-top: 10rem;
}

.mt-6 {
  margin-top: 6rem;
}

.mt-lg-6 {
  margin-top: 3rem;
}

@media screen and (min-width: 992px) {
  .mt-lg-6 {
    margin-top: 8rem !important;
  }
}

.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.my-6 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
}

h2 {
  font-weight: 900;
  margin-bottom: 1rem;
}

h2.cta-header {
  font-size: 2.75rem;
}

p {
  font-weight: 400;
}

p.text-blue {
  color: var(--rtm-blue-light);
}

h2.services-heading {
  font-size: 3.5rem;
}

/* =-= Backgrounds =-= */
.bg-light-blue {
  position: relative;
}

.bg-light-blue::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;
  z-index: -1;
  background-color: var(--rtm-blue-extra-light);
}

.bg-dark-blue {
  position: relative;
  color: var(--rtm-text-light) !important;
}

.bg-dark-blue::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;
  z-index: -1;
  background-color: var(--rtm-blue-light);
}

/* =-= Buttons =-= */

.btn-primary {
  --bs-btn-color: var(--rtm-text-light);
  --bs-btn-bg: var(--rtm-blue-dark);
  --bs-body-line-height: 1;
  --bs-btn-padding-x: 2.25rem;

  --bs-btn-hover-bg: var(--rtm-blue-dark-hover);
  --bs-btn-hover-border-color: var(--rtm-blue-dark-hover);

  --bs-btn-active-bg: var(--rtm-blue-dark-hover);
  --bs-btn-active-border-color: var(--rtm-blue-dark-hover);
  --bs-btn-active-shadow: unset;

  --bs-border-radius: 0;
  padding-bottom: 0.2rem;
}

/* =-= Navigation =-= */

nav.navbar {
  --bs-navbar-padding-y: 1rem;
  --bs-navbar-color: var(--rtm-text-blue);
  --bs-navbar-hover-color: var(--rtm-text-blue);
  --bs-navbar-active-color: var(--rtm-text-blue);
  --bs-navbar-nav-link-padding-x: 1rem;

  background-color: var(--rtm-blue-extra-light);
  font-size: var(--body-font-size);
}

nav.navbar .nav-item .nav-link {
  text-decoration-color: var(--rtm-blue-light);
  transition: all 0.25s ease-in-out;
}

nav.navbar .nav-item .nav-link.active {
  text-decoration: underline;
  text-decoration-color: var(--rtm-blue-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

nav.navbar .nav-item .nav-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--rtm-blue-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;

  transition: all 0.25s ease-in-out;
}

/* =-= Header =-= */
header {
  height: 70vh;

  overflow: hidden;
}

header .header-height {
  height: calc(100% - 2rem) !important;
}

header .hero-content {
  position: relative;
  z-index: 3;
}

header .hero-image {
  height: 70vh;

  background: url("../../assets/images/header.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  position: relative;
}

header .arrow {
  height: calc(100% - 65px);
}

header .h-adjusted {
  height: calc(100% - 355px);
}

@media screen and (min-width: 992px) {
  header .h-adjusted {
    height: calc(100% - 712px);
  }
}

@media screen and (min-width: 1400px) {
  header .h-adjusted {
    height: calc(100% - 412px);
  }
}

header .hero-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  z-index: 0;

  background: linear-gradient(
    90deg,
    rgba(128, 152, 217, 1) 0%,
    rgba(245, 110, 40, 0) 83%
  );
}

header .hero-content .hero-title h1 {
  color: var(--rtm-text-light);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 120%;
}

@media screen and (min-width: 992px) {
  header .hero-content .hero-title h1 {
    font-size: 4.75rem;
  }
}

/* =-= Content =-= */
.content-card {
  border-radius: 1.25rem;
  color: var(--rtm-text-light) !important;
  padding: 2.5rem;
}

.content-card.light {
  background-color: var(--rtm-blue-light);
}

.content-card.dark {
  background-color: var(--rtm-blue-dark);
}

.article-image-wrapper {
  position: relative;

  height: 100%;
  width: 100%;
}

.article-image-wrapper img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  border-radius: 1rem;
}

@media screen and (min-width: 992px) {
  .article-image-wrapper img {
    position: absolute;
    bottom: 0;
    left: 0;

    height: calc(100% + 6rem);
  }
}

.project-image {
  height: 290px;
  width: auto;

  border-radius: 1rem;

  aspect-ratio: 4/3;
  object-fit: cover;
}

hr.website-spacer {
  border: none;
  outline: none;

  height: 100%;
  opacity: 1;
  width: 2px;
  margin: 0;

  background-color: var(--rtm-blue-light);
}

/* =-= Footer =-= */

footer {
  background-color: var(--rtm-footer-bg);

  padding-top: 4.5rem;
  padding-bottom: 2.5rem;

  color: var(--rtm-text-light);
}

footer hr {
  border: none;
  outline: none;

  height: 2px;
  opacity: 1;
  width: 100%;

  background-color: var(--rtm-blue-light);
}

footer li::marker {
  color: var(--rtm-blue-light);
}

footer a {
  text-decoration: none;
  color: var(--rtm-text-light);
}

a.text-dark {
  color: var(--rtm-text-dark) !important;
  text-decoration: none;
}

a:not(.btn):hover {
  text-decoration: underline;
}

img.logo {
  max-width: 316px;
}

@media screen and (min-width: 992px) {
  img.logo {
    max-width: unset;
  }
}

.row .arrow {
  animation: up-down 1s infinite;
}

@keyframes up-down {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0.5rem);
  }

  100% {
    transform: translateY(0);
  }
}
