body{
   
    margin: 0;
    padding: 0;
    background-color: #F5F6F7 !important; 
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden; 
   
}
textarea{
    resize: none !important;  

}
/*  Titulos */
.titulos{
  scroll-behavior: smooth;
  scroll-margin-top: 100px;
  z-index: 2 !important;

  
}

/* Separaciones */
.triangle {
  position: relative;
  background: #FDC147; ; 
  height: 5vh;
  z-index: -1;
  top: -30px;
}

.triangle::before {
  z-index: -1;
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5vh 60px 0 60px;
  border-color: #FDC147  transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
}

/* Barra de Navegacion */
/* Cuando el Navbar se cierra */
nav{
  top: 0;
  position: fixed !important;
  background-color: #fff;
  width: 100%;
  z-index: 999;
  border-bottom: #e5e5e5 1px solid;
  transition: .3s ease all;
  box-shadow: 0 8px 10px -7px #333;

}
.navbar-toggler.collapsed .top-bar {
    position: absolute;
    top: 0px;
    transform: rotate(0deg);
    
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    position: absolute;
    top: 10px;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    position: absolute;
    top: 20px;
    transform: rotate(0deg);
}

/* Cuando se clickea la navegacion */

.navbar-toggler .top-bar {
    top: inherit;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    top: inherit;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    top: inherit;
    transform: rotate(-135deg);
}

/* Color de las 3 lineas */

.navbar-toggler.collapsed .toggler-icon {
    background-color: #F9B52C;
}
.navbar-brand img{
    height: 70px;
    z-index: 999;
}
.navbar-toggler {
    width: 20px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
   
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
   
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    position: relative !important;
  
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
    
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #F9B52C;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    
}

.middle-bar {
    margin-top: 0px;
    
}
.nav-link{
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    transition: .3s ease all;
    margin-left: 20px;
    margin-right: 20px;
}
.nav-link:hover{
  color: #F6B365 !important;
}
.nav-link.active {
  color: #F6B365 !important;
  
}

/*Flecha para hacer la pagina hacia arriba*/
#button {
    display: inline-block;
    background-color: #FF9800;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  #button::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal !important;
    background-color: no;
    font-size: 2em;
    line-height: 50px;
    position: absolute;
    color: #fff;
  }
  /* Remove hover color from #button:hover */
  #button.hover-effect {
    background-color: #333;
  }
  
  #button.show {
    opacity: 1;
    visibility: visible;
  }
  


/* Seccion Hero */

.hero{
    z-index: 2;
    min-height: 550px;
    max-height: 600px;
    background-image: url(../images/heroe-image.png) ;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
   
   
}

.hero2{
    z-index: 2;
    min-height: 550px;
    max-height: 600px;
    background: rgb(252,192,70);
    background: linear-gradient( 360deg,#FDC147 0%, #F9B52C 100%);
    
   
}

.slice-box{
    
    padding-top: 100px;
    padding-left: 40px;
    z-index: 2;
}   
.slice-titulo{
    z-index: 999;
    font-family: 'Bebas Neue', sans-serif;
    color:#F5F6F7;
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: bold;
    
}
.slice-subtitulo{
    z-index: 999;
    color: #F5F6F7;
    font-family: 'Bebas Neue', sans-serif;  
    font-size: 2.5rem;
    max-width: 550px;
    font-weight: bold;
    text-transform: uppercase;
}
.contacto-button{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  color: #FFF;
  width: 150px;
  height: 50px;
  background-color: #FF9800 ;
  box-shadow:#333 0px 1px 3px 0; 

}
.contacto-button:hover{
  background-color: #fff;
  color: #333;
  transition: .3s ease all;
}
/* Carrusel de tarjetas */
.carrusel-title{
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-behavior: smooth;
    scroll-margin-top: 100px;
    width: 100%;
   
    
}

.carrusel-title h1{
    
    font-family: 'Bebas Neue', sans-serif;
    border-bottom: 2px solid #FF9800;
    padding: 10px 20px;
    z-index: 2;
    width: auto;
    max-width: 250px;
    
}
.grupo-card{
    
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 999;

}

.card{
    min-height: 400px;
    flex: 0 0 33.333333%;
    max-width: 380px;
    position:relative;
    z-index: 1;
    transition: box-shadow .1s, transform .1s;

}
.grupo-card .card{
    max-width: 320px;
    min-height: 280px;
}
.grupo-card .card:hover{
  box-shadow: 0px 0px 50px rgba(0,0,0,1);
  .card-body h4{
    color: #FF9000;
  }
}
.card a{
  color: #333;
}


.imagen-card-1{
    background-image: url(../images/hombre-trabajador-campo-junto-paneles-solares.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.imagen-card-2{
    background-image: url(../images/imagen_atc.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.imagen-card-3{
    background-image: url(../images/reparador-haciendo-servicio-aire-acondicionado.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.imagen-card-4{
  background-image: url(../images/hombre-enchufando-cargador-coche-electrico-estacion-carga-min.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.imagen-card{
    min-height: 200px;
    
} 

.card-body h4{
    color: #333;
    font-family: 'Raleway', sans-serif;
  
    font-weight: 600;
}
.card-text{
  font-family: 'Roboto', sans-serif;  ;
    
}
/* Parallas efecto */
.parallax-container {
  
  height: auto;
  min-height: 700px; 
  width: 100%;
  position: relative;
  border: 0;
  
}
.parallax-container::before{
  /* Quiero un semicirculo dentro del div */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: #F5F6F7;
  border-radius: 0 0 50% 50%;
  z-index: 1;

}
.parallax-container::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: #F5F6F7;
  border-radius: 50% 50% 0 0;
  z-index: 1;
  
}
.parallax{
  min-height: 700px;
  height: auto;
  width: auto;
  background-image: url(../images/brillo-bajo-paneles.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* bajar brillo */
  border: 0;
}

.grupo-parallax{
 
  color: #FFF;
  font-weight: bold;
  
}
.items-parallax{
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.items-parallax i img{
  width: 100px;
 
}
.items-parallax span{
  line-break: normal;
  font-size: 2rem; 
  color: #FF9800  ;
}
.items-parallax p{
  font-size: 1.3rem;
  text-align: center;
  margin-top: 20px;
  
  
}
.lista-parallax{
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  list-style: none;
  z-index: 2;
}
.gtco-testimonials {
    
  
    margin-bottom: 60px;
    position: relative;
    
  }
  .gtco-testimonials h2 {
    font-size: 30px;
    text-align: center;
    color: #333333;
    margin-bottom: 50px;
  }
  .gtco-testimonials .owl-stage-outer {
    padding: 30px 0;
  }
  .gtco-testimonials .owl-nav {
    display: none;
  }
  .gtco-testimonials .owl-dots {
    text-align: center;
  }
  .gtco-testimonials .owl-dots span {
    position: relative;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: block;
    background: #fff;
    border: 2px solid #FF9800;
    margin: 0 5px;
  }
  .gtco-testimonials .owl-dots .active {
    box-shadow: none;
  }
  .gtco-testimonials .owl-dots .active span {
    background: #FF9800;
    box-shadow: none;
    height: 16px;
    width: 16px;
    margin-bottom: -2px;
  }
  .gtco-testimonials .card {
    background: #F5F6F7 ;
    box-shadow: 0 8px 20px -7px #333;
    margin-left: 12%;
    margin-right: 12%;
    padding: 0 10px;
    border-radius: 20px;
    
  }
  .gtco-testimonials .card .card-img-top {
    max-width: 100px;
    border-radius: 50%;
    margin: 15px auto 0;
    box-shadow: 0 8px 20px -4px #95abbb;
    width: 100px;
    height: 100px;
  }
  .gtco-testimonials .card h5 {
    color: #FF9800;
    font-size: 21px;
    line-height: 1.3;
  }
  .gtco-testimonials .card h5 span {
    font-size: 18px;
    color: black;
  }
  .gtco-testimonials .card p {
    font-size: 18px;
    color: #555;
    padding-bottom: 15px;
  }
  .gtco-testimonials .active {
    opacity: 0.5;
    transition: all 0.3s;
  }
  .gtco-testimonials .center {
    opacity: 1;
  }
  .gtco-testimonials .center h5 {
    font-size: 24px;
  }
  .gtco-testimonials .center h5 span {
    font-size: 20px;
  }
  .gtco-testimonials .center .card-img-top {
    max-width: 100%;
    height: 140px;
    width: 140px;
  }
  
  @media (max-width: 820px) {
    .gtco-testimonials {
        margin-left: 10px;
       
    }

    .lista-parallax{
      margin-top: 50px;
      margin-bottom: 50px;
    }
    .lista-parallax li{
      margin-bottom: 20px;
    }
    .items-parallax span{
      font-size: 1.5rem;
    }
    .items-parallax p{

      font-size: 1rem;
    }
    .items-parallax i svg{
      width: 50px;
    }
  }
  .owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
    outline: 0;
  }
  .owl-carousel button.owl-dot {
    outline: 0;
  }


/* Noticias */

/* Creamos el grid en este caso de 3 imágenes */

.blocks-notices {
  display: grid;
  grid-template-areas:
      'Area Area2'
      'Area Area3';
  grid-gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: 12%;
  margin-right: 12%;

}

.block-notice {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.alignwide {
  max-width: unset;
  width: unset;
}

/* Es importante nombrar cada uno de nuestros elementos para luego posicionarlos con el grid */
/* Esta es una sección que deberas aumentar siempre que tu diseño tenga mas de 3 elementos */

.block-notice-0 {
  grid-area: Area;
  background-image: url(../images/new-1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.block-notice-1 {
  grid-area: Area2;
  background-image: url(../images/new-2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.block-notice-2 {
  grid-area: Area3;
  background-image: url(../images/new-3.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Capa superpuesta para resaltar el texto */

.overlay:before {
  content: "";
  background: rgba(0,0,0,0.3);
  width: 100%;
  height: 100%;
  position: absolute;
  
}
.block-notice-text h2{
  font-family: 'bebas neue';

}
.block-notice p {
  font-family: 'ubuntu';
  position: absolute;
  bottom: 0;
  padding: .5rem 1rem;
  color: #ffffff;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0s, opacity 0.5s linear;
  transition: visibility 0s, opacity 0.5s linear;
}

/* La clase overlay me sirve para animar los textos cuando se hace hover en ella */

.overlay:hover > .block-notice-text {
  top: 0;
  -webkit-transition: all 800ms ease-in-out;
  transition: all 800ms ease-in-out;
}
.overlay:hover > .block-notice-text h2 {
  bottom: 100px;
  -webkit-transition: all 800ms ease-in-out;
  transition: all 800ms ease-in-out;
}
.overlay:hover > .block-notice-text p {
  visibility: visible;
  opacity: 1;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.overlay:hover:before {
  content: "";
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  position: absolute;
}

/* En este caso he querido añadir una tipografía responsive que va de:
30px la las grande a 20px la mas pequeña para moviles */

.block-notice-text h2 {
  font-size: calc(20px + (30 - 20) * ((100vw - 300px) / (1600 - 300)));
}
.block-notice h2 {
  position: absolute;
  bottom: 0;
  padding: 1rem;
  color: #ffffff;
}
@media (max-width: 921px){
  .blocks-notices {
      grid-template-areas:
          'Area'
          'Area2'
          'Area3';
  }
}
/* Carrusel Marcas */
/* Quitar el border-bottom del elemento confian */

.gtco-testimonials2 {
    
  
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  width: 100%;
  
}
.gtco-testimonials2 .owl-nav {
  display: none;
} 
.gtco-testimonials2 .owl-dots {
  display: none;
} 
.gtco-testimonials2 .owl-dots span{
  display: none;
  
}
.gtco-testimonials2 .marca {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
  height: 200px;
  max-width:  190px ;
}
.gtco-testimonials2 .marca img{
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Footer */
.aviso-cookies {
	display: none;
	background: #fff;
	padding: 20px;
	width: calc(100% - 40px);
	max-width: 300px;
	line-height: 150%;
	border-radius: 10px;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 100;
	padding-top: 60px;
	box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
	text-align: center;
}

.aviso-cookies.activo {
	display: block;
}

.aviso-cookies .galleta {
	max-width: 100px;
	position: absolute;
	top: -50px;
	left: calc(50% - 50px);
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
	margin-bottom: 15px;
}

.aviso-cookies .boton {
	width: 100%;
	background: #F9B52C;
	border: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

.aviso-cookies .boton:hover {
	background: #000;
}

.aviso-cookies .enlace {
	color: #4DBFFF;
	text-decoration: none;
	font-size: 14px;
}

.aviso-cookies .enlace:hover {
	text-decoration: underline;
}

.fondo-aviso-cookies {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-aviso-cookies.activo {
	display: block;
}
footer{
    height: 200px;
    width: 100%;
    margin-top: 50px;
    background-color: #F5F6F7 ;
  
}
.social-icons{
    text-decoration: none;
    color: #333;
}
.logo-footer img{
  
  max-width: 350px;
  
  
}
footer h6{
  font-size: 1.5rem;
  font-weight: 200 !important;
  color: #333;
  font-family: 'bebas neue';
  letter-spacing: 3px;
}
.grupo-certificados{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem; 


}
.copyright a{
  text-decoration: none;
  color: #333;
}
.copyright a:hover{
  color: #FF9800;
}
.grupo-certificados p{
  color: rgba(33, 37, 41, 0.75);
}
.grupo-certificados p::before{

  content: "> ";
  color: #FF9800;
  font-size: 1rem;
  font-weight: bold;
}
a {
  text-decoration: none !important;
}
.boton-form{
  background-color: #FDC147;
  color: #fff;
  transition: .3s ease all;
}
.boton-form:hover{
  background-color: #FF9000 !;
  color: #fff;
  transition: .3s ease all;
}
.form-control{

  border: 1px solid #333 !important;
  border-radius: 0 ;
  transition: .3s ease all;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .navbar-collapse ul{
   
        width: 100%;
    }
    .logo{
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .hero{
        background-image: url(../images/heroe-image-difuminado.png) ;
        background-position: center top;
        background-size: cover;
   }
   
   .logo-footer img{
  
    margin-bottom: 20px;
    max-width: 280px;
  }

  .gtco-testimonials .card .card-img-top {
    max-width: 100px;
    border-radius: 50%;
    margin: 15px auto 0;
    box-shadow: 0 8px 20px -4px #95abbb;
    width: 100px;
    height: 100px;
  }

}
@media (min-width: 500px) {
    #button {
      margin: 30px;
    }
    .gtco-testimonials {
        margin-left: 0;
       
    }
   
  }

@media screen and (max-width: 430px) {
    .slice-titulo{
        font-size: 2.8rem;
    }
    .slice-subtitulo{
        font-size: 1.8rem;
    }
    .hero{
        background-position: center;
        background-attachment: scroll;
        background-size: cover;
   }
   .card{
    max-width: 300px;
 
  }

}
@media screen and (max-width: 768px) {
  .logo{
    top: 0;
    
  }
  .carrusel-title h1{
    font-size: 3rem;
}
  .block-notice h2{
    margin-bottom: 30px;
  }

  .block-notice p {
    margin-top: 20px ;
    opacity: 1;
    height: 39%;
    width: 100%;
    overflow: scroll;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll ;
    /* Quiero que el scroll-y se quede activo en movil */
    
  }

  .lista-parallax{
    display: flex;
    flex-direction: column ;
    align-items: center;
    justify-content: center; 
    width: 100%;
    margin-top: 150px;
    margin-bottom: 150px;
    
  }
  .items-parallax{
    padding: 10px;

  
    margin: 0;

  }
  .items-parallax span{
    line-break: normal;
    font-size: 1.5rem; 
    color: #FF9800  ;

  }
  .items-parallax p{
    font-size: 1.5rem;
    text-align: center;
    margin-top: 20px;
    
    
  }
  .items-parallax i svg{
    width: 100px;
  }
  .parallax{
    min-height: 900px;
    background-attachment: scroll;
  }
  .parallax-container{
    min-height: 900px;
  }
  .parallax-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    border-radius: 50% 50% 0 0;
    z-index: 1;
  }
    .parallax-container::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 120px;
      border-radius: 0 0 50% 50%;
      z-index: 1;
    }
}
@media screen and (min-width: 1700px) {
    
    .hero{
        background-position: center ;
        background-attachment: fixed;
        background-size: cover;
        
   }
   .card{
    max-width: 400px;
 
  }

  .gtco-testimonials .card .card-img-top {
    max-width: 150px;
    border-radius: 50%;
    margin: 15px auto 0;
    box-shadow: 0 8px 20px -4px #95abbb;
    width: 150px;
    height: 150px;
  }
  .gtco-testimonials .card h5 {
    color: #FF9800;
    font-size: 21px;
    line-height: 1.3;
  }
  .gtco-testimonials .card h5 span {
    font-size: 18px;
    color: black;
  }
    .gtco-testimonials .card p {
    font-size: 20px;
    color: #555;
    margin-top: 30px;
    margin-left: 10px ;
    margin-right: 10px;
  }
  .gtco-testimonials .card {
   
    max-width: 600px;
  }
  
  .gtco-testimonials2 .marca {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
    height: 200px;
    max-width:  250px ;
  }
  
}
@media screen and (min-width: 1900px){
  
}

@media screen and (min-width: 1200px){
    .hero{
        background-position: center ;
        background-attachment: fixed;
        background-size: cover;
        
   }

 

  }


@media screen and (max-width: 1200px) {
    .grupo-card{
    
        flex-direction: column;
        align-items: center;
        height: auto;
        width: 100%;
        
   }
   .card{
        max-width: 80vw;
        margin-bottom: 30px;
   }
   

}

