﻿@import url('../css2');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html{
  overflow-x: hidden;
  min-height : 100vh;
}

body{
    position: relative;
    font-family: Roboto;
    font-style: normal;
    overflow-x: hidden;
    max-width: 100vw;
}

.nav-link{
    color: black;
    font-weight: 800;
    padding: 20px;
}
.nav-link:hover{
    background-color: #5E6572;
    color: white;
}

.hero{
    width: 100vw;
    height: calc(100vh-110px);
}


.hero-block {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: gray;
    overflow: hidden 
}


.hero-text-container { padding: 0 12% 4% 12%; z-index: 2 }

.hero-bg-media {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; 
    z-index: 0;
}

.hero-bg-media * {
    object-fit: cover; width: 100%; height: 100%;
}

.bg-overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; 
    z-index: 1;
    background-image: linear-gradient(rgba(29,38,113,0.7),rgba(195,55,100,0.3));    
}

.hero-block h1, .hero-block h2 {
    line-height: 1.2;
    color:#fff;
    text-shadow: 2px 2px #222;
}

.hero-block h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: calc(48px + (112 - 48) * ((100vw - 320px) / (1600 - 320)));
    margin-bottom: 24px;
}

.hero-block h2 {
   font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight:lighter;
    font-size: calc(18px + (54 - 22) * ((100vw - 320px) / (1600 - 320)));
    /*text-transform: uppercase;*/
    font-style: oblique;
}
footer{
    padding: 30px 0 40px;
    bottom: 0;
    background-color: #32353a;
    color: white;
    position:relative;
    width:100vw;
    min-width: 100vw;
    margin-top: -5px;
}

footer a{
  text-decoration: none;
  color: wheat;
}

/**
 * ----------------------------------------
 * animation slide-in-top
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-top {
    0% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-top {
    0% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
}

.slide-in-top {
	-webkit-animation: slide-in-top 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-top 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


.slide-in-left {
	-webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

 @-webkit-keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
}

.text-center { text-align: center }


.mapa iframe{
  width: 500px;
  height: 500px;
}
.wasap{
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 999;
}

.wasap img {
  width: 100%;
  height: 100%;
}

section {
  width: 100vw;
  display: grid;
  place-items: center;
}
.row {
  display: flex;
  flex-wrap: wrap;;
}
.column {
  width: 85%;
  margin: 0 auto;
  padding: 0 1em 1em 1em;
  text-align: center;
}
.card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #32353a 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}

.section-heading{
  margin: 20px;
  font-weight: 700;
}

.perfil {
  font-size: 18px;
  font-weight: 400;
  color: #32353a;
  text-align: justify;
  margin: 10px 0;
}
.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
}

.icon-wrapper {
  background-color: #2c7bfe;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.card:hover {
  background-position: 0 100%;
}
.card:hover h3 {
  color: #ffffff;
}
.card:hover p {
  color: #f0f0f0;
}


.clientes{
  margin: 0 auto;
  width: 100%;
  height: 400px;
  background-color: #FBFFFF ;
  /*color: #8A8989;*/
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  
}

.clientes h2{
  margin-top: 20px;
  font-weight: 900;
}

.clientes-logo{
  display: flex;
  flex-direction: row;
}

.clientes-logo marquee{
  display: inherit;
}

.clientes-logo ul{
  display: inherit;
  text-decoration: none;
  list-style: none;
}

.marquee__content {
  display: flex;
  list-style: none;
  animation: scrolling 40s linear infinite;
  justify-content: center;
  align-items: center;
}

.marquee__item {
  padding: 20px;
  width: 250px;
  height: 150px;
  margin: 0 15px;
}

.marquee__item img{
  width: 100%;
  height: auto;
  margin: auto;
}

@keyframes scrolling {
  0% { transform: translateX(0) }
  50% { transform: translateX(-50%) }
  100% { transform: translateX(0) }
}

.card-us{
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #32353a 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.7s;
  color: #5E6572;
}

.card-us:hover {
  background-position: 0 100%;
}

.card-us h5 {
  color: #5E6572;
}

.card-us:hover h1{
  color: #ffffff;
}
.card-us:hover h5 {
  color: #ffffff;
}
.icon-service {
  padding: 8px;
  font-size: 29px;
  width: 79px;
  height: 79px;
  color: #1d67be;
  line-height: 80px;
  border-radius: 50%;
  border-width: 2px;
  border-style: solid;
  border-image: initial;
  margin: 0px auto;
}

.card-us:hover .icon-service {
  color: #ffffff;

}





@media screen and (min-width: 768px) and (orientation: landscape){
  section {
    padding: 0 1em;
  }
  .column {
    flex: 0 50%;
    max-width: 50%;
  }
  .hero-block { height: 80vh }
  
}

@media screen and (min-width: 992px)and (orientation: landscape) {
  section {
    padding: 1em 3em;
  }
  .column {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  footer{
    margin-top: -100px;
  }

  .clientes{
    margin-bottom: 50px;
  }

  .contacto-texto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .navbar-nav{
    font-size: 1.2rem;
  }

  
.contacto-texto p{
  font-size: 1.5rem;
  }
}