/*                           *\
 **                         **
 ****************************
  Created by Mark on 01/04/24
 ****************************
 **                         **
/*                           *\

/* default */

* {
  margin: 0;
  padding: 0;
}

html, body { 
  height: 100%; 
  background-color: #fff;
}

body {
  text-align: center;
  background-color: #fff;
  font: 20px Avenir, Helvetica, sans-serif;
}

h1, h2, h3 {
  font-family: Avenir, Helvetica, Helvetica;
  color: #ececec;
}

p, li {
  font-family: Avenir, Helvetica, Helvetica; 
  color: #544949;
}

h1 {
  margin: 0 0 24px 0; 
  padding: 0; 
  font-size: 64px; 
  font-weight: bold;
}

h2 {
  margin: 24px 0 12px 0; 
  font-size: 26px; 
  font-weight: bold;
}

h3 {
  margin: 24px 0 12px 0;
  font-size: 22px; 
  font-weight: bold;
}

p { 
  margin: 1em 0; 
}

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

a:hover { 
  color: #000; 
  text-decoration:none;
}

.btn {
  background-color: #000;
}

/* spacers */

.spacer5 { 
  margin: 0; 
  padding: 0; 
  height: 5%;
 }

.spacer10 { 
  margin: 0; 
  padding: 0; 
  height: 10%;
}

.spacer15 { 
  margin: 0; 
  padding: 0; 
  height: 15%;
}

/* main elements */

.mainh {
  color: #ececec;
  margin: 0 0 24px 0; 
  padding: 0; 
  font-size: 28px; 
  font-weight: bold;
  text-align: center;
  padding-top: 25%;
}

@media all and (max-width: 660px) {
  .mainh {
    color: #ececec;
    margin: 0 0 24px 0; 
    margin-top: 100px; 
    font-size: 28px; 
    font-weight: bold;
    text-align: center;
    padding-top: 100px;
  }
}

.contact-h {
  padding: 0; 
  margin: 2% 0 3% 15%; 
  font-size: 24px; 
}

@media all and (max-width: 660px) {
  .contact-h {
    padding: 0; 
    margin: 1% 0 8% 10%; 
    font-size: 22px; 
  }
}

.subh {
  color: #efefef;
  text-align: center;
}

.services-left {
  text-align: left;
  align-items: left;
}

.mainh-left {
  color: #555555;
  margin: 0 0 22px 0; 
  padding: 0; 
  font-size: 28px; 
  font-weight: bold;
  padding-top: 7%;
}

.subh-left {
  color: #555555;
  margin: 0 0 30px 0; 
}

.nav {
  font-size: 18px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand>img {
  height: 28px;
  padding: 7px -7px;
  text-align: left;
  align-items: left;
}

.video-container {
  width: 100%; /* or any specific size */
  height: 100vh; /* for full viewport height, or any specific size */
  position: relative;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* this ensures the aspect ratio is maintained while covering the entire container */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centers the video in the container */
  z-index: -100;
}

.down-arrow {
  color: #fff;
  z-index: 100;
  position: absolute;
  bottom: 100px;
}

@media all and (max-width: 660px) {
  .down-arrow {
    margin: 0 0 150px 0; 
  }
}

.header-1 {
  text-align: center;
  color: #f8f8f8;
  background: url(../img/code.png) no-repeat center center;
  background-size: cover;
  height: 25%;
}

.header-2 {
  position: relative;
  text-align: center;
  color: #f8f8f8;
  background: url(../img/meb-engineering-logo.png) no-repeat center center;
  background-size: contain;
  background-color: #000;
  height: 100%;
}

@media all and (max-width: 660px) {
  .header-2 {
    color: #ececec;
    margin: 0 0 24px 0; 
    margin-top: 0; 
    font-weight: bold;
    text-align: center;
    background-size: contain;
  }
}

.main {
  font-size: 100%;
  text-align: left;
  line-height: 1.5em;
  margin:  1em auto 1em;
  width: 90%;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* projects */

.projects {
  color: fff;
}

.proj-header {
  margin-left: 8%;
}

.service {
  margin: 0 0 0 3.33em;
}

ul.projects {
  margin: 1em 0 1em 0;
  width: 100%;
}

ul.projects:before, ul.projects:after {
  content: " ";
  display: table;
}

ul.projects:after {
  clear: both;
}

ul.projects li {
  border-radius: 15px;
  float: left;
  display: block;
  width: 25%;
  height: 200px;
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
}

@media all and (max-width: 660px) {
  ul.projects li {
    width: 50%;
  }
}

ul.projects a {
  display: block;
  width: 200px;
  height: 200px;
  line-height: 0;
  margin: 0 auto;
}

ul.projects a span {
  display: block;
  width: 100px;
  height: 10px;
  font: 14px Avenir, Helvetica;
  text-align: center;
  line-height: 1em;
  padding: 12px 0 0;
  color: #888;
}

ul.projects a:hover {
  border: 0;
}

ul.projects img {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 25px;
  height: 100px;
  width: 100px;
  position: relative;
  z-index: -2;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 0 3px rgba(0, 0, 0, 0.5), inset 0 3px 0 rgba(255, 255, 255, 0.25);
}

ul.projects i {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 25px;
  height: 1.5em;
  width: 1.5em;
  font-size: 6em;
  position: relative;
  padding-top: 20px;
  z-index: -2;
  color: #000;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 0 3px rgba(0, 0, 0, 0.5), inset 0 3px 0 rgba(255, 255, 255, 0.25);
}

/* footer */

.footer {
  font-size: 90%;
  color: #666;
  margin-top: 1em;
  width: 100%;
  text-align: center;
}

.footer-menu {
  margin-bottom: 1em;
  text-align: center;
}

.footer-menu a {
  margin-right: 1em;
}

.footer .contact a {
  color: #8085C1;
}

.footer .contact a:hover {
  color: #000;
  text-decoration:none
}

.footer .contact {
  margin: -12px 0 0 0;
}

.footer .links-left {
  margin: -36px 0 0 0;
}

.footer .links-right {
  margin: -36px 0 0 0;
}

.title {
  display: inline-block;
  margin-bottom: 2em;
}

.title a {
  color: #a00;
}

.title a:hover {
  color: #000;
}

.meta {
  color: #aaa;
  font-size: 80%;
  margin-bottom: 12px;
}

.meta span {
  margin-right: 3em;
}