*,
*:before,
*:after {
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 17px;
  background-color: #292929;
  color: #fff;
}

/*----- \standard animation keyframe -----*/
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*----- /standard animation keyframe -----*/

::selection {
  color: #fff;
  background: rgba(21, 21, 21, 0.75);
}
::-moz-selection {
  color: #fff;
  background: rgba(21, 21, 21, 0.75);
}

.feather {
  height: 1em;
  margin-top: -4px;
  pointer-events: none;
  vertical-align: middle;
  width: 1em;
}

.light-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.dark-shadow {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

.brand-font {
  font-family: "Merriweather Sans", sans-serif;
}

.brand-color {
  color: #f7b011;
}

.fade-link:link:not(.btn),
.fade-link:visited:not(.btn) {
  color: inherit !important;
  background-color: transparent !important;
  border-radius: 0;
  padding: 0;

  -webkit-transition: all 200ms ease-out 0s;
  transition: all 0.2s ease-out 0s;
}

.fade-link:hover:not(.btn),
.fade-link:active:not(.btn) {
  color: inherit !important;
  opacity: 0.7;
  background-color: transparent;
}

.no-link-style:link,
.no-link-style:visited,
.no-link-style:hover,
.no-link-style:active {
  color: inherit !important;
  background: none !important;
  text-decoration: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  text-shadow: none !important;
  padding: 0 !important;

  -webkit-transition: none;
  transition: none;
}

/*----- \nav -----*/

.navbar {
  position: absolute;
  z-index: 666;
  width: 100%;
}

.navbar::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  top: 0;
  bottom: -100%;
  left: 0;
  right: 0;
}

@media (max-width: 992px) {
  .navbar {
    position: relative;
    background-color: #292929;
    box-shadow: 0 0.4px 2.2px rgba(0, 0, 0, 0.02),
      0 1px 5.3px rgba(0, 0, 0, 0.028), 0 1.9px 10px rgba(0, 0, 0, 0.035),
      0 3.4px 17.9px rgba(0, 0, 0, 0.042), 0 6.3px 33.4px rgba(0, 0, 0, 0.05),
      0 15px 80px rgba(0, 0, 0, 0.07);
  }

  .navbar::before {
    display: none;
  }
}

.navbar-brand {
  font-weight: bold;
}

.navbar-brand img {
  max-width: 180px;
}

.nav-item {
  font-size: 1.05rem;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-brand {
  color: rgba(255, 255, 255, 0.95);

  -webkit-transition: all 100ms ease-out 0s;
  transition: all 0.1s ease-out 0s;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.7;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }
}

/*----- /nav -----*/

/*------------------------- PAGE SPECIFIC STYLES -----*/

/*-- \buttons --*/

.btn-primary {
  color: #181818;
  background-color: #f9d978;
  border-color: #f9d978;
  border-radius: 8px;
  padding: 4px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 0.4px 2.2px rgba(0, 0, 0, 0.02),
    0 1px 5.3px rgba(0, 0, 0, 0.028), 0 1.9px 10px rgba(0, 0, 0, 0.035),
    0 3.4px 17.9px rgba(0, 0, 0, 0.042), 0 6.3px 33.4px rgba(0, 0, 0, 0.05),
    0 15px 80px rgba(0, 0, 0, 0.07);
}

/*-- /buttons --*/

/*-- \home --*/

header {
  position: relative;
  background-image: url("./home-header.jpg");
  background-position: center;
  background-size: cover;
  min-height: 500px;
  border-bottom: 8px solid #fff;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

@media (max-width: 992px) {
  header {
    min-height: 320px;
    background-position: 62%;
  }
}

.lead-slug {
  font-size: 57px;
}

@media (max-width: 992px) {
  .lead-slug {
    font-size: 42px;
  }
}

.img-mark-right {
  border-right: 4px solid #f7b011;
}

.img-mark-left {
  border-left: 4px solid #f7b011;
}

.service__container {
  display: flex;
  flex-flow: column nowrap;
  /* justify-content: center; */
  min-height: 100%;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 10px;
}

.service__icon {
  position: absolute;
  background-color: #292929;
  width: 110px;
  border: 2px solid #fff;
  border-radius: 100px;
  margin: -56px 0 0;
  padding: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 767px) {
  .service__container__margin-adjust {
    margin-top: 90px;
  }
}

#contact-info {
  background-color: #fff;
  color: #292929;
}

/* SPLIDEJS */

.splide__pagination {
  bottom: -1.75rem;
}

.splide__slide {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.1);
  /* color: #292929; */
  transform: scale(0.93);
  border-radius: 6px;
  overflow: hidden;

  -webkit-transition: all 200ms ease-out 0s;
  transition: all 0.2s ease-out 0s;
}

.splide__slide.is-active img {
  border-bottom: 7px solid #f7b011;
}

.splide__slide.is-active {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1);
  /* margin-right: 1.5rem!important; */
}

@media (max-width: 992px) {
  .splide__slide,
  .splide__slide.is-active {
    transform: scale(1);
  }
  .splide__slide.is-active img {
    border: none;
  }
}

.splide__track::before,
.splide__track::after {
  position: absolute;
  content: "";
  z-index: 666;
}

.splide__arrow--prev {
  left: -3em;
}

.splide__arrow--next {
  right: -3em;
}

/* .splide__track::before {
  background: linear-gradient(90deg, rgba(41,41,41,0), rgba(41,41,41,1));
  top: 0; bottom: 0; left: calc(100% - 7rem); right: 0;
} */

/* .splide__track::after {
  background: linear-gradient(90deg, rgba(41,41,41,1), rgba(41,41,41,0));
  top: 0; bottom: 0; left: 0; right: calc(100% - 7rem);
} */

.back-to-top {
  background-color: #171717;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 767px) {
  .back-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 40px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    padding-bottom: env(safe-area-inset-bottom);
  }
}
