
* {
  padding: 0;
  margin: 0;
}

body, html {
  height: auto;
  width: 100%;
  margin: 0;
}
.header-container {
  display: block;
  position: fixed;
  float: left;
  width: 50%;
  height: 120px;
  top: 0px;
  padding-left: 10px;
  background-color: #fff;
  z-index: 2;
}
.header-container a {
  margin-top: 10px;
  margin-left: 10px;

}
.header-container a:hover {
  opacity: .5;
}
.topnav {
  display: inline-block;
  position: fixed;
  float: left;
  height: 120px;
  width: 50%;
  text-align: left;
  margin-top: 0px;
  margin-left: 50%;
  background-color: #fff;
  line-height: 15px;
  padding-top: 10px;
  z-index: 1;

}

.topnav a {
  color: #587daa;
  text-decoration: none;
  font-family: Helvetica;
  font-size: 14px;
  padding-left: 30px;
  padding-right: 10px;
  display: block;
  z-index: 1;
}

.topnav a:hover {
  background-color: #ffffff;
  color: #000;
  font-family: Helvetica;
  font-size: 14px;
  animation: fadeIn 2s ease;
  text-decoration: none;
}

.topnav a.active {
  background-color: #ffffff;
  color: #000;
  font-family: Helvetica;
  font-size: 14px;
  font-weight: bold;
}

@media only screen and (min-width:870px) {
  .header-container {
    padding-left: 20px;
    width: 100%;
  }
  .topnav {
    display: block;
    float: left;
    width: 100%;
    text-align: center;
    height: 25px;
    line-height: 25px;
    padding-top: 0px;
    margin-top: 100px;
    margin-left: 0px;
  }

  .topnav a {
    display: inline-block;
  }
}



.photo-gallery-box {
  display: block;
  position: relative;
  float: left;
  margin-left: 2.5%;
  margin-top: 120px;
  width: 95%;
  height: 220px;
  overflow: hidden;
  text-align: center;
  z-index: 0;
}

#myslider1 {
  display: block;
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  margin-top: 0px;
  z-index: 0;
}

#myslider1 img {
  width: 100%;
  height: 100%;
}

#square1 {
  display: inline-block;
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  margin-top: -220px;
  z-index: 0;
}

#square1 img {
  width: 100%;
  height: 100%;
}

@media only screen and (min-width:870px) {


  .photo-gallery-box {
    display: none;
  }

  #square1 {
    display: inline-block;
    margin-top: -600px;
  }
}



/*****************************************************/

.carousel-container-clients {
  display: block;
  position: relative;
  float: left;
  width: 95%;
  height: auto;
  top:140px;
  margin-left: 2.5%;
  background-color: red;
  z-index: 0;

}
.carousel-container-clients img{
  width: 100%;
  height: 100%;
  z-index: 0;
}




.body-container {
  display: block;
  position: relative;
  float: left;
  width: 95%;
  margin-left: 2.5%;
  height: Auto;
  background-color: #263542;
  margin-top: 1px;
  z-index: 0;
}

.body-container h3 {
  margin-left: 10px;
  color: #fff;
  font-family: Helvetica;
  font-size: 20px;
}

.body-container p {
  margin-left: 10px;
  color: #fff;
  font-family: Helvetica;
  font-size: 10px;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

.carousel-container {
  display: none;
}

#carousel19 figure {
  display: none;
}


@media only screen and (min-width:870px) {
  .carousel-container-clients {
   display: none;
 }
 .carousel-container-clients img{
   display: none;

 }

  .carousel-container {
  /*  margin: 24% auto;*/
    display: block;
    position: relative;
    float: left;
    margin-top: 10%;
    margin-left: 45%;
    margin-bottom: 110px;
    width: 100px;
    height: 100px;
    perspective: 20000px;
    z-index: 0;
  }

  #carousel19 {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotation 20s infinite linear;
    z-index: 0;
  }


  #carousel19 figure {
    display: block;
    position: absolute;
    width: 30%;
    height: auto;
    left: 10px;
    top: 10px;
    z-index: 0;
  }



  #carousel19 figure:nth-child(1) {
    transform: rotateY(0deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(2) {
    transform: rotateY(36deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(3) {
    transform: rotateY(72deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(4) {
    transform: rotateY(108deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(5) {
    transform: rotateY(144deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(6) {
    transform: rotateY(180deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(7) {
    transform: rotateY(216deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(8) {
    transform: rotateY(252deg) translateZ(650px);
  }

  #carousel19 figure:nth-child(9) {
    transform: rotateY(288deg) translateZ(650px);
  }
  #carousel19 figure:nth-child(10) {
    transform: rotateY(324deg) translateZ(650px);
  }


  .body-container h3 {
    margin-left: 400px;
    font-size: 40px;
  }

  .body-container p {
    margin-left: 400px;
    font-size: 16px;
  }


  @keyframes rotation {
    from {
      transform: rotateY(0deg);
    }

    to {
      transform: rotateY(360deg);
    }
  }

  .body-container {
    margin-top: 40px;
  }
}

.testemonials {
  display: block;
  position: relative;
  float: left;
  width: 95%;
  margin-left: 2.5%;
  margin-top: 10px;
  height: 250px;
  text-align: center;
  background-image: url("images/team2.png");
}

.testemonials img {
  width: 100%;
  height: 100%;
}

.testemonials p {
  text-align: center;
  font-family: Helvetica;
  font-size: 30px;
  color: #ffffff;
  animation: fadeIn 3s ease;
  margin-top: 10px;
}

@media only screen and (min-width:870px) {
  .testemonials {
    height: 500px;
  }

  .testemonials p {
    margin-top: 20px;
  }
}

/*********************************/
#myslider2 {
  display: block;
  position: relative;
  float: left;
  width: 95%;
  margin-left: 2.5%;
  margin-top: -150px;
  height: 220px;
  z-index: 0;
}

#myslider2 div {
  width: 100%;
  height: 220px;
  padding-top: 0px;
  margin-top: 0px;
  text-align: center;
  background-color: transparent;
}

#myslider2 div p {
  margin-top: 0px;
  text-align: center;
  font-size: 11px;
  line-height: 10px;
  font-family: Helvetica;
  color: #4286f4;
}

@media only screen and (min-width:870px) {
  #myslider2 {
    margin-top: -400px;
  }

  #myslider2 div {
    padding-top: 0px;
  }

  #myslider2 div p {
    color: #4286f4;
    font-size: 22px;
    line-height: 25px;
  }
}





/**********************************/
.footer-container {
  padding: 10px;
  display: block;
  position: relative;
  float: left;
  text-align: center;
  width: 95%;
  height: auto;
  margin-left: 2.5%;
  margin-top: 10px;
  background-color: #e8eef7;
  line-height: 15px;
}
.footer-container h1 {
  margin:0px;
  padding: 0px;
  font-size: 15px;
  font-family: Helvetica;
  color: #000;
}
.footer-container h2 {
  margin:0px;
  padding: 0px;
  font-size: 15px;
  font-family: Helvetica;
  color: #587daa;
}

.footer-container h3 {
  display: inline-block;
  margin:0px;
  padding: 0px;
  font-size: 10px;
  font-family: Helvetica;
  color: #000;
}


.footer-container a {
  display: inline-block;
}
.footer-container a img {
  width: 20px;
  height:20px;
}

.footer-container a:hover {
  opacity: 0.5;
}

.last-footer-container {
  display: block;
  position: relative;
  float: left;
  width: 95%;
  height: 20px;
  position: relative;
  margin-left: 2.5%;
  text-align: center;
}
.last-footer-container p{
  font-size: 10px;
  font-family: Helvetica;
  color: #587daa;
}
