@charset "UTF-8";

@keyframes brandscarousel {
  0% { transform: translateX(0px); }
  100% { transform: translateX(-100%); }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes loadbar {
  to { width: 100%; }
}
@keyframes morethanin {
  from { transform: rotate3d(var(--axis), var(--angle)); }
  to { transform: rotate3d(var(--axis), 0deg); }
}
@keyframes unblur {
  to {
    filter: blur(0px) opacity(1);
    transform: none;
  }
}

/* GLOBALS */
:root {
  --max-doc-width: 1100px;
  --min-doc-width: 70vw;
  --doc-width: min(var(--max-doc-width), var(--min-doc-width));
  --section-padding: 4.2em;
  --bezier: cubic-bezier(.3,0,0,1);
  --small-gap: 0.8em;
  --big-gap: 1.3rem;
  --long-shadow: 2px 3px 12px black;
  --small-radius: 0.3rem;
  --big-radius: 0.6rem;
  --nav-padding-x: 25px;
  --nav-padding-y: 18px;
}
::selection {
  background-color: var(--og_smoke);
  color: var(--og_darkgray);
}
* {
  scroll-behavior: smooth;
  /* cursor: url('../src/cursor.png'), auto; */
}

/* BODY */
html, body {
  min-height: 100%;
  width: 100%;
  padding: 0px;
  margin: 0px;
  border: 0px;
}
body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: var(--og_white);
  color: var(--og_midgray);
  font-family: montserrat, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
/* HTML NODES */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: 0px;
  resize: none;
}
button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0px;
  background: none;
  cursor: pointer;
}
button[type="submit"] {
  font-weight: 900;
  font-size: 1.2em;
  margin: 1em;
  padding: 0.6em 1.2em;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: var(--small-radius);
}
  button[type="submit"]:hover {
    color: var(--og_black);
    background-color: var(--og_smoke);
  }
input[type="number"] {
  appearance: textfield;
}
fieldset {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr;
  grid-gap: 1em;
  width: 100%;
  margin: 0px;
  padding: 0px;
  border: 0px;
  outline: 0px;
}
figure {
  position: relative;
  padding: 0px;
  margin: 0px;
}
footer {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  padding: 3em var(--section-padding) var(--section-padding) var(--section-padding);
  box-sizing: border-box;
  background-color: var(--og_black);
}
  footer nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 0px;
    margin: 0px;
  }
    footer nav a {
      margin-bottom: 0.6em;
    }
  footer .content {
    flex-direction: row;
    justify-content: space-between;
  }
  footer .logo {
    width: 250px;
    margin-bottom: 1em;
  }
form {
  margin: 0px;
  padding: 0px;
}
h2 {
  font-size: 2.4em;
  font-weight: 300;
}
h4 {
  font-size: 1.3em;
  font-weight: 800;
  color: var(--og_black);
}
i.fa-brands {
  font-size: 1.3em;
}
main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  width: 100%;
}
  main > section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: var(--section-padding);
    box-sizing: border-box;
  }
  main > section:not(#splash) {
    opacity: 0;
    will-change: opacity;
    animation-duration: 1.2s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
  }
select {
  cursor: pointer;
}
strong {
  font-weight: 700;
}
ul {
  padding: 0px;
  margin-left: 0px;
  list-style: none;
}
  ul > li {
    display: flex;
    box-sizing: border-box;
    text-align: left;
  }
    ul > li > p {
      margin: 0.2em 0;
    }
    ul > li > .list-icon {
      margin-right: 1em;
    }
  ul.hr > li:not(:last-child) {
    padding-bottom: 1em;
    border-bottom: solid 1px var(--og_lightgray);
  }
  ul.hr > li:not(:first-child) {
    padding-top: 1em;
  }

/* CLASSES */
.background-3d-element {
  position: absolute;
  display: block;
  opacity: 0.3;
  z-index: -1;
}
.bold {
  font-weight: 700;
}
.brands-ribbon {
  display: flex;
  flex-wrap: nowrap;
  animation: brandscarousel 30s linear infinite;
}
  .brands-ribbon img {
    max-height: 75px;
    max-width: 150px;
    margin: 2em;
    pointer-events: none;
  }
  .brands-ribbon img::selection {
    background-color: transparent;
  }
.content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: var(--doc-width);
}
.dialog {
  position: relative;
  grid-column-start: 2;
  background-color: var(--og_smoke);
  padding: var(--big-gap);
  border-radius: 0 var(--big-radius) var(--big-radius) var(--big-radius);
  transform: translateY(3em);
}
  .dialog::before {
    content: '';
    position: absolute;
    display: block;
    left: 0px;
    bottom: 100%;
    width: 0px;
    height: 0px;
    border: solid 10px transparent;
    border-bottom-color: var(--og_smoke);
    border-left-color: var(--og_smoke);
  }
  .dialog > *:first-child {
    margin-top: 0px;
  }  
  .dialog > *:last-child {
    margin-bottom: 0px;
  }  
.double {
  font-size: 2em;
  line-height: 1.2em;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  align-items: center;
}
.flow-row {
  grid-auto-flow: row;
}
.full-width {
  width: 100%;
}
.gray {
  color: var(--og_midgray);
}
.grid-1-col,
.grid-1-2-cols,
.grid-2-cols,
.grid-2-1-cols,
.grid-3-cols {
  display: grid;
  grid-gap: var(--big-gap);
  align-items: flex-start;
  justify-items: flex-start;
}
.grid-1-col {
  grid-template-columns: 1fr;
}
.grid-1-2-cols {
  grid-template-columns: 1fr 2fr;
}
.grid-2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.grid-2-1-cols {
  grid-template-columns: 2fr 1fr;
}
.grid-3-cols {
  grid-template-columns: repeat(3, 1fr);
}
.hidden {
  display: none;
}
.icon {
  --size: 2.1em;
  width: var(--size);
  height: var(--size);
  stroke: currentColor;
}
.input-set {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: auto;
  grid-gap: var(--small-gap);
  align-items: center;
  max-width: 100%;
}
.input-wrapper {
  position: relative;
  padding: 0px;
  margin: 0px;
  width: 100%;
}
  .input-wrapper > svg:last-child {
    --size: 1.8em;
    position: absolute;
    display: block;
    right: 0.5em;
    top: 50%;
    transform: translateY(-55%);
    pointer-events: none;
  }
.items-centered {
  align-items: center;
}
.light {
  font-weight: 300;
}
.line-separation li {
  position: relative;
}
  .line-separation li:not(:first-child) {
    padding-top: 1em;
  }
  .line-separation li:not(:last-child) {
    padding-bottom: 1em;
    /* border-bottom: solid 1px var(--og_midgray); */
  }
  .line-separation li:not(:last-child)::before {
    content: "";
    position: absolute;
    display: block;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--og_midgray), transparent);
  }
.links-grid {
  display: grid;
  grid-auto-columns: auto;
  grid-auto-flow: column;
  grid-gap: var(--small-gap);
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.no-margin-bottom {
  margin-bottom: 0px;
}
.oblique {
  font-style: oblique;
}
.product-portal {
  --background: linear-gradient(to top, var(--og_lightgray), var(--og_smoke));
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: center;
  background-image: var(--background);
  background-size: auto 105%;
  background-position: center;
  border-radius: 0.8em;
  transform-style: preserve-3d !important;
  overflow: visible;
  height: calc(100% - 50px);
}
.product-portal:hover {
  background-size: auto 100%;
  transition: background-size 0.3s var(--bezier);
}
  .product-portal > img {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    height: 110%;
    width: 110%;
    transition: transform 0.3s var(--bezier);
    pointer-events: none;
  }
  .product-portal > img[data-layer="1"] {
    transform: translateZ(30px);
  }
  .product-portal > img[data-layer="2"] {
    transform: translateZ(60px);
  }
  .product-portal > img[data-layer="3"] {
    transform: translateZ(100px);
  }
.small {
  font-size: 0.8em;
}
.staff-card {
  --anim-timing: 0.4s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 0.8em;
  background-color: var(--og_smoke);
  overflow: hidden;
}
  .staff-card > img,
  .staff-card > video {
    display: block;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
  }
  .staff-card > video {
    position: absolute;
    opacity: 0;
    transition: opacity var(--anim-timing);
    pointer-events: none;
  }
  .staff-card > div.video-filter {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-image: radial-gradient(circle at bottom, var(--og_smoke), transparent);
  }
  .staff-card > img {
    position: relative;
    filter: grayscale(100%);
    transition: opacity var(--anim-timing);
    pointer-events: none;
  }
  .staff-card:hover > img {
    filter: none;
  }
  .staff-card:hover > video {
    opacity: 0.7;
  }
.stretched {
  justify-content: space-between;
}
.switch[type="checkbox"] {
  visibility: hidden;
  height: 0px;
  width: 0px;
  margin: 0px;
  border: 0px;
}
  .switch[type="checkbox"] + label {
    --switch-size: 1em;
    position: relative;
    display: block;
    height: var(--switch-size);
    width: calc(var(--switch-size) * 2.5);
    border-radius: calc(var(--switch-size) / 2);
    background-color: var(--og_black);
    border: 0px;
    outline: 1px solid transparent;
    color: var(--og_midgray);
    cursor: pointer;
    transition: background-color 0.4s, color 0.2s;
  }
  .switch[type="checkbox"]+ label:hover {
    color: var(--og_white);
  }
  .switch[type="checkbox"]:checked + label {
    background-color: var(--og_electric);
    color: var(--og_white);
  }
    .switch[type="checkbox"] + label::after {
      content: "";
      position: absolute;
      display: block;
      top: 0px;
      left: 0px;
      height: var(--switch-size);
      width: var(--switch-size);
      border-radius: calc(var(--switch-size) / 2);
      background-color: currentColor;
      transform-origin: center;
      transform: scale(1.1);
      transition: transform 0.4s var(--bezier);
    }
    .switch[type="checkbox"]:checked + label::after {
      transform: translateX(150%) scale(1.1);
    }
.quote {
  font-size: 1.5em;
  font-weight: 300;
  font-style: italic;
}
.tiny {
  font-size: 0.65em;
}

/* IDS */
#clients {
  background-color: var(--og_white);
}
#clients-showcase {
  position: relative;
  display: flex;
  justify-content: left;
  flex-wrap: nowrap;
  margin: 2em -1.4em;
  overflow: hidden;
  width: 100%;
}
#clients-showcase::after {
  content: "";
  position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to right, var(--og_white), transparent 10%, transparent 90%, var(--og_white));
}
#contact-form {
  align-items: stretch;
  margin: 2em 0;
  font-size: 1.2em;
}
  #contact-form :where(input, select, textarea) {
    padding: 0.6em 0;
    border: 0px;
    border-bottom: solid 1px var(--og_smoke);
    transition: border-color 0.3s ease;
    background: transparent;
  }
  #contact-form :where(input, select, textarea):focus {
    border-color: var(--og_midgray);
  }
#getintouch {
  background-color: var(--og_white);
}
#hero {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 6em;
  box-sizing: border-box;
  z-index: 2;
}
  #hero article p {
    position: relative;
    width: 100%;
    margin: 0px;
    text-align: center;
    font-size: 6.5em;
    color: white;
    font-weight: 900;
    z-index: 2;
  }
  #hero nav {
    opacity: 0;
    animation-name: fadein;
    animation-duration: 1.2s;
    animation-delay: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
  }
    #hero nav a {
      margin: 0 2em;
    }
  #hero .logo {
    width: min(300px, 100%);
    margin-top: 1em;
  }
  #hero slideshow {
    display: inline-grid;
    height: auto;
  }
#morethan {
  perspective: 250px;
}
  #morethan slide {
    --axis: 1,0,0;
    --angle: -8deg;
    transform: rotate3d(var(--axis), calc(var(--angle) * -1));
    transition: opacity 0.5s ease-in-out, transform 0.6s cubic-bezier(.5,0,.3,1) !important;
    transform-origin: 50% 50% -1000px;
    animation-name: none;
  }
  #morethan slide[active] {
    transform: rotate3d(var(--axis), 0deg);
    animation: morethanin 0.6s cubic-bezier(.5,0,.3,1) 1 backwards;
    transition: none;
  }
#ogframework {
  background-image: linear-gradient(to bottom, transparent, var(--og_lightgray));
}
  #ogframework img {
    max-width: 100%;
  }
  #ogframework ul {
    justify-self: flex-end;
  }
#ogframework-mockup {
  width: calc(var(--doc-width) + 5em);
  margin-top: 5em;
}
#parallax-bg {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  overflow: hidden;
  z-index: -1;
}
#portfolio {
  height: max(70vh, 600px);
  padding: 0px;
  background-color: var(--og_white);
}
  #portfolio slide {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 5em 0;
    box-sizing: border-box;
  }
    #portfolio slide .content {
      position: relative;
      padding-bottom: 1em;
      color: white;
      filter: drop-shadow(0px 0px 10px black);
    }
    #portfolio slide .content::after {
      content: "";
      position: absolute;
      display: block;
      bottom: 0px;
      left: 0px;
      height: 2px;
      width: 0px;
      background-color: white;
      animation: none;
    }
    #portfolio slide[active] .content::after {
      animation: loadbar 8s linear 1 forwards;
    }
      #portfolio slide .content > * {
        margin: 0px;
      }
  #products .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    grid-template-areas:
      'portal text';
    grid-column-gap: 8em;
  }
  #products slideshow,
  #products slide {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
  }
  #products h2 {
    grid-area: title;
    margin-top: 0px;
  }
    #products .product-portal {
      grid-area: portal;
    }
    #products .product-content {
      grid-area: text;
    }
  #products thumbnails {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    grid-area: text;
    align-self: flex-end;
    height: 1.6em;
    margin-bottom: 50px;
  }
  #products thumb {
    --duration: 0.2s;
    position: relative;
    display: block;
    height: 0.5em;
    width: 0.5em;
    background-color: var(--og_lightgray);
    margin-right: 1.2em;
    transition:
      height var(--duration),
      width var(--duration),
      background-color var(--duration),
      opacity var(--duration);
    cursor: pointer;
    border-radius: 0.25em;
  }
  #products thumb:not([active]):hover {
    opacity: 0.6;
  }
  #products thumb[active] {
    height: 1.6em;
    width: 1em;
  }
  #products thumb:nth-child(1)[active] { background-color: var(--og_crimson); } /* Identidad */
  #products thumb:nth-child(2)[active] { background-color: var(--og_skyblue); } /* Sistemas */
  #products thumb:nth-child(3)[active] { background-color: var(--og_sunset); } /* Experiencias */
  #products thumb:nth-child(4)[active] { background-color: var(--og_fa); } /* Arte */
  #products thumb:nth-child(5)[active] { background-color: var(--og_pink); } /* Marketing */
  #products thumb:nth-child(6)[active] { background-color: var(--og_gaming); } /* Gaming */

#staff-members {
  cursor: grab;
  margin: 2em 0;
}
  #staff-members button[type="prev"],
  #staff-members button[type="next"] {
    top: 43%;
  }
  #staff-members > items {
    --gap: var(--big-gap);
    align-items: start;
  }
  #staff-members item {
    align-items: flex-start;
  }
    #staff-members item > h4 {
      margin-bottom: 0px;
    }
    #staff-members item .role {
      font-size: 0.8em;
      font-style: italic;
    }
  #staff-members thumbnails {
    position: absolute;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: auto;
    grid-gap: var(--small-gap);
    top: 100%;
    left: 0px;
    margin-top: 3em;
    cursor: default;
    overflow: hidden;
  }
  #staff-members thumb {
    --radio: 0.5em;
    display: block;
    height: var(--radio);
    width: var(--radio);
    background-color: var(--og_smoke);
    border-radius: calc(var(--radio) / 2);
    transition: background-color 0.4s ease;
    cursor: pointer;
  }
  #staff-members thumb[active] {
    background-color: var(--og_midgray);
    filter:
      drop-shadow(calc(var(--small-gap) + var(--radio)) 0 0 var(--og_midgray))
      drop-shadow(calc(var(--small-gap) + var(--radio)) 0 0 var(--og_midgray));
  }

#quote {
  min-height: 70vh;
  justify-content: center;
}
#splash {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 100vh;
  width: 100%;
  z-index: 2;
}
  #splash video {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 1.2rem;
  }
#staff {
  background-color: var(--og_white);
}
