/* =================================================

Template Name: Magnificent Personal Portfolio HTML Template
Author: Christian Owusu Yaw
Version: 1.0
Design and Developed by: OwusuTheme

NB: This file contains the styling for the actual theme, this is the file you need to edit to change the look of the theme.

=================================================== */

/*Table of Content


    1. Default css
    2. Preloader css
    3. Mouse Animation css
    4. Nav Area css
    5. Banner Area css
    6. About Area css
    7. Services Area css
    8. Number Area css
    9. Portfolio Area css
    10. Testimonial Area css
    11. Contact Area css
    12. Brand Area css
    13. Footer Area css


*/
* {
  box-sizing: border-box;
}
html,
body {
  font-family: "Roboto", sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
  height: 100%;
  width: 100%;
}
/*-------------- 1. Preloader css starts ---------------*/

.loader_bg {
  position: fixed;
  z-index: 9999999;
  background: #fff;
  width: 100%;
  height: 100%;
}

.loader {
  border: 0 solid transparent;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  position: absolute;
  top: calc(50vh - 75px);
  left: calc(50vw - 75px);
}

.loader:before,
.loader:after {
  content: "";
  border: 1em solid #0076ff;
  border-radius: 50%;
  width: inherit;
  height: inherit;
  position: absolute;
  top: 0;
  left: 0;
  animation: loader 2s linear infinite;
  opacity: 0;
}

.loader:before {
  animation-delay: 0.5s;
}

@keyframes loader {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
/*--2. Start Navigation ---*/
nav.navbar .navbar-brand {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 36px;
  color: #f1f1f1;
  font-family: sans-serif;
}
button i {
  color: #fff;
}
.navbar .navbar-nav {
  text-align: center;
  font-weight: 600;
}
.navbar .nav-item a {
  position: relative;
  margin-right: 10px;
  padding: 20px 0;
}
.navbar .nav-item .nav-link.active {
  color: #0076ff !important;
}
.navbar .nav-item .nav-link.active::before {
  content: "";
  position: absolute;
  background: #0076ff;
  color: #0076ff;
  width: 50px;
  height: 1px;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -20%);
}
.navbar .nav-item .nav-link.active::after {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 50px;
  height: 1px;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -85%);
}
.navbar .nav-item:hover a {
  color: #0076ff !important;
}
.navbar .navbar-nav .nav-item a:hover::before {
  content: "";
  position: absolute;
  background: #0076ff;
  color: #0076ff;
  width: 50px;
  height: 1px;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -20%);
}
.navbar .navbar-nav .nav-item a:hover::after {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 50px;
  height: 1px;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -85%);
}
/*----3. Home----*/
section#home {
  background: url("../img/road.jpg") -200px;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 1000px;
  position: relative;
}
#particles-js {
  height: 100%;
  width: 100%;
}
.banner-area {
  background-image: url(../img/road.jpg); /*--edit image--*/
  background-position: center;
  background-size: cover;
  position: relative;
  height: 100%;
}

.banner-area::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  content: "";
}

canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.banner-table {
  display: table;
  margin: 0;
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.banner-table-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.welcome-text .intro h2 {
  color: #fff;
  font-size: 85px;
  font-weight: 800;
  margin-bottom: 10px;
}

.intro h1 {
  color: #0076ff;
  font-size: 60px;
  font-weight: 400;
  margin: 0;
}

.ah-headline.clip .ah-words-wrapper::after {
  background-color: #fff;
}

.banner-btn {
  /* background: #0076ff; */
  text-decoration: none;
  font-weight: bold !important;
  padding: 10px 30px;
  display: inline-block;
  margin-top: 25px;
  color: #fff;
  text-transform: uppercase;
  border-color: #ddd;
  border-width: medium;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}
.banner-btn:hover,
.banner-btn:focus {
  text-decoration: none;
  color: #ffffff;
}

.welcome-text h3 {
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}
/*--- 4. Mouse animation starts---*/

@-webkit-keyframes scroll-ani {
  0% {
    opacity: 1;
    top: 29%;
  }
  15% {
    opacity: 1;
    top: 50%;
  }
  50% {
    opacity: 0;
    top: 50%;
  }
  100% {
    opacity: 0;
    top: 29%;
  }
}

@keyframes scroll-ani {
  0% {
    opacity: 1;
    top: 29%;
  }
  15% {
    opacity: 1;
    top: 50%;
  }
  50% {
    opacity: 0;
    top: 50%;
  }
  100% {
    opacity: 0;
    top: 29%;
  }
}

.mouse-scroll {
  position: absolute;
  left: 48%;
  display: inline-block;
  line-height: 18px;
  font-size: 13px;
  font-weight: normal;
  color: #ffffff;
  letter-spacing: 2px;
  margin-top: 10%;
  text-decoration: none;
  overflow: hidden;
}
.mouse-scroll .mouse {
  position: relative;
  display: block;
  width: 35px;
  height: 60px;
  margin: 0 auto 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 3px solid #0076ff;
  border-radius: 23px;
}
.mouse-scroll .mouse .mouse-movement {
  position: absolute;
  display: block;
  top: 29%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #0076ff;
  border-radius: 50%;
  -webkit-animation: scroll-ani 2s linear infinite;
  animation: scroll-ani 2s linear infinite;
}
/*---mouse animation ends---*/
/*---Home End----*/

/*--- 5. About Section ---*/
section#about .row h2 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 36px;
  color: #212121;
  font-family: sans-serif;
  line-height: 1;
  text-align: right;
  margin-bottom: 10px;
}
section#about .row h3.heading {
  color: #212121;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: right;
  font-weight: 900;
  margin-bottom: 18px;
}
section#about .row p.end {
  text-align: right;
  font-size: 16px;
  color: #222;
}
section#about .row .col-md-6 button {
  text-transform: uppercase;
  float: right;
  font-weight: 600;
  border-radius: 0 !important;
}
section#about .col-md-6 img {
  max-width: 100%;
  width: 100%;
  height: 330px;
  filter: grayscale(0.9);
}
section#about .col-md-6 img:hover {
  filter: grayscale(0);
}
section#about .mt-4 h4 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
}
section#about .mt-4 h6 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  font-family: Georgia, "Times New Roman", Times, serif;
}
/*--- End About Section ---*/

/*--- 6. Start Service Section ----*/
section#services {
  background-image: url("../img/bannar_15.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
section#services h2 {
  position: relative;
  text-align: center;
  padding: 25px;
}
section#services h2::before {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 120px;
  height: 2px;
  left: 50%;
  top: 20%;
  -webkit-transform: translate(-50%, -20%);
  -ms-transform: translate(-50%, -20%);
  transform: translate(-50%, -20%);
  -webkit-transition: 0.6s;
  -ms-transition: 0.6s;
  transition: 0.6s;
}
section#services h2::after {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 120px;
  height: 2px;
  left: 50%;
  top: 85%;
  -ms-transform: translate(-50%, -85%);
  -webkit-transform: translate(-50%, -85%);
  transform: translate(-50%, -85%);
  -ms-transition: 0.6s;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

/*---- End About Section ---*/

/*---- 7. Start Services Section ---*/
section#services .row {
  text-align: center;
}
section#services .row h4 {
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 20px;
}
section#services .slide i.fa {
  font-size: 35px;
  color: #0076ff;
  transition: all 0.9s;
}
section#services .slide:hover i.fa {
  font-size: 35px;
  color: #fff;
  -ms-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
section#services .slide:hover h4 {
  color: #0076ff;
  -ms-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

/*--- 8. Start Counter Section---*/
section#counter {
  background-color: #0077ffea;
  color: #fff;
  padding-top: 30px;
}
section#counter .row {
  text-align: center;
}
section#counter .row .col-xs-6 {
  padding: 20px;
  margin: auto;
}
section#counter .row i {
  font-size: 35px;
}
/*---- End Serivices Section ---*/

/*----9. Start Portfolio Section ---*/
#portfolio h2 {
  text-align: center;
}
.por-text-details .col-xs-4 p {
  font-weight: bold;
  text-transform: uppercase;
  color: #007bff;
}

.mfp-zoom-out .mfp-with-anim {
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transform: scale(1.3);
}
.mfp-zoom-out.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.mfp-zoom-out.mfp-ready .mfp-with-anim {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.mfp-zoom-out.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-zoom-out.mfp-removing .mfp-with-anim {
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transform: scale(1.3);
  opacity: 0;
}
.mfp-zoom-out.mfp-removing.mfp-bg {
  opacity: 0;
}
.por-text h2 {
  text-transform: uppercase;
  margin: 0;
  font-size: 22px;
  margin-bottom: 15px;
  border-bottom: 3px solid #007bff;
  padding-bottom: 10px;
}

.white-popup {
  position: relative;
  background: #fff;
  padding: 30px;
  width: auto;
  max-width: 60%;
  margin: 0 auto;
}

.por-text-details .col-xs-4 p {
  font-weight: bold;
  text-transform: uppercase;
}

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: pointer;
  background: #007bffe1;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  padding: 3em;
  text-align: left;
}

.hovereffect img {
  display: block;
  position: relative;
  max-width: none;
  width: calc(100% + 60px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, -webkit-transform 0.45s;
  -o-transition: opacity 0.35s, transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  transition: opacity 0.35s, transform 0.45s, -webkit-transform 0.45s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
}

.hovereffect h2 {
  text-transform: uppercase;
  color: #007bff;
  position: relative;
  font-size: 17px;
  background-color: transparent;
  padding: 5% 0 10px 0;
  text-align: left;
  opacity: 0;
}

.hovereffect:hover h2 {
  color: #fff;
  opacity: 1;
}

.hovereffect .overlay:before {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid #fff;
  content: "";
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, -webkit-transform 0.45s;
  -o-transition: opacity 0.35s, transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  transition: opacity 0.35s, transform 0.45s, -webkit-transform 0.45s;
  -webkit-transform: translate3d(-20px, 0, 0);
  transform: translate3d(-20px, 0, 0);
}

.hovereffect a,
.hovereffect p {
  color: #fff;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, -webkit-transform 0.45s;
  -o-transition: opacity 0.35s, transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  transition: opacity 0.35s, transform 0.45s, -webkit-transform 0.45s;
  -webkit-transform: translate3d(-10px, 0, 0);
  transform: translate3d(-10px, 0, 0);
}

.hovereffect:hover img {
  opacity: 0.2;
  filter: alpha(opacity=20);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hovereffect:hover .overlay:before,
.hovereffect:hover a,
.hovereffect:hover p {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.no-pad {
  padding: 0;
}

/*--- 10. Testimonial Section ---*/
section#testimonial {
  background: url(../img/testimonial/banner_1.jpg);
}
section#testimonial h2 {
  position: relative;
  text-align: center;
  padding: 25px;
  color: #fff;
}
section#testimonial h2::before {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 120px;
  height: 2px;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -20%);
  transition: 0.6s;
}
section#testimonial h2::after {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 120px;
  height: 2px;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -85%);
  transition: 0.6s;
}
section#testimonial .testimonials {
  background: #efefef;
  position: relative;
  margin-top: 90px;
  margin-left: 20px;
  margin-right: 20px;
}
section#testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: -50px;
  position: absolute;
  left: calc(50% - 50px);
  border-bottom: 10px solid rgba(51, 51, 51, 0.548);
  border-left: 10px solid #fff;
  border-right: 10px solid #fff;
  border-top: 10px solid rgba(51, 51, 51, 0.548);
}
section#testimonial .testimonials:hover {
  transform: scale(1.1);
}
blockquote {
  font-size: 16px;
  line-height: 30px;
  padding-top: 50px;
  padding-left: 30px;
  padding-right: 30px;
}
blockquote::before {
  content: "\201D";
  font-size: 50px;
  color: #007bff;
  position: relative;
  line-height: 20px;
  bottom: -15px;
  right: 5px;
}
blockquote::after {
  content: "\201D";
  font-size: 50px;
  color: #007bff;
  position: relative;
  line-height: 10px;
  bottom: -15px;
  left: 5px;
}
section#testimonial .testimonials h4 {
  color: #0076ff;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  text-transform: uppercase;
}
section#testimonial .testimonials h5 {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: 17px;
  padding-bottom: 10px;
}
/*--- End Testimonial Section ---*/

/*--- 11. Start Contact Section ---*/
section#contact h2 {
  position: relative;
  text-align: center;
  padding: 25px;
}
section#contact h2::before {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 120px;
  height: 2px;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -20%);
  transition: 0.6s;
}
section#contact h2::after {
  content: "";
  position: absolute;
  background: #0076ff;
  width: 120px;
  height: 2px;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -85%);
  transition: 0.6s;
}
section#contact .col-md-3 .shadow-lg i {
  font-size: 35px;
  color: #0076ff;
}
section#contact .col-md-3 .shadow-lg h5 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 17px;
  color: #000;
  letter-spacing: 1px;
}
section#contact .col-md-3 .shadow-lg p {
  font-size: medium;
  padding-top: 10px;
  padding-bottom: 20px;
}
section#contact .col-md-3 .shadow-lg #icon {
  font-size: 18px;
  margin-right: 15px;
  cursor: pointer;
  padding-top: 10px;
  padding-bottom: 20px;
}
section#contact form input {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid #0076ff;
  border-radius: 0 !important;
}
section#contact form textarea {
  border: 2px solid #0076ff;
}

/*--------12. Brand area starts-----------*/

.logo-img {
  border: 1px solid #ddd;
  transition: all 300ms ease-in-out;
  padding: 10px;
}

.logo-img:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/*--------Brand area ends-----------*/

/*--- 13. start footer section---*/
footer {
  background: #444;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  margin-top: 50px;
}
footer i {
  color: #0076ff;
}
