:root {
  --primary-color: #0000ff;
  --background-color: #ffffff;
  --background-color-2: #f0f0f0;
  --secondary-color: #ffffff;
  --text-color: #000000;
  --text-color-2: #000000;
  --font-family: "Montserrat", sans-serif;
  --hover-transition: .5s;
}

::selection {
  background-color: blue;
  color: black;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 15px;
  overscroll-behavior: none;
  font-weight: 500;
  visibility: hidden;
}

.page-container {
  transition: filter .3 ease-in-out;
  overscroll-behavior: contain;
}

.page-container.mega-menu-open {
  filter: grayscale(10%) brightness(60%);
}

.navbar {
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
  background-color: var(--background-color);
  box-sizing: border-box;
  box-shadow: 0 1px #75757533;
  top: 0;
  opacity: 0;
  margin-bottom: 0;
  position: sticky;
  z-index: 1000;
}

.page-loaded .navbar {
  opacity: 1;
  transition: opacity 1s ease-out;
  transition-delay: .5s;
}

.nav-img {
  box-sizing: border-box;
  height: 35px;
  user-select: none;
  margin-top: 5px;
}

.navbar ul {
  display: flex;
  box-sizing: border-box;
  gap: 24px;
  margin-bottom: 0;
  list-style-type: none;
}

.navbar ul li a {
  box-sizing: border-box;
  text-decoration: none;
  color: var(--text-color);
  transition: color .5s ease-out;
  font-size: 15px;
}

.navbar ul li {
  padding-bottom: 15px;
}

.navbar ul li a:hover {
  box-sizing: border-box;
  color: var(--primary-color);
}

.contact {
  margin-right: 6.25rem;
}

.navbar ul li a i {
  margin-left: 5px;
  scale: 0.75;
}

.mega-menu {
  opacity: 0;
  visibility: hidden;
  display: flex;
  background-color: #ffffff;
  position: absolute;
  top: 100%;
  width: 90%;
  margin-left: 45px;
  margin-right: 1.875rem;
  border-radius: 0.625rem;
  padding: 1.25rem;
  left: 0;
  transform: translateY(12.5rem);
  z-index: 10;
  justify-content: space-between;
  transition: opacity .5s ease-out, visibility .5s ease-out, transform .5s ease-out;
  margin-top: 5px;
}

.mega-menu.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mega-menu-column h3 {
  color: #898989;
  font-size: 15px;
}

.mega-menu-link-heading {
  font-weight: bold;
  margin-bottom: 0;
  transition: color .5s ease-out;
  color: var(--text-color);
}

.mega-menu-link-description {
  margin-top: 5px;
  color: #5a5a5a;
}

a {
  text-decoration: none;
}

.mega-menu-column {
  flex: 1;
  padding-right: 1.25rem;
  margin-right: 1.25rem;
  border-right: 1px solid #f1f1f1;
}

.mega-menu-column:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.mega-menu-link-heading:hover {
  color: var(--primary-color);
}

.mega-menu-link-icon img {
  height: 32px;
}

.mega-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
}

.mega-menu-link {
  border-bottom: 2px solid white;
  transition: border-bottom .5s ease-out;
}

.mega-menu-link.active {
  border-bottom: 2px solid blue;

  .nav-services a {
    color: var(--primary-color);
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease-in-out, visibility 0s linear .3s;
  cursor: pointer;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease-in-out, visibility 0s linear 0s;
}

.navbar-btn button {
  background-color: var(--primary-color);
  padding: 0.625rem 1.25rem;
  border-radius: 1.875rem;
  border: none;
  font-size: inherit;
  font-family: var(--font-family);
  transition: background-color 0.5s ease-out;
  color: white;
  font-weight: 500;
}

.navbar-btn button:hover {
  background-color: rgb(0, 0, 150);
}

.navbar-btn {
  align-content: center;
  margin-right: 1.25rem;
  margin-bottom: 5px;
}

/* End Of Navigation Bar */
/* Beginning Of Site */
.page-title {
  font-size: 65px;
  margin-top: 3.125rem;
  font-weight: normal;
  margin-left: 1.875rem;
  user-select: none;
}

.page-title .word-holder .title-character {
  opacity: 0;
}

.page-loaded .page-title .word-holder .title-character {
  opacity: 1;
  transition: opacity .5s ease-out;
}

.word-holder {
  white-space: nowrap;
  display: inline-flex;
}