:root{
--bg-primary:  #2D87C4;
--color-primary: #2D87C4;
--bg-secondary:  #022954;
--color-secondary: #022954;
}

html {
    max-width: 100%;
    overflow-x: hidden;

}

.bg-trabajos{
  background: #091014 !important;
}

#background-video{
    z-index: -2;
    position: absolute;
}

#background-video{
    position: absolute;
    z-index:-3;
    width: 100%;
    height: 100vh;
    background-size:cover;
    background-repeat: no-repeat;
}
#background-video video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index:-2;
    object-fit: cover;
}

.bg-overlay{
    background-color: #0c161d;
    opacity: .65;
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: -1;
}

.logo-cliente{
    width: 160px;
    height: auto;
    padding:20px 30px;
}

.primary{
    color:var(--color-primary) !important;
}

.secondary{
    color:var(--color-secondary) !important;
}        
.btn-secondary{
    background:var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
}   
.btn-secondary:hover{
    background:#0A1E3A !important;
    border: 1px solid #0A1E3A !important;
    color: white !important;
    transition: all .2s ;
}


.hidden{
    display: none;
}

a{
    color: var(--color-primary);
    text-decoration: none;
    transition: all .2s ;
}
a:hover{
    color: #f2f2f2;
}


  body::-webkit-scrollbar {
    width: 4px;               /* width of the entire scrollbar */
  }

  body::-webkit-scrollbar-track {
    background: white;        /* color of the tracking area */
  }

  body::-webkit-scrollbar-thumb {
    background-color: var(--bg-primary);    /* color of the scroll thumb */
  }

.bg-secondary{
            background:var(--bg-secondary) !important;
        }

body{
    background-color: #091014 !important;
    font-size: 17px !important;
    font-family: 'Outfit', sans-serif !important;
	background: linear-gradient(-45deg, #162938, #0c161d, #133349 );
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100%;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


#trabajos{
  background-color: #0c161d !important;
}


/* pruebas gradiente fondo */



/* END pruebas gradiente */




.relative{
    position: relative;
}

.relative .info-hover{
    position: absolute;
    width: 100%;
    height: 160px;
    bottom: 7px;
    opacity: 0;
    transition: all .5s;
}

.relative:hover .info-hover{
    display: block;
    opacity: 1;
    background: linear-gradient(transparent, #0c161d);

}

.relative .info-hover h2{
    color: white !important;
    font-size: 28px;
}



.internas-top{
 background-size: cover;
  color: white;
  padding-top: 80px;
  padding-bottom: 60px;
}

.internas-top a{
    color: var(--bg-primary);
    text-decoration: none;
    transition: all .2s ;
.
}
.internas-top a:hover{
    color: #f2f2f2;
}

i.fa-solid.fa-chevron-right.ps-2.pe-2.pt-1.aos-init.aos-animate {
    font-size: 12px;
    margin-top: 4px;
}

.about-us{
    font-size: 3.5em !important;
    font-weight: 800;
}

.about-us .cursive{
    font-size: 0.4em;
    font-weight: 400;
    margin-bottom: -10px !important;
}

.work-name{
    font-size: 2.765em;
    font-weight: 500;
    font-style: normal;
}

.strong-text{
    font-size: 1.05rem;
    font-weight: 700;
}

.span-text{ 
    color: #797c7f !important;
}

.c-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 1em;
    bottom: 1em;
}

.padding-sidebar{
    padding-top: 75px;
}




.bg-parallax {
 background-image: url("../media/bg.jpg");
 background-attachment: fixed;
 background-position: left;
 height: 100vh;
 width: 100%;
 display: flex;
 background-size: cover !important;
 background-repeat: no-repeat;
}



.bg-clients{
    background:#091014 !important;
}


/* marquee clients */

:root {
  --color-text: navy;
  --color-bg: papayawhip;
  --color-bg-accent: #ecdcc0;
  --size: clamp(10rem, 1rem + 40vmin, 30rem);
  --gap: calc(var(--size) / 14);
  --duration: 20s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #fff;
    --color-bg: navy;
    --color-bg-accent: #2626a0;
  }
}

* {
  box-sizing: border-box;
}


.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee--vertical .marquee__group {
  animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@keyframes scroll-y {
  from {
    transform: translateY(var(--scroll-start));
  }
  to {
    transform: translateY(var(--scroll-end));
  }
}

/* Element styles */
.marquee svg {
  display: grid;
  place-items: center;
  width: var(--size);
  fill: var(--color-text);
  aspect-ratio: 16/9;
  /*padding: calc(var(--size) / 10) !important;*/
  border-radius: 0.5rem;
}

.marquee--vertical svg {
  aspect-ratio: 1;
  width: calc(var(--size) / 1.5);
  padding: calc(var(--size) / 6);
}

/* Parent wrapper */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

.wrapper--vertical {
  flex-direction: row;
  height: 100vh;
}

/* Toggle direction button */
.toggle {
  --size: 3rem;
  position: relative;
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: var(--size);
  height: var(--size);
  font: inherit;
  text-align: center;
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: 50%;
  color: inherit;
  background-color: var(--color-bg-accent);
  z-index: 1;
}

.toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--color-text);
}

.toggle span {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: calc(100% + 0.4em);
  width: fit-content;
  white-space: nowrap;
  transform: translateY(-50%);
  animation: fade 400ms 4s ease-out forwards;
  user-select: none;
}

.toggle svg {
  --size: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  fill: currentcolor;
  transform: translate(-50%, -50%);
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.toggle--vertical svg {
  transform: translate(-50%, -50%) rotate(-90deg);
}

@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}



/* END marquee clients */






/* animaciones botones */
/* Reveal icon on hover */

h1.title {
  padding:25px;
  font-size:30px;
  font-weight: 100;;
}

.margin-bottom-40 {
  margin-bottom:40px;
}

/* Button Sizes*/

.btn-mod.btn-large {
    height: auto;
    padding: 13px 52px;
    font-size: 15px;
}

.btn-mod.btn-medium {
    height: auto;
    padding: 10px 35px;
    font-size: 13px;
}

.btn-mod.btn-small {
    height: auto;
    padding: 6px 16px;
    font-size: 12px;
}



/* Dark version */

.btn-mod-dark, a.btn-mod-dark {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px 13px;
    color: #000;
    background: rgba(208, 208, 208, 0.9);
    border: 2px solid transparent;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -moz-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -o-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.btn-mod-dark.btn-border-dark:hover, .btn-mod-dark.btn-border:focus{
    color: #000;
    border-color: transparent;
    background: #fff;
}

.btn-mod-dark:hover, .btn-mod-dark:focus, a.btn-mod-dark:hover, a.btn-mod-dark:focus {
    font-weight: 400;
    color: rgba(208, 208, 208, 0.9);
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    outline: none;
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}


a.btn.btn-mod-dark.btn-border-dark.animation-one span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

a.btn.btn-mod-dark.btn-border-dark.animation-one span:after {
  font-family: FontAwesome;
  content: "\f105";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.3s;
}

a.btn.btn-mod-dark.btn-border-dark.animation-one:hover span {
  padding-right: 25px;
}

a.btn.btn-mod-dark.btn-border-dark.animation-one:hover span:after {
  opacity: 1;
  right: 0;
}


/* Button Mod to the original Bootstrap Buttons */

.btn-mod.btn-circle {
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.btn-mod.btn-border {
    color: #fff;
    border: 2px solid #fff !important;
    background: transparent;
}

.btn-mod, a.btn-mod {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px 13px;
    color: #fff;
    background: rgba(34,34,34, .9);
    border: 2px solid transparent;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -moz-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -o-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.btn-mod.btn-border:hover, .btn-mod.btn-border:focus{
    color: #fff;
    border-color: transparent;
    background: #000;
}

.btn-mod:hover, .btn-mod:focus, a.btn-mod:hover, a.btn-mod:focus {
    font-weight: 400;
    color: rgba(255,255,255, .85);
    background: rgba(0,0,0, .7);
    text-decoration: none;
    outline: none;
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Reveal icon on hover */

a.btn.btn-mod.btn-border.animation-one span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

a.btn.btn-mod.btn-border.animation-one span:after {
  font-family: FontAwesome;
  content: "\f105";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.3s;
}

a.btn.btn-mod.btn-border.animation-one:hover span {
  padding-right: 25px;
}

a.btn.btn-mod.btn-border.animation-one:hover span:after {
  opacity: 1;
  right: 0;
}

/* lightbox gallery */

.container-gallery {
  width: 100%;
  margin: 0 auto;
}

.main .container-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
}
.main .big{
  display: grid;
  grid-template-columns: repeat(1, 1fr) !important;
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
}
.main .card {
  color: #252a32;
  border-radius: 2px;
  background: #ffffff;
}
.main .card-image {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 70%;
  background: #ffffff;
  border: none !important;
}
.main .card-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none !important;
}

@media screen {
  html:not(.no-js) [data-aos^="fade"][data-aos^="fade"].aos-animate {
    border: none;
  }
}

@media (max-width: 768px) {
.main .container-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1rem;
  }
}







/* Footer styling */

p.footer-text {
    font-weight: 100;
}

/** end */

header{
    z-index: 1000000;
    width: 100%;
    transition: background-color 0.2s ease-out;
    /*position: fixed;*/

}

h2,h3,h4,h5,h6{
    color: var(--color-primary) !important;
}

.header{
    background:transparent;
}

.header.active{
    background:#091014;
    animation: none;
}

.header .logo-fx{
    width: 140px;
    height: auto;
    transition: all 0.2s ease-out;
}


.header.active .logo-fx{
    margin: 0;
    width: 90px;
    height: auto;
    position:inherit;
    filter: brightness(0) invert(1);
}


.navbar-toggler {
    color: white !important;
}



/* header */


.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.header li a {
  display: block;
  padding: 7px 20px;
  text-decoration: none;
  transition: all .5s ;
}


.header ul.menu li a:hover,
.header .menu-btn:hover {
  color: white !important;
}

/* menu */

.header .menu {
  max-height: 0;
  transition: max-height .2s ease-out;
  width: 100%;
  justify-content: flex-end!important;
  display: flex!important;
}


.header .navbar-collapse{
    padding-top: 30px;
}

.header.active .navbar-collapse{
    padding-top: 0;
}


.header ul.menu li a {
    color: var(--color-primary) !important;
    font-weight: 500;
}
.header.active ul.menu li a {
    color: #fff !important;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  right:20px;
  top: 5px;
  padding: 20px;
  position: absolute;
  user-select: none;
}

.header .menu-icon .navicon {
  background: var(--color-primary);
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}
.header.active .menu-icon .navicon {
  background: white;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: var(--color-primary);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}


.header.active .menu-icon .navicon:before,
.header.active .menu-icon .navicon:after {
  background: white;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

.h1{
    font-size: 120px !important;
    line-height: 104px !important;
    padding: 0 !important;
}
.subtitle{
    font-size: 18px;
    margin: 0 !important;
    padding: 20px;
    line-height: 15px;
    background-color: var(--bg-primary) !important;
    color: white;
}


.video-hover{
    position: relative;
    clear: both;
    min-height: 240px;
    padding: 10px !important;
}

.video-hover .image{
    position: absolute;
    left: 0;
    top:0;
    transition: all 0.4s ease-out;
    z-index: 2;
}

.video-hover:hover .image{
    opacity: 0;
}

.video-hover .video{
    position: absolute;
    left: 0;
    top:0;
    transition: all 0.4s ease-out;
    z-index: 1;
}

footer{
    background-color: #091014;
}

footer p.lead{
    font-size: 15.4px;
    font-weight: 400;
}

footer a{
    color: var(--bg-primary);
    text-decoration: none;
    transition: all .2s ;
}
footer a:hover{
    color: #f2f2f2;
}


/* trabajos */

.hover-effect{
  padding: 15px;
  background: transparent;
    transition: all .5s !important;
    margin-bottom: 0;

}

.hover-effect:hover{
  background: #0c161d !important;
  -webkit-box-shadow: 0px 0px 30px 1px #0c161d; 
  box-shadow: 0px 0px 30px 1px #0c161d;
  margin-top: -10px !important;
  border-radius: 8px;

}
/* END trabajos*/



@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 7px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }

  
}



/* marquee */
.a-section {
    padding: 3em 3% 0;
}
.a-section-marquee-box {
    height: 180px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.a-section-marquee-box h2 {
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 7em;
    font-weight: 100;
    flex-shrink: 0;
    padding: 0 10px;
    width: max-content;
    display: flex;
    align-items: center;
    transform: translateX(0);
    animation: a-text-scroll 35s linear infinite;
    color: #f2f2f2 !important;
}
@keyframes a-text-scroll {
    0% { transform: translate3d(-100%, 0, 0); }
    100% { transform: translate3d(0%, 0, 0); }
}




.b-section {
    padding: 3em 3% 0;
}
.b-section-marquee-box {
    height: 180px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.b-section-marquee-box h2 {
    white-space: nowrap;
    text-transform: uppercase;
    color: #475747;
    font-size: 7em;
    font-weight: 100;
    flex-shrink: 0;
    padding: 0 10px;
    width: max-content;
    display: flex;
    align-items: center;
    transform: translateX(0);
    animation: b-text-scroll 35s linear infinite;
}
@keyframes b-text-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}*/















@media (max-width: 2100px) {
  .video-hover {
      min-height: 246px;
  }

  .h1{
    font-size: 110px !important;
    line-height: 104px !important;
    padding: 0 !important;
}
  
}


@media (max-width: 2000px) {
  .video-hover {
      min-height: 244px;
  }

}



@media (max-width: 1900px) {
  .video-hover {
      min-height: 242px;
  }

}



@media (max-width: 1800px) {
  .video-hover {
      min-height: 240px;
  }

  .h1{
    font-size: 130px !important;
    line-height: 124px !important;
    padding: 0 !important;
}
  
}







@media (max-width: 1600px) {
  .video-hover {
      min-height: 234px;
  }

  .h1{
    font-size: 118px !important;
    line-height: 114px !important;
    padding: 0 !important;
}
  
}


@media (max-width: 1500px) {
  .video-hover {
      min-height: 232px;
  }


  
}




@media (max-width: 1400px) {
  .video-hover {
      min-height: 230px;
  }

  .h1{
    font-size: 110px !important;
    line-height: 104px !important;
    padding: 0 !important;
}

.marquee svg {
    padding: 0px;
}
  
}



@media (max-width: 1300px) {
  .video-hover {
      min-height: 200px;
  }


}



@media (max-width: 1200px) {
  .video-hover {
      min-height: 190px;
  }


}


@media (max-width: 1100px) {
  .video-hover {
      min-height: 166px;
  }


  
}

@media (max-width: 1000px) {
  .video-hover {
      min-height: 124px;
  }


@media (max-width: 768px) {
  .header .menu {
  justify-content:right !important;
  display:flow!important;
  }

  .video-hover {
      min-height: 150px;
  }

  .h1{
    font-size: 60px !important;
    line-height: 56px !important;
    padding: 0 !important;
}

.a-section-marquee-box,.b-section-marquee-box {
    height: 50px;
}

.a-section-marquee-box h2,.b-section-marquee-box h2{
  font-size: 3em;
}

.header .menu-btn:checked ~ .menu {
    max-height: 240px;
    padding-bottom: 50px;
    padding-top: 30px;
}

footer .pt-5.mt-2.lead.text-white.aos-init.aos-animate {
    text-align: center;
}

footer .col-md-3.text-white.pt-md-5.mt-md-3 {
    text-align: center;
}


ul.menu.me-md-5 {
    padding-left: 40px;
}

.header.active ul.menu li a:hover {
    color: var(--color-primary) !important;
}


.marquee svg {
    padding: 20px 0px;
}

h1.h4.about-us.aos-init.aos-animate {
    font-size: 50px !important;
}
  
  
}