/* Definición de variables CSS para el tema light */
:root {  
  --bg-color: #fff;
  --text-color: #000;
  --accent:#717947;
  --grey: #8d8d8d;
  --black: #000;
  --white: #fff;
}
/* Estilos para el tema dark */
[data-theme="dark"] {
  --bg-color: #1f2020;
  --text-color: #fff;
}

.w100, .size-large {
  width: 100%;
  height: auto;
}
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:"Bodoni Moda", serif;
}
.header {
  padding: 1rem 0rem;
}
.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;
  text-transform: uppercase;
  color:var(--text-color);
  text-decoration: none;
  font-size: .9rem;
}
.main-menu li a:hover, .current-menu-item a {
  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;
  text-transform: uppercase;
  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;
 } 
}

.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;
  text-transform: uppercase;
  font-weight: 600;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}


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

.big-image {
  height: 60vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.big-image span {
  width: 100%;
  font-size: 4rem;
  text-transform: uppercase;
  color: var(--white);
  font-family: "Bodoni Moda", 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;
  text-transform: uppercase;
  letter-spacing: .7rem;
}
.title h2 {
  color: var(--grey);
  text-transform: uppercase;
  font-weight: 100;
  letter-spacing: .2rem;
}

/*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;
}
/*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;
    text-transform: uppercase;
    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;
    text-transform: uppercase;
    font-size: .7rem;
    border-radius: 2px;
}