.flex-container {
  position: relative;
  height: 100%;
  width: 100%;
  display: -webkit-flex;
  /* Safari */
  display: flex;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }
}

.flex-title {
  color: #fff;
  position: relative;
  font-size: 32px;
  margin: auto;
  text-align: left;
  padding-left: 15%;
  padding-right: 10%;
  box-sizing: border-box;
  /*transform: rotate(90deg);*/
  top: 40%;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
  text-transform: capitalize;
}
/*.flex-title:before{
    width: 40px;
    height: 3px;
    background: #1b9236;
    position: absolute;
    top: 50px;
    left: 0;
    transform:translate(-50%,-50%);
    content: '';
}*/
.flex-title p {
    font-size: 16px;
    margin-top: 30px;
    color: rgba(255,255,255,0.70);
}
/*.flex-title span{
    width: 120px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    background: #fff;
    color: #fff;
    font-size: 16px;
    margin-top: 80px;
    border-radius: 5px;
    opacity: 0.0;
}*/

@media screen and (max-width: 768px) {
  .flex-title {
    transform: rotate(0deg) !important;
  }
}

.flex-about {
  opacity: 0;
  color: #f1f1f1;
  position: relative;
  width: 70%;
  font-size: 2vw;
  padding: 5%;
  top: 20%;
  border: 2px solid #f1f1f1;
  border-radius: 10px;
  line-height: 1.3;
  margin: auto;
  text-align: left;
  transform: rotate(0deg);
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}
@media screen and (max-width: 768px) {
  .flex-about {
    padding: 0%;
    border: 0px solid #f1f1f1;
  }
}

.flex-slide {
  -webkit-flex: 1;
  /* Safari 6.1+ */
  -ms-flex: 1;
  /* IE 10 */
  flex: 1.0;
  cursor: pointer;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}
@media screen and (max-width: 768px) {
  .flex-slide {
    overflow: auto;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 768px) {
  .flex-slide p {
    font-size: 2em;
  }
}

@media screen and (max-width: 768px) {
  .flex-slide ul li {
    font-size: 2em;
  }
}

.flex-slide:hover {
  -webkit-flex-grow: 1.5;
  flex-grow: 1.5;
}

.home {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/category-1.jpg");
  background-size: cover;
  background-position: center center;
  transform: all .4s ease-in-out;
}
.home:hover {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("../images/category-1.jpg");
  background-size: cover;
  background-position: center center;
  transform: all .4s ease-in-out;
}
.home span{
    width: 125px;
    height: 34px;
    line-height: 34px;
    position: absolute;
    top: 50%;
    left: 0;
    /*transform:translate(-50%,-50%);*/
    background: rgba(255,255,255,0.50);
    font-size: 14px;
    margin-top: 80px;
    border-radius: 25px;
    text-align: center;
    opacity: 0.0;
    transform: all .4s ease-in-out;
    color: rgba(255,255,255,0.80);
}
.home:hover span{
    opacity: 1.0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: all .4s ease-in-out;
    /*transform:translate(-50%,-50%);*/
}
.home span a{
    color: rgba(255,255,255,0.80);
    display: block;
}
.home span a:hover{
    background: #1b9236;
    color: #fff;
    border-radius: 25px;
}
@media screen and (min-width: 768px) {
  .home {
    animation: aboutFlexSlide 3s 1;
    animation-delay: 0s;
  }
}

@keyframes aboutFlexSlide {
  0% {
    -webkit-flex-grow: 1;
    flex-grow: 1;
  }
  50% {
    -webkit-flex-grow: 3;
    flex-grow: 3;
  }
  100% {
    -webkit-flex-grow: 1;
    flex-grow: 1;
  }
}
@media screen and (min-width: 768px) {
  .flex-title-home {
    /*transform: rotate(90deg);*/
    top: 40%;
    animation: aboutFlexSlide 3s 1;
    animation-delay: 0s;
  }
}

@keyframes homeFlextitle {
  0% {
    transform: rotate(90deg);
    top: 15%;
  }
  50% {
    transform: rotate(0deg);
    top: 15%;
  }
  100% {
    transform: rotate(90deg);
    top: 15%;
  }
}
.flex-about-home {
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .flex-about-home {
    animation: aboutFlexSlide 3s 1;
    animation-delay: 0s;
  }
}

@keyframes flexAboutHome {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.about {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/category-2.jpg");
  background-size: cover;
  background-position: center center;
  height: 100%;
}
.about:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("../images/category-2.jpg");
  background-size: cover;
  background-position: center center;
}
.about span{
    width: 125px;
    height: 34px;
    line-height: 34px;
    position: absolute;
    top: 50%;
    left: 0;
    /*transform:translate(-50%,-50%);*/
    background: rgba(255,255,255,0.50);
    font-size: 14px;
    margin-top: 80px;
    border-radius: 25px;
    text-align: center;
    opacity: 0.0;
    transform: all .4s ease-in-out;
    color: rgba(255,255,255,0.80);
}
.about:hover span{
    opacity: 1.0;
    position: absolute;
    top: 50%;
    left: 0;
    /*transform:translate(-50%,-50%);*/
}
.about span a{
    color: rgba(255,255,255,0.80);
    display: block;
}
.about span a:hover{
    background: #1b9236;
    color: #fff;
    border-radius: 25px;
}

.contact-form {
  width: 100%;
}

input {
  width: 100%;
}

textarea {
  width: 100%;
}

.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/category-4.jpg");
  background-size: cover;
  background-position: center center;
  height: 100%;
}
.contact:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("../images/category-4.jpg");
  background-size: cover;
  background-position: center center;
}
.contact span{
    width: 125px;
    height: 34px;
    line-height: 34px;
    position: absolute;
    top: 50%;
    left: 0;
    /*transform:translate(-50%,-50%);*/
    background: rgba(255,255,255,0.50);
    font-size: 16px;
    margin-top: 80px;
    border-radius: 25px;
    text-align: center;
    opacity: 0.0;
    transform: all .4s ease-in-out;
    color: rgba(255,255,255,0.80);
}
.contact:hover span{
    opacity: 1.0;
    position: absolute;
    top: 50%;
    left: 0;
    /*transform:translate(-50%,-50%);*/
}
.contact span a{
    color: rgba(255,255,255,0.80);
    display: block;
}
.contact span a:hover{
    background: #1b9236;
    color: #fff;
    border-radius: 25px;
}

.work {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/case-4.jpg");
  background-size: cover;
  background-position: center center;
}
.work:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("../images/case-4.jpg");
  background-size: cover;
  background-position: center center;
}
.work span{
    width: 120px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    background: #fff;
    font-size: 16px;
    margin-top: 80px;
    border-radius: 5px;
    opacity: 0.0;
    transform: all .4s ease-in-out;
}
.work:hover span{
    opacity: 1.0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
}
.work span a{
    color: #414141;
    display: block;
}
.work span a:hover{
    background: #c4151c;
    color: #fff;
    border-radius: 5px;
}

.nav5 {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/category-3.jpg");
  background-size: cover;
  background-position: center center;
  height: 100%;
}
.nav5:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("../images/category-3.jpg");
  background-size: cover;
  background-position: center center;
}
.nav5 span{
    width: 125px;
    height: 34px;
    line-height: 34px;
    position: absolute;
    top: 50%;
    left: 0;
    /*transform:translate(-50%,-50%);*/
    background: rgba(255,255,255,0.50);
    font-size: 14px;
    margin-top: 80px;
    border-radius: 25px;
    text-align: center;
    opacity: 0.0;
    transform: all .4s ease-in-out;
    color: rgba(255,255,255,0.80)
}
.nav5:hover span{
    opacity: 1.0;
    position: absolute;
    top: 50%;
    left: 0;
    /*transform:translate(-50%,-50%);*/
}
.nav5 span a{
    color: rgba(255,255,255,0.80);
    display: block;
}
.nav5 span a:hover{
    background: #1b9236;
    color: #fff;
    border-radius: 25px;
}

.nav6 {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/nav-6.jpg");
  background-size: cover;
  background-position: center center;
}
.nav6:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("../images/nav-6.jpg");
  background-size: cover;
  background-position: center center;
}
.nav6 span{
    width: 120px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    background: #fff;
    font-size: 16px;
    margin-top: 80px;
    border-radius: 5px;
    opacity: 0.0;
    transform: all .4s ease-in-out;
}
.nav6:hover span{
    opacity: 1.0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
}
.nav6 span a{
    color: #414141;
    display: block;
}
.nav6 span a:hover{
    background: #109e4f;
    color: #fff;
    border-radius: 5px;
}

.spinner {
  position: fixed;
  top: 0;
  left: 0;
  background: #222;
  height: 100%;
  width: 100%;
  z-index: 11;
  margin-top: 0;
  color: #fff;
  font-size: 1em;
}

.cube1, .cube2 {
  background-color: #fff;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
  animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
  25% {
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  }
  50% {
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  }
  75% {
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  }
  100% {
    -webkit-transform: rotate(-360deg);
  }
}
@keyframes sk-cubemove {
  25% {
    transform: translateX(42px) rotate(-90deg) scale(0.5);
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  }
  50% {
    transform: translateX(42px) translateY(42px) rotate(-179deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
  }
  50.1% {
    transform: translateX(42px) translateY(42px) rotate(-180deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  }
  75% {
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  }
  100% {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
  }
}