/* Definición de variables CSS para el tema light */
:root {  
  --bg-color: #f2f7fd;
  --text-color: #000;
  --accent:#0069ff;
  --grey: #8d8d8d;
  --black: #000;
  --white: #fff;
}
/* Estilos para el tema dark */
[data-theme="dark"] {
  --bg-color: #090F19;
  --text-color: #fff;  
}
.d-dark {display: none;}
[data-theme="dark"] {
  .d-light {display: none;}
  .d-dark {display: block !important;}
}
.w100, .size-large {
  width: 100%;
  height: auto;
}
[id] {scroll-margin-top: 150px;}
@media only screen and (max-width: 991px){
  [id] {scroll-margin-top: 90px;}
}
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 200;
}
h1, h2, h3 {
  font-family:"Montserrat", sans-serif;
  font-weight: 800;
}
h1 {}
@media only screen and (max-width: 991px){
  h1 {font-size: 1.2rem;}
  .lead {font-size: .9rem;}
  .call-primary,
  .call-secondary {
    display: block !important;
  } 
}
h2 {}
h3 {}
.call-primary {
  text-decoration: none;
  background-color: var(--accent);
  padding: .5rem 1rem;
  display: inline-block;
  border-radius: .2rem;
  margin: .5rem;
  color: var(--white) !important;
}

.call-secondary {
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: .5rem 1rem;
  display: inline-block;
  border-radius: .2rem;
  margin: .5rem;
}

.header {
  padding: 2rem 0rem;
}
/*[data-theme="dark"] {
  .header {
    background: linear-gradient(90deg, rgb(138 161 180) 0%, rgb(30 43 64) 40%, rgb(9 15 25) 100%);
  }
}*/

.logo {
  width: 100px;
  height: auto;
}
@media only screen and (max-width: 991px){
  .logo{
    width: 50px;
  }
}
.logo--dark { display: none; }

/* Cuando el html tenga data-theme="dark"… */
[data-theme="dark"] .logo--light { display: none; }
[data-theme="dark"] .logo--dark  { display: inline-block; }

#toggleTheme {
  border: none;
  background: no-repeat;
  color: var(--text-color);
  background-image: url(../images/toggle-on.svg);
  background-position: center;
  background-size: 25px;
  font-size: 0px;
  width: 40px;
}

[data-theme="dark"] #toggleTheme {
  background-image: url(../images/toggle-off.svg);
}

.content a {
  text-decoration: none;
  color: var(--text-color);
  border-bottom: 1px solid var(--accent);
}
svg.hamburguer {
  color: var(--text-color);
}
svg.close {
  color: var(--text-color);  
}
.main-menu li {
  list-style-type:none ;
}
.main-menu li a {
  margin: 1rem;
  
  color:var(--text-color);
  text-decoration: none;
  font-size: .9rem;
}
.main-menu li a:hover {
  border-bottom: 4px solid var(--accent);
}
.offcanvas {
  background: var(--bg-color);
  color: var(--text-color);
}
.mobile-menu {
  padding: .5rem;
}
.mobile-menu li {
  list-style-type: none;
  margin: 1rem 0rem;
}
.mobile-menu li a {
  margin: .5rem;
  
  color: var(--text-color);
  text-decoration: none;
}
.mobile-menu li a:hover {
  border-bottom: 4px solid var(--accent);
}

.block {
  margin: 6rem 0rem;
  position: relative;
}

@media only screen and (max-width: 991px){
 .block {
   margin: 2rem 0rem;
 } 
}
#home-video {
  margin-bottom:0 ;
}

.content > .block:nth-of-type(1)  {
  margin-top: 0px;
}

.footer {
  color: #fff;
  background-color: #14181a;
  border-bottom: 6px solid var(--black);
  border-top: 6px solid #21282b;
  padding:2rem 0rem 0rem;
  font-size: .9rem;
  margin-top: 2rem;
}
.footer span {
  font-size: .8rem;
  
  font-weight: 600;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
.logo-footer {
  width: 70px;
}


.hero-image {
  height: 80vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-image span {
  width: 100%;
  font-size: 6rem;
  
  color: var(--white);
  font-family: "Montserrat", sans-serif;
}
@media only screen and (max-width: 991px){
  .header {
      padding: 1rem 0rem;
      position: fixed;
      z-index: 1;
      background: var(--bg-color);
      width: 100%;
      top: 0;
  }
  .video-background-container {
    height: 30vh !important;
  }
  .hero-image {
    height: 50vh;
  }
  .hero-image span {
    width: 100%;
    font-size: 2rem;
    
    color: var(--white);
    font-family: "Montserrat", sans-serif;
  } 
}

.big-image {
  height: 60vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.big-image span {
  width: 100%;
  font-size: 4rem;
  
  color: var(--white);
  font-family: "Montserrat", sans-serif;
}

.line-r {
  width: 15%;
  height: 6px;
  background: var(--accent);
  position: absolute;
  right: 0px;
  bottom: 3%;
}
.line-l {
  width: 15%;
  height: 6px;
  background: var(--accent);
  position: absolute;
  left: 0px;
  bottom: 3%;
}
@media only screen and (max-width: 991px){
  .line-l, .line-r {
    display: none;
  }
}

.title h1 {
  color: var(--accent);
  font-size: 4rem;
  
}
.title h2 {
  color: var(--grey);
  
  font-weight: 100;  
}

/*dragger*/
.slider-container {
  position: relative;
  width: 100%;                                
  height: 600px;
  overflow: hidden;                   
}
@media only screen and (max-width: 991px){
    .slider-container {
        height: 300px;        
    }
}
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.top-image {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}
.bottom-image {
    z-index: 1;
}
.slider-dragger {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 10px;
  background-color:#fff;
  z-index: 100;
  cursor: ew-resize;
}
.slider-dragger img {
  margin-top: 275px;
  width: 60px !important;
  margin-left: -25px;
  user-drag: none;  
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
@media only screen and (max-width: 991px){
    .slider-dragger img {
        margin-top: 130px;
        width: 40px !important;
        margin-left: -15px; 
    }
}

.video-background-container {
    position: relative;
    height: 80vh;
    overflow: hidden;                   
}
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
    filter: brightness(1);
}
.content-overlay {
    position: relative;
    z-index: 1;
    color: white;
    padding: 2rem;
    height: 100%;
}
.content-overlay-inner {
    width: 50%;
}
.content-overlay span {
    color: #fff;
    font-size: 2.5rem;
}
/*overlay*/
.overlay {
  height: 80vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  margin: 0;
  overflow: hidden;
}
.overlay span {
  display: block;
  color: #fff;
}
.overlay-inner-dark {
background-color: #00000090;
height: 100%;
width: 100%;
padding: 4rem;
position: absolute;
width: 50%;
display: grid;
}
.overlay-inner-light {
  background-color: #00000000;
height: 100%;
width: 100%;
padding: 4rem;
position: absolute;
width: 50%;
}
@media only screen and (max-width: 991px){
  .overlay {height: 40vh;}
  .overlay-inner-dark {width: 100%;}
  .overlay-inner-light {width: 100%;}
  .overlay-a {font-size: 2rem !important;}
  .overlay-b {font-size: 1.5rem !important;}
}
.color-green {color: #ccdc4b !important;}
.color-cyan {color:#4bdadc !important;}
.color-lime {color: #dcd04b !important;}
.color-magenta {color: #dc4bc2 !important;}
.color-orange {color:#f99953 !important;}
.color-purple {color:#b0a6ff !important;}

.overlay-a {
font-size: 4rem;        

line-height: 4rem;
}
.overlay-b {
font-size: 3rem;

}
.overlay-c {
font-size: 1rem;
}
.overlay-d a {
font-size: 1rem;        
text-decoration: none;
border-bottom: none;
}
.overlay-e {
font-size: 8rem;
font-weight: 400;
}

/*work*/
.grid-item, .grid-item-video {
    width: 31%;
    height: 200px;
    background: var(--grey);
    margin: .5rem;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
@media only screen and (max-width: 991px){
  .grid-item, .grid-item-video {
    width: 50%;
    height: 150px;    
    margin: 0;
  } 
}
.grid-item-video::after {
    background-image: url(../images/media.svg);
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 42%;
    left: 45%;
}
.list-group-item {
    border: none;
    padding: .2rem 0rem .3rem .2rem;
    font-size: .8rem;
}
.list-group-item {
  background: none;
  color: var(--text-color);
}
.list-group-item-action:focus, .list-group-item-action:hover {
  background-color: var(--accent);
}
.list-group-item:first-child, .list-group-item:last-child {
  border-radius: 0px;
}
.page-menu {
  display: block;
}
.page-menu a {
    text-decoration: none !important;
    border-bottom: none;
    
    color: var(--text-color);
    margin: 0rem .5rem;
    font-size: .7rem;
}
.page-menu a:hover {
    border-bottom: 4px solid var(--accent);
}
.call {
    background-color: var(--accent);
    padding: .5rem .9rem;
    color: var(--bg-color) !important;
    font-weight: 600;
    
    font-size: .7rem;
    border-radius: 2px;
}
.category .content h1 {font-size: 2rem;}
.category .content h2 {line-height: 2rem;}
.category .content h2 a {font-size: 1.5rem;}
.single-post h1 {font-size: 2rem;}

.wpforms-container label.wpforms-field-label {
  color: var(--text-color) !important;
}
.wpforms-container input[type="text"],
.wpforms-container input[type="email"], 
.wpforms-container textarea {
  background: var(--bg-color) !important;
  border: 1px solid var(--accent) !important;
  color: var(--text-color) !important;
}
.wpforms-container button[type="submit"] {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: var(--text-color) !important;
}
table {
  box-shadow:0px 0px 3px #b0b0b0;
  width: 100%;
  font-size: .8rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}
th {  
  border-bottom: 1px solid #ededed;
}
th, td {
  padding: 1rem;
}
tbody td {
  border-bottom: 1px solid #ededed
}