html, body {
  overflow-x: hidden;
  /* Prevent scroll on narrow devices */
}

body {
  font-size: 20px;
}

p {
  color: #666;
}

.madeby {
  font-size: 0.7em;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-collapse {
    margin-right: 30px;
  }

  .offcanvas-collapse {
    position: fixed;
    top: 56px;
    /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 80%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #fff;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: left, visibility;
  }

  .offcanvas-collapse.open {
    left: 65%;
    visibility: visible;
  }
}

.section-container {
  margin: 0 auto;
  width: 100%;
  background-color: #fff !important;
}

.section-container-inner {
  margin: 0 auto;
  padding: 70px 20px 0;
  max-width: 1000px;
}

/* =============================================================

================================================================ */
.contact-banner {
  background-color: #404040 !important;
  text-align: center;
  margin-bottom: 0;
}

.contact-banner p {
  color: white;
  text-decoration: none;
  line-height: 25px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 2px;
  font-family: none;
  font-weight: 500;
  margin: 0;
}

#about, #portfolio, #contact {
  transition: 1s;
}

#contact {
  text-align: center;
  font-size: 17px;
  font-family: none;
  line-height: 25px;
}

.navbar-brand {
  font-family: Times;
  font-size: 1.5em;
  position: absolute;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
}

.logo {
  font-size: 24px;
  height: 4.4em;
  width: 4.5em;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #c8f0fe;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 {
  color: rgba(255, 255, 255, .5);
}

.bg-purple {
  background-color: #6f42c1;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.lh-100 {
  line-height: 1;
}

.lh-125 {
  line-height: 1.25;
}

.lh-150 {
  line-height: 1.5;
}

/* =============================================================

================================================================ */
.header-image {
  margin: 0 auto;
  width: 100%;
  height: 350px;
}

.content-image-portrait {
  margin: 0px 50% 40px;
  width: 50%;
  transform: translate(-50%);
}

.content-image-landscape {
  width: 100%;
}

.portfolio-container {
  margin: 0 auto;
  padding: 0 12px;
}

.portfolio-item {
  height: 250px;
  overflow: hidden;
  width: 100%;
}

.portfolio-image {
  margin: 5px auto;
  max-height: 250px;
  width: 100%;
}

.testimonial-section {
  margin: 0 auto;
  background-color: #457B9d;
  width: 100vw !important;
}

.testimonial-container {
  padding: 75px 0 100px;
  margin: 0 auto;
  background-color: inherit !important;
}

.testimonial {
  padding: 60px 0;
  margin: 0 35px;
}

.page-footer, .footer-link, .page-footer p {
  color: #444;
  font-size: .95em;
  transition: .3s;
  /* background-color: #1d3557; */
}

.footer-link:active, .footer-link:hover {
  opacity: .8;
  text-decoration: none;
}

@media (min-width: 550px) {
  .header-image {
    height: 500px;
  }

  .content-image-portrait {
    margin: 0 auto;
    width: 100%;
    transform: none;
    height: 400px;
    width: 260px;
  }

  .portfolio-container {
    display: flex;
    margin: 0 auto;
  }

  .portfolio-item {
    margin: 10px;
    height: 250px;
    overflow: hidden;
    width: 32%;
  }

  .portfolio-image {
    height: 250px;
  }
}

@media (min-width: 756px) {
  .section-container {
    margin: 0 auto;
    max-width: 1300px;
  }

  .pt-10 {
    padding-top: 100px !important;
  }

  .pt-15 {
    padding-top: 150px !important;
  }

  .pb-10 {
    padding-bottom: 100px !important;
  }

  .header-image {
    height: 700px;
  }

  .flexy-bigger {
    display: flex;
    justify-content: space-around;
  }

  .content-image-portrait {
    margin: 6px 20px 0 5px;
    height: 400px;
    width: 260px;
  }

  .content-image-landscape {
    margin: 6px 5px 0 30px;
    height: 270px;
    width: 430px;
  }

  .testimonial-section {
    margin: 0 auto;
    background-color: #457B9d;
    width: 100vw !important;
  }

  .testimonial-container {
    background-color: inherit !important;
    display: flex;
    padding: 75px 0;
    margin: 0 auto;
    justify-content: space-around;
    align-items: space-around;
  }

  .testimonial {
    padding: 0;
    margin: 0 35px;
  }
}

/*======================== Header ==========================*/
.navbar {
  width: 100%;
  padding: 10px 0px;
}

.logo {
  display: inline-block;
  margin: 0 auto;
}

.navbar-nav {
  display: block;
  padding: 0px;
  text-align: center;
  width: 100%;
}

.navbar-nav .nav-link {
  color: #444;
  display: inline-block;
  padding: 0 5px;
  text-decoration: none;
  line-height: 25px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: none;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
