body, html {
  padding: 0;
  margin: 0;
  font-size: 16px;
}
nav {
  height: 12vh;
  font-size: 20px;
  border-bottom: 1px solid #E0E0E0;
}
.navbar {
  padding: 0;
}
.navbar-light .navbar-nav .nav-link {
  font-size: 20px;
  font-weight: 500;
  color: #969696;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
  color: #00acc3;
}
.navbar-toggler {
  margin-right: .5rem;
}
.navbar-collapse.collapse {
  height: auto !important;
  width: 100%;
  justify-content: center !important;
  background-color: #f8f9fa!important;
}
.navbar-nav {
  padding: 0 .5rem;
  text-align: center;
}
.navbar-brand {
  width: 0;
  margin-left: 2%;
  z-index: 1;
}
.brand-img {
  width: 130px;
}
.div-title{
  width: 90%;
  height: 50px;
  margin: 2em auto;
  color: rgba(59,72,86,0.8);
  font-size: 26px;
}
.div-title h2 {
  margin: 0 0 0.5em 1em;
}
.divider {
  width: 100%;
  height: 2px;
  background-color: #E0DEE2;
}
.controllers {
  z-index: 9;
  position: absolute;
  width: 100%;
  padding: 0 2em;
}
.controllers div {
  cursor: pointer;
  width: 20px;
  height: 30px;
}
.left {
  background-image: url("./assets/chevron-left-solid.svg");
}
.right {
  background-image: url("./assets/chevron-left-solid.svg");
  transform: rotate(-180deg);
}
section {
  overflow: hidden;
}
section .row {
  height: 100%;
  position: relative;
}
#inicio {
  height: 90vh;
}
#inicio a {
  color: white;
  font-size: 24px;
}
#inicio .container-fluid {
  padding: 0;
}
.slide {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.text-banner {
  height: 100%;
  position: absolute;
  z-index: 1;
  color: white;
  padding: 0 5rem;
}
.ban-left {
  right: 0;
}
.ban-right {
  left: 0;
}
.titulo-banner {
  font-size: 2.8rem;
}
.cuerpo-banner {
  font-size:1.5rem;
}
.img-first {
  height: auto;
  width: 100%;
  background: url('./assets/cerradura.jpg') center;
  background-size: cover;
}
.img-second {
  height: auto;
  width: 100%;
  background: url('./assets/alarma2.jpg') center;
  background-size: cover;
}
.slanted-first {
  background: #54C6EB;
  position: relative;
  margin:0 auto;
  height:100%;
  width:50%;
}
.slanted-second {
  z-index: 1;
  background: #3e3e3e;
  position: relative;
  margin:0 auto;
  height:100%;
  width:50%;
}
.slanted-third {
  background: teal;
  position: relative;
  margin:0 auto;
  height:100%;
  width:50%;
}
.slanted-first::after, .slanted-first::before, .slanted-second::after, .slanted-second::before, .slanted-third::after, .slanted-third::before {
  height: 0;
  width: 0;
  content: "";
  display: block;
  position: relative;
}
.slanted-first::before{
  border-bottom: 100vh solid #54C6EB;
  border-left: 120px solid transparent;
  left: -120px;
}
.slanted-second::after{
  border-bottom: 100vh solid #3e3e3e;
  border-right: 120px solid transparent;
  float: right;
  left: 119px;
}
.slanted-third::after{
  border-bottom: 100vh solid teal;
  border-left: 120px solid transparent;
  left: -120px;
}
.inicio {
  display: none !important;
}

.animation {
  animation: swipe-display .6s;
}
.animation-l {
  animation: swipe-display--reversed .6s;
}
@keyframes swipe-display {
  100% {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
    -webkit-transform: translate(0);
  }
  0% {
    opacity: 1;
    visibility: visible;
    transform: translate(-100%);
    -webkit-transform: translate(-100%);
  }
}
@keyframes swipe-display--reversed {
  0% {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    transform: translate(100%);
    -webkit-transform: translate(100%);
  }
  99% {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    transform: translate(0);
    -webkit-transform: translate(0);
  }
  100% {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    transform: translate(0);
    -webkit-transform: translate(0);
  }
}
.act {
  display: flex !important;
}
.actC {
  display: flex !important;
  animation: scale-display .3s;
  animation-fill-mode:forwards;
}
.outC {
  display: flex !important;
  animation: scale-display--reversed .3s;
  animation-fill-mode:forwards;
}


/* Servicios */
#servicios {
  padding: 6em 0;
}
.posters-servicios  {
  height: 400px;
  margin: 5% 0;
}
.info {
  color: #E0DEE2;
  align-items: center;
  font-size: 30px;
  text-align: center;
  padding: 0 3% 5%;
}
.inno, .stats, .efic {
  width: 75%;
  position: absolute;
  height: 400px;
  background-position: center;
  background-size: cover;
  filter: brightness(45%);
  z-index: -1;
}
.info .text {
  padding: 0 1em;
  max-width: 80%;
}
.intro-servicios {
  padding: 0 10%;
  text-align: center;
}
.font-big {
  font-size: 20px;
}
.clientes {
  font-size: 24px;
}
.clientes-marca {
  width: 65%;
  height: auto;
}

/* CONTACTO */

#contacto {
  height: auto !important;
  padding: 7% 5% 4%;
}
form {
  padding: 2em 1em;
  border-radius: 1em;
  background-color: #3e3e3e;
  color: white;
  width: 96%;
  margin: 2em;
}
.btn-send {
  width: 100%;
  padding: 8px 16px;
  border-radius: 0.5em;
  margin-top: 5%;
  background-color: #00acc3;
  border: none;
  color: white;
  font-size: 20px;
}

footer {
  margin: 4em 0 0 ;
  padding: 5em 0 0 !important;
  text-align: center;
  color: white;
  background-color: #00acc3;
}
ul {
  padding: 0;
  list-style-type: none;
  text-decoration: none;
}
.contact a {
  margin-right: 5%;
}

/* FOOTER */
.footer .foo {
  padding: 0 8em;
}
.footer .container-fluid {
  text-align: left;
}
.footer .container-fluid a, .footer .container-fluid h2, .footer .container-fluid h3 {
  color:white;
}

/* RESPONSIVE */

@media screen and (max-width: 1400px) {
  #inicio {
    height: 100vw;
  }
  .slanted::before{
    border-bottom: 100vw solid #3e3e3e;
  }
}
@media screen and (max-width: 1400px) and (orientation: landscape){
  #inicio {
    height: 100vh;
  }
  nav {
    height: 8vw;
    font-size: 20px;
    border-bottom: 1px solid #E0E0E0;
  }

}
@media screen and (max-width: 1300px) {
  .posters-servicios {
    justify-content: flex-start !important;
  }
  .col-sm-3 {
    height: 400px;
    flex: 100%;
    max-width: 100%;
    margin: 5% 0;
  }
}
@media screen and (max-width: 800px) {
  #contacto {
    justify-content: flex-start;
    padding: 0 4%;
  }
  .col-sm-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 0 5%;
  }
  #contacto .col-sm-4 h3 {
    text-align: center;
  }
  form {
    width: 100%;
  }
  .clientes {
    font-size: 16px;
  }
  .footer .foo {
    padding: 0 3em;
  }
}
@media screen and (max-width: 800px) and (orientation: landscape){
  #inicio {
    height: 100vh;
  }
  nav {
    height: 12vw;
    font-size: 20px;
    border-bottom: 1px solid #E0E0E0;
  }

  .titulo-banner {
    font-size: 2rem;
  }
  .cuerpo-banner {
    font-size:1.3rem;
  }
  .text-banner {
    text-align: center;
    padding: 0 20%;
  }
  .slanted, .slanted::before {
    display: none;
  }
}

@media screen and (max-width: 570px) {
  #inicio, #servicios, #contacto {
    overflow: hidden;
    width: 100%;
  }
  .img-first {
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    filter: brightness(25%);
  }
  .text-banner {
    text-align: center;
    padding: 0 20%;
  }
  .slanted, .slanted::before {
    display: none;
  }
  .intro-servicios {
    margin: 5% 0;
  }
  .info {
    margin: 2em 0;
    height: 300px;
  }
  .clientes-marca {
    width: 100%;
  }
  .footer .foo {
    padding: 0 2em;
    align-items: flex-start !important;
    flex-direction: row;
  }
  .footer .container-fluid:not(.footer-legal) {
    font-size: 14px;
    flex: none;
    display: block;
  }
  .footer h3{
    font-size: 18px !important;
  }
  .footer .footer-legal {
    overflow: hidden !important;
  }
}

@media screen and (max-width: 320px) {
  .brand-img {
    width: 90px;
  }
}
@media screen and (min-width:320px) and (max-width: 480px) and (orientation:landscape) {
  .brand-img {
    width: 90px;
  }
}
