::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
  
}

::-webkit-scrollbar-thumb {
    background-color: #f15927;
    background-image: -webkit-linear-gradient(45deg,rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}



/*Webkit*/
main::-webkit-scrollbar {
	width: 12px;
	height: 12px;
  }
  main::-webkit-scrollbar:window-inactive {
	display: none;
  }
  main::-webkit-scrollbar:corner-present  {
   }
   main::-webkit-scrollbar-track-piece {
	border-radius: 2px;
	background-color: #f34911;
	background-clip: content-box;
	border-radius: 6px;
	border: solid 4px transparent;
  }
  main::-webkit-scrollbar-track-piece:decrement {
	background: #f15927;
	background-clip: content-box;
	border: solid 4px transparent;
  }

  
  main::-webkit-scrollbar-thumb  {
	height: 10px;
	width: 4px;
	background-color: #043b60;
	border-radius: 6px;
	box-shadow: 0 3px 6px -2px rgba(255, 255, 255, 0);
  }

  main::-webkit-scrollbar-thumb:hover  {

	background-color: #022842;

  }

  main::-webkit-scrollbar-corner {
	background: transparent ;
  }
  


 main::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 0%);
    background-color: #babac400;
}


main::-webkit-scrollbar {
	width: 1em;
	background-color: #956c6c00!important;
}


*, *:after, *:before {box-sizing: inherit;}
* {margin:0;padding:0;border: 0 none; position: relative;}
:root {
	--sinSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	--Nhexa: 6;
	--gap: 1vw;
	--size: calc(calc(100vw / var(--Nhexa)) - var(--gap));
}

@media only screen and (max-width: 600px) {
	main{
		margin-top: 50%!important;
	}

	article:nth-child(2n) {
        margin: 120px -256px -54px 8px !important;
    }

}



@media only screen and (min-width: 1100px) {:root {--Nhexa: 8;}}
@media only screen and (max-width: 600px) {
	:root {--Nhexa: 6;}
	body {margin-right: calc(var(--size) * .3);}
}




html {
	overflow-y: hidden!important;
	background: #e9e9e7;
  box-sizing: border-box;
	font-family: var(--sinSerif);
	font-size: 1rem;
}

body {
	background-image: url(img/Carreterafin.gif); background-position:center; background-size: cover;
    padding-right: calc(var(--size)* .5);
    padding-left: calc(var(--size)* .5);
    padding-top: calc(var(--size)* .2);
    padding-bottom: calc(var(--size)* .2);
	height: calc(100vh - 0px)!important;
	overflow-X: hidden!important;
	 overflow-y: hidden!important; 
	-webkit-hyphens: auto;
	    -ms-hyphens: auto;
	        hyphens: auto;
}

main{
	/* margin-left: -230px; */
	margin-left: -70px;
    width: 90%;
    height: 88%;
    position: absolute;
    top: 53%;
    transform: translate(0, -48%);
    overflow-y: hidden;
    overflow-x: scroll;

}

.logo {
	padding: 15px;
    width: 16%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    top: -42px;
}

.page-home .overlay {
    background-color: rgb(255 255 255 / 73%);
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.site-wrapper {
    border-top: 4px solid #f15927;
}

section {
  margin: calc(var(--size) * .5) auto 0;
  width: calc(var(--size) * calc(var(--Nhexa) - 1));
	display: grid;
	grid-template-columns: repeat(var(--Nhexa), 1fr);
	grid-gap: var(--gap);
	margin-top: 130px;
}
article {
	cursor: pointer;
	background: #ffffff00;
  width: var(--size); 
  height: calc(var(--size) / 1.1111111);
	/* -webkit-clip-path: url(#hexagono);
	        clip-path: url(#hexagono);
  -webkit-clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
          clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); */
  margin-right: calc(var(--size) / 2);
	color: #fff;
	overflow: hidden;
}

article:nth-child(2n) {
	margin: 76px -5px -135px -122px;
	/* margin: calc(var(--size) * -.5) calc(var(--size) * -.25) 0 calc(var(--size) * -.75);  */
	/* margin: 124px -100px -133px -163px; */
}


article::before {
	content: '';
	float: left;
	width: 25%;
	height: 100%;
	/* -webkit-clip-path: polygon(0% 0%, 100% 0%, 0% 50%, 100% 100%, 0% 100%);
	        clip-path: polygon(0% 0%, 100% 0%, 0% 50%, 100% 100%, 0% 100%);
	shape-outside: polygon(0% 0%, 100% 0%, 0% 50%, 100% 100%, 0% 100%); */
}

/* img:hover {
	-ms-transform: scale(1.5); 
	-webkit-transform: scale(1.5); 
	transform: rotate(-330deg);

	transition: transform 1s; 
} */

article .cls-1:active{
	fill: #f00e0ead;
    stroke: #2e27f1;
}

img {
	width: 100%;
	height: auto;
	/* width: 85px;
    position: absolute;
    z-index: 10;
    transform: rotate(30deg);
    margin-left: -43px;
    margin-top: -15px; */
  /* width: var(--size);
	height: var(--size);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transform-origin: 0% 50%;
	transition: .75s;
	-webkit-clip-path: url(#hexagono);
	        clip-path: url(#hexagono);
	-webkit-clip-path: inherit;
	        clip-path: inherit;
	z-index:  10; */
}
/* 
article:hover img {
	transform: scale(0.87);
z-index: -1;
-webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
-moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
-o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s; 
} */





/* article:hover img {
	opacity: 1;
	transform: translate(-50%, -50%) rotate(360deg);
} */

h2 {font-size: 100%;}


figure {
	/* display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	max-width: 50%;
	height: 100%;
	font-size: calc(9 / var(--Nhexa) * 1vw);
	line-height: 1;
	color: #fff;
	transition: .75s .05s;
  text-align: center; */
  display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: end;
    max-width: 50%;
    height: 95%;
    font-size: 16px;
    line-height: 1;
    color: #f15f32;
    transition: .75s .05s;
    text-align: center;
}


figure p {
	font-size: 70%;
	line-height: 1.2;
	width: 100%;
}
h1 {
	width: 100vw;
	background: #FF0066;
	position: sticky;
	top: 0;
	z-index: 1;
	margin-bottom: calc(var(--size) * .55 + var(--gap));
	padding: 2vh 0;
	text-align: center;
	font-weight: 400;
	color: #fff;
}
body > p {
	font-size: 1.5rem;
	margin: 2rem 0 1rem calc(var(--size) * .5);
	font-weight: 200;
}


.hexagon-item:hover .hex-item:last-child {
	opacity: 1;
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	-ms-transform: scale(1.3);
	-o-transform: scale(1.3);
	transform: scale(1.3); }

  .hexagon-item:hover .hex-item:first-child {
	opacity: 1;
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2); }
	.hexagon-item:hover .hex-item:first-child div:before,
	.hexagon-item:hover .hex-item:first-child div:after {
	  height: 5px; }



  .hexagon-item:hover .hex-item div::before,
  .hexagon-item:hover .hex-item div::after {
  /* background-color: #ff0037;  */

  }

  .cls-1 {
	fill: #ffffffad;
	stroke: #f15927;
	stroke-miterlimit: 10;
	stroke-width: 6px;
  }

  .cls-1:hover{
	fill: #fff;
	stroke: #043b60;
	stroke-miterlimit: 10;
	stroke-width: 6px;
  }


  .hexagon-item .hex-item .active  {
	background-color: #ff0037; 

  }

	.hexafondo:active  div::before {
	  fill: #1e2530;
  }



	/* .icon-color:hover {
	  filter: invert(29%) sepia(50%) saturate(7473%) hue-rotate(301deg) brightness(56%) contrast(362%);
	} */

	/* .icon-color{
	  filter: invert(100%) sepia(0%) saturate(100%) hue-rotate(1deg) brightness(100%) contrast(100%);
	  width: 100%;
	  height: auto;
	} */

  .hexagon-item:hover .hex-content svg {
	-webkit-transform: scale(0.97);
	-moz-transform: scale(0.97);
	-ms-transform: scale(0.97);
	-o-transform: scale(0.97);
	transform: scale(0.97); }

/* .page-home .hexagon-item:nth-last-child(1),
.page-home .hexagon-item:nth-last-child(2),
.page-home .hexagon-item:nth-last-child(3) {
-webkit-transform: rotate(30deg) translate(87px, -80px);
-moz-transform: rotate(30deg) translate(87px, -80px);
-ms-transform: rotate(30deg) translate(87px, -80px);
-o-transform: rotate(30deg) translate(87px, -80px);
transform: rotate(30deg) translate(87px, -80px); } */

.hex-item {
position: absolute;
top: 0;
left: 50px;
width: 100px;
height: 173.20508px; }

.hex-item:first-child {
  z-index: 0;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.hex-item:last-child {
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1; }
.hex-item div {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  width: 100px;
  height: 173.20508px;
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center; }


  .hex-item div::before, .hex-item div::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 3px;
	-webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
	-moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
	-o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s; }


	

  .hex-item div:before {
	top: 0; }
  .hex-item div:after {
	bottom: 0; }
  .hex-item div:nth-child(1) {
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg); }
  .hex-item div:nth-child(2) {
	-webkit-transform: rotate(60deg);
	-moz-transform: rotate(60deg);
	-ms-transform: rotate(60deg);
	-o-transform: rotate(60deg);
	transform: rotate(60deg); }
  .hex-item div:nth-child(3) {
	-webkit-transform: rotate(120deg);
	-moz-transform: rotate(120deg);
	-ms-transform: rotate(120deg);
	-o-transform: rotate(120deg);
	transform: rotate(120deg); }

.hex-content {
color: #fff;
display: block;
height: 180px;
margin: 0 auto;
position: relative;
text-align: center;
transform: rotate(-30deg);
width: 156px; }


.hex-content .hex-content-inner {
  left: 50%;
  margin: -3px 0 0 2px;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); }


.hex-content .icon {
  display: block;
  font-size: 36px;
  line-height: 30px;
  margin-bottom: 11px; }

  .hex-content img  {
	width: 100px;
    position: absolute;
    z-index: 10;
    transform: rotate(30deg);
    margin-left: -52px;
    margin-top: -19px;
 }

  


.hex-content .title {
	display: block;
    font-family: 'Anton', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: uppercase;
    top: 60px;
    left: -35px;
    color: #043b60;
    transform: rotate(30deg);
    font-style: normal;

 }



.hex-content svg {
    left: -18px;
    position: absolute;
    top: 4px;
    transform: scale(0.87);
  z-index: -1;
  -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
  -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
  -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s; }
.hex-content:hover {
  color: #fff; }





  .hexagon-item:hover .icon i
  {
	color:#ff0037;
	transition:0.6s;
	
  }
  
  .hexagon-item:hover .icon {
	/* filter: invert(80%) sepia(100%) saturate(7500%) hue-rotate(1deg) brightness(100%) contrast(300%); */
  }
  
  
  /* .hexagon-item:hover .title
  {
	-webkit-animation: focus-in-contract 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
			  animation: focus-in-contract 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  } */
  /***************************/
  
  @-webkit-keyframes focus-in-contract {
	0% {
	  letter-spacing: 1em;
	  -webkit-filter: blur(12px);
			  filter: blur(12px);
	  opacity: 0;
	}
	100% {
	  -webkit-filter: blur(0px);
			  filter: blur(0px);
	  opacity: 1;
	}
  }
  @keyframes focus-in-contract {
	0% {
	  letter-spacing: 1em;
	  -webkit-filter: blur(12px);
			  filter: blur(12px);
	  opacity: 0;
	}
	100% {
	  -webkit-filter: blur(0px);
			  filter: blur(0px);
	  opacity: 1;
	}
  }



.contact-widget {
	cursor: pointer;
	right: 0px;
    z-index: 999999;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.contact-widget a,
.contact-widget span {
	display: block
}

.contact-widget .tab {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 10px;
	text-decoration: none;
	-webkit-transform: translateX(118px);
	transform: translateX(118px);
	-webkit-transition: all 350ms ease-in-out;
	transition: all 350ms ease-in-out
}

.contact-widget .tab img {
	width: 60px;
    height: 30px;
}

.contact-widget .tab.phone {
	background: #f15927;
    margin-top: 20px;
}

.contact-widget .tab.whatsapp {
	background: #f15927;
    margin-top: 20px;
}

.contact-widget .tab.face {
	background: #f15927;
    margin-top: 20px;
}

.contact-widget .tab:hover {
	-webkit-transform: translateX(0);
	transform: translateX(0);
	background: #043b60;
}

.contact-widget .icon {
	margin-right: 10px
}

@media(max-width:767px) {

	.contact-widget {
	top: 461px;
	right: -2px;
	}

	.contact-widget img {
		width: 20px
	}
}


/* 
  
  MeduiaQuery

   */
  
  
  @media only screen and (max-width: 767px){

	article:nth-child(2n) {
        margin: 120px -256px -54px 8px !important;
    }


  .hexagon-item {
	  float: none;
	  margin: 0 auto 50px;
  }
	.hexagon-item:first-child {
	  margin-left: auto;
  }
	
	.page-home .hexagon-item:nth-last-child(1), .page-home .hexagon-item:nth-last-child(2), .page-home .hexagon-item:nth-last-child(3) {
	  -webkit-transform: rotate(30deg) translate(0px, 0px);
	  -moz-transform: rotate(30deg) translate(0px, 0px);
	  -ms-transform: rotate(30deg) translate(0px, 0px);
	  -o-transform: rotate(30deg) translate(0px, 0px);
	  transform: rotate(30deg) translate(0px, 0px);
  }
	
  }




  @media only screen and (max-width: 1600px) {

	article:nth-child(2n) {
		margin: 101px -36px -146px 0px !important;
	}

	article {
		width: 160% !important;
        height: 120% !important;
		
	}


}



  @media (min-width: 1300px) and (max-width: 1400px) {

	article {
		width: 165% !important;
        height: 120% !important;
		
	}

	article:nth-child(2n) {
		margin: 98px -87px -98px 1px!important;
	}

	

  }

