/*
Theme Name: E4House
Description: E4House theme
Version: 1
*/

html,
body {
  margin: 0;
  padding: 0;
  font-weight: 500;
  overflow-x: hidden;
  color: #878787;
}
* {
  box-sizing: border-box;
  font-family: Dosis, sans-serif;
}
img {
  max-width: 100%;
}

header.container {
  position: relative;
  z-index: 20;
}
nav.navbar {
  padding: 0;
  height: 80px;
  line-height: 80px;
  -ms-flex-align: start;
  -ms-flex-pack: start;
  align-items: start;
}
@media (max-width: 991px) {
  nav.navbar {
    line-height: 40px;
  }
}
.navbar-brand {
  padding: 0 15px;
}
.logo {
  font-size: 0;
  margin: 0;
}
.logo img {
  max-width: 160px;
}
.main-nav {
  width: 100%;
  justify-content: flex-end;
}
@media (max-width: 991px) {
  .main-nav {
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.8);
  }
}
.main-nav a {
  font-weight: bold;
  font-size: 25px;
  color: #828287;
  text-transform: uppercase;
  margin-left: 60px;
}
@media (max-width: 991px) {
  .main-nav a {
    margin-left: 0px;
  }
}
.main-nav .current-menu-item a,
.main-nav a:hover {
  color: #000;
  text-decoration: none;
}

.sep {
  background: #0047b2;
  border-radius: 4px;
  height: 6px;
}

footer.container .text {
  font-size: 25px;
  font-weight: bold;
  padding-bottom: 30px;
}
footer.container .sep {
  margin-bottom: 30px;
}
@media (max-width: 1199px) {
  footer.container .text {
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  footer.container .text {
    font-size: 18px;
  }
}

.home .title {
  font-weight: bold;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 80px;
  margin: 40px 0;
  z-index: 10;
  position: relative;
}
.home .title span {
  font-size: 100px;
}
@media (max-width: 767px) {
  .home .title span {
    font-size: 60px;
  }
}
.home .subtitle,
.container.content h2 {
  font-size: 46px;
}
.home p {
  font-size: 23px;
  line-height: 30px;
}
.home .tech p {
  font-size: 29px;
  line-height: normal;
}
@media (max-width: 767px) {
  .home .title {
    font-size: 28px;
    line-height: 36px;
  }
  .home .title b {
    display: block;
  }
  .home .subtitle {
    font-size: 25px;
  }
  .home .certs .subtitle {
    margin-bottom: 30px;
  }
  .home .op .subtitle {
    text-align: left;
    margin-bottom: 30px;
  }
  .home p {
    font-size: 19px;
    line-height: 25px;
  }
  .home .blob-3 {
    display: none;
  }
}
.home .img-bg {
  height: 509px;
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
  background-size: cover;
  background-image: url("./img/pic1.jpg");
}
.hero {
  position: relative;
  height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.video-background {
  position: absolute;
  overflow: hidden;
  width: 100vw;
  height: calc(100vh - 200px);
  z-index: 0;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
}

@media (min-aspect-ratio: 16/9) {
  .video-background iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 56.25vw;
  }
}
@media (max-aspect-ratio: 16/9) {
  .video-background iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 177.78vh;
  }
}
.cover {
  position: relative;
  z-index: 10;
  text-align: center;
  font-size: 52px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}
@media (max-width: 767px) {
  .cover {
    font-size: 32px;
  }
}
input[type="submit"] {
  background: #0047b2;
  color: #fff;
  border: 0;
  padding: 10px 30px;
  border-radius: 4px;
}
label,
input,
textarea {
  max-width: 100%;
}
.clogo {
  height: 208px;
  width: 292px;
  background: url("./img/logo2.png") no-repeat center;
  background-size: contain;
  margin: 0 auto 30px;
}
@media (max-width: 991px) {
  .home .img-bg {
    height: 350px;
  }
}
.home .img-bg-2 {
  height: 291px;
  margin-bottom: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("./img/pic2.jpg");
}
.home .blob-1 {
  position: absolute;
  top: -40px;
  right: 0;
}
.home .sep {
  margin: 30px 0 30px;
}
.home .blob-2 {
  position: absolute;
  left: -95px;
  top: 150px;
}
.home .blob-3 {
  position: static;
  float: right;
}
.home .text-right img {
  margin-bottom: 20px;
}
.container.content {
  padding-top: 110px;
  font-size: 23px;
  position: relative;
}
@media (max-width: 767px) {
  .container.content {
    font-size: 19px;
  }
}

.container.content h1 {
  display: none;
}

.blob-1 {
  background: url("./img/blob1.png") no-repeat top center;
  background-size: contain;
  width: 162px;
  height: 119px;
}
.blob-2 {
  background: url("./img/blob2.png") no-repeat top center;
  background-size: contain;
  width: 153px;
  height: 186px;
}
.blob-3 {
  background: url("./img/blob3.png") no-repeat top center;
  background-size: contain;
  width: 243px;
  height: 186px;
}

.certs {
  position: relative;
}
.item-list {
  list-style: none;
  padding: 0;
}
.cert-list {
  margin-bottom: 60px;
  margin-top: 10px;
}
.cert-item {
  margin-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}
textarea {
  max-height: 120px;
}

.project-page {
  padding-top: 40px;
}

.project-page .first .subtitle {
  text-transform: uppercase;
  font-size: 52px;
}

.project-page .first .title {
  font-size: 100px;
  margin-top: 10px;
}

.price-info {
  float: left;
}

.price-info p {
  font-size: 46px;
  line-height: normal;
}

.projects-list .item {
	margin-bottom: 15px;
}

@media (max-width: 767px) {
  .project-page .first .subtitle {
    font-size: 40px;
  }
  .project-page .first .title {
    font-size: 60px;
  }
  .price-info p {
    font-size: 19px;
  }
}
