html, body {
  overflow-x: hidden;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.white {
  color: #fff;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
}

.op-bg {
  background: #12103a;
  min-height: 850px;
}

.op-bg-empty {
  background: #12103a;
  min-height: 850px;
}

ol, ul {
  padding-left: 0;
}

li a {
  text-decoration: none;
  color: #EE3B24;
}

ul {
  list-style-type: none;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #fff;
  opacity: 0.6;
}

/* Navbar */
.navbar {
  color: #fff;
  z-index: 1;
}

.navbar-nav li {
  padding-top: 10px;
  padding-bottom: 10px;
  letter-spacing: 0.2px;
  font-size: 15px;
  font-weight: bold;
}

.navbar-nav li {
  padding: 0 20px 0 20px;
}

.nav-link {
  color: #fff;
}

.nav-link:hover {
  opacity: 0.6;
  color: #fff;
}

.navbar-toggler {
  background-color: #fff;
  border: 1px solid #fff;
}

div#navbarNavDropdown {
  padding: 10px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: #EE3B24;
}

/*Carousel */
div#myCarousel .carousel-item {
  top: -99px;
}

.opac-bg {
  opacity: 0.3;
}

.carousel-caption {
  top: 40%;
}

.carousel-button {
  padding-top: 20px;
}

.carousel-sub {
  padding-top: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
}

.carousel-caption h1 {
  font-size: 41px;
  font-weight: bold;
  line-height: 1.4;
  padding-top: 20px;
}

.carousel-indicators {
  top: 12%;
  right: inherit;
}

.carousel-inner {
  overflow: initial;
}

.carouselcaption {
  margin-top: 60px;
  color: #fff;
}

.carouselcaption h1 {
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 40px;
}

.carouselbutton {
  margin-top: 40px;
}

.carouselsub {
  padding-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
}

/* Button Styles */
.btn-op {
  color: #fff;
  background: #e9045a;
  background: linear-gradient(90deg, #e9045a 0%, #e92304 50%, #EE3B24 100%);
  padding: 14px 32px 15px;
  font-size: 1rem;
}

.btn-op:hover {
  color: #fff;
}

.btnop {
  background-color: #EE3B24;
  color: #fff;
  border: 0;
}

.btnop a {
  color: #fff;
}

.btn-xl {
  padding: 0.8rem 8rem;
  font-size: 1.25rem;
  border-radius: 0;
}

.btn-light {
  padding: 5px 32px 5px;
}

.btn-light a {
  color: #fff;
}

.btn-light:hover a {
  color: #212529;
}

/* Section */
section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.slanted-div {
  position: relative;
  padding-top: 100px;
  background: #0e0b2a;
  overflow: visible;
  z-index: 1;
}

/* where the magic happens */
.slanted-div:before, .slanted-div:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  top: -20px;
  transform-origin: left top;
  transform: skewY(-6deg);
}

.slanted-div:after {
  bottom: 0;
  transform-origin: left bottom;
  transform: skewY(-6deg);
}

.slanted-div-alt {
  position: relative;
  padding: 100px 0;
  background: #13171a;
  color: #fff;
  overflow: visible;
  z-index: 1;
}

/* where the magic happens */
.slanted-div-alt:before, .slanted-div-alt:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  top: 0;
  transform-origin: left top;
  transform: skewY(-6deg);
}

.slanted-div-alt:after {
  bottom: 0;
  transform-origin: left bottom;
  transform: skewY(-6deg);
}

.slanted-div-alt-white {
  position: relative;
  padding: 200px 0;
  background: #fff;
  color: #212529;
  overflow: visible;
  z-index: 1;
}

/* where the magic happens */
.slanted-div-alt-white:before, .slanted-div-alt-white:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  top: 0;
  transform-origin: left top;
  transform: skewY(-6deg);
}

.slanted-div-alt-white:after {
  bottom: 0;
  transform-origin: left bottom;
  transform: skewY(-6deg);
}

.slanted-div-main {
  position: relative;
  padding-top: 100px;
  background: #fff;
  overflow: visible;
  z-index: 1;
}

/* where the magic happens */
.slanted-div-main:before, .slanted-div-main:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: inherit;
  z-index: -1;
  top: 0;
  transform-origin: left top;
  transform: skewY(-6deg);
}

.slanted-div-main:after {
  bottom: 0;
  transform-origin: left bottom;
  transform: skewY(-6deg);
}

.implementation {
  background-color: #0e0b2a;
  color: #acbaca;
  margin-top: -10px;
}

.development {
  color: #fff;
  background: #13171a;
}

.digitalAgency {
  color: #fff;
}

/* Section Heading */
.section-heading {
  font-family: "Open Sans", sans-serif;
  color: #EE3B24;
  font-size: 24px;
  font-weight: bold;
}

.section-heading-secondary {
  font-size: 36px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  padding-bottom: 20px;
}

/* Card */
.card {
  border-radius: 10px;
  border: 0;
  height: 510px;
}

.card:hover {
  background-color: #1b185d;
}

.imp-cards {
  margin-top: 20px;
}

/*
flip card
*/
.card-flip > div {
  backface-visibility: hidden;
  transition: transform 300ms;
  transition-timing-function: linear;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
}

.card-front {
  transform: rotateY(0deg);
  padding: 30px;
  background-color: #fff;
}

.card-back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  padding: 30px;
  color: #fff;
  background-color: #1b185d;
}

.card-back p {
  text-align: left;
}

.card-flip:hover .card-front {
  transform: rotateY(-180deg);
}

.card-flip:hover .card-back {
  transform: rotateY(0deg);
}

.card-title {
  text-align: center;
  font-weight: bold;
  color: #161819;
}

.card-title-sub {
  color: #203b53;
  text-align: center;
  display: block;
  font-weight: bold;
}

.card-body {
  min-height: 190px;
  padding: 0;
  text-align: center;
}

.card-body img {
  padding-top: 20px;
  padding-bottom: 20px;
}

.card-one {
  margin-top: 20px;
}

img.op-payment-card.aos-init.aos-animate {
  z-index: 99;
  top: 100px;
  position: relative;
  transform: rotate(-20deg);
}

/*Section Specific */
/* Implementation*/
.op-sec-title {
  padding-top: 40px;
}

.implementation .section-heading-secondary {
  color: #fff;
}

/* Development */
.development-icons {
  margin-top: 100px;
}

.icon-dev {
  text-align: center;
  font-size: 18px;
  padding-bottom: 30px;
}

.icon-dev img {
  display: block;
  padding-bottom: 30px;
  margin: 0 auto;
}

/* Design */
.digital-spacer {
  padding-top: 50px;
}

.card-description {
  padding-top: 30px;
}

.code-bg {
  background-color: #171b1f;
}

.hljs {
  background-color: #171b1f;
  color: #fff;
}

.hljs-section, .hljs-title {
  color: #5248ee;
  font-weight: 700;
}

.hljs-string {
  color: #5248ee;
}

/* Footer Styles */
.footer-menu {
  float: right;
  list-style: none;
  font-weight: bold;
  font-size: 24px;
  text-align: right;
  color: #EE3B24;
}

footer hr {
  margin-top: 100px !important;
  margin-bottom: 100px;
}

@media (min-width: 768px) {
  .carousel-caption {
    top: 35%;
  }

  div#myCarousel .carousel-item {
    top: -179px;
  }

  .carousel-indicators {
    top: 5%;
  }

  .carousel-caption h1 {
    font-size: 60px;
    line-height: 1.1;
  }

  .carousel-sub {
    font-size: 20px;
  }

  .carouselcaption h1 {
    font-size: 53px;
  }
}
@media (min-width: 1200px) {
  .op-bg {
    background-image: url("https://weareoutpost.ca/img/op-bg.webp");
    background-repeat: no-repeat;
    background-position: top left;
  }

}
