/* GLOBAL ELEMENTS */
html{
    box-sizing: border-box;
}

*, *:before, *:after{
    box-sizing: inherit;
}

body{
    height: 100%;
    font-family: 'Sulphur Point', sans-serif !important;
    background: #000;
}

img{
    max-width: 100%;
}

/* NAV ELEMENTS*/
/* Menu */
header{
  > .logo{
      color: gray;
      font-weight: bold;
      font-size: 1rem;
      z-index: 10;
      top: 10px;
      left: 10px;
      position: fixed;
      transition: all 0.5s ease;
      &:hover{
          text-decoration: none;
          font-size: 1.2rem;
      }
  }
  > .menu-btn{
      width: 50px;
      float: right;
      cursor: pointer;
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 5;
      transition: all 0.5s ease;
      &:hover{
          width: 70px;
      }
  }
  > .home-btn{
      width: 50px;
      float: right;
      cursor: pointer;
      top: 10px;
      right: 70px;
      position: fixed;
      z-index: 5;
      transition: all 0.5s ease;
      &:hover{
          width: 70px;
      }
  }
}

nav{
    position: fixed;
    background: white;
    padding: 2em;
    width: 100%;
    height: 100vh;
    display: none;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    transform-origin: right;
    z-index: 6;
    > .close-btn{
        width: 50px;
        position: fixed;
        cursor: pointer;
        opacity: 0;
        right: 15px;
        top: 15px;
        transition: all 0.5s ease;
        &:hover{
            width: 70px;
        }
    }
    > .row{
        margin: auto;
        padding: 0;
        display: flex;
        width: 80%;
        transition: all 1s ease;
        .col{
            opacity: 0;
            a{
                color: black;
                font-weight: bold;
                font-size: 1.4em;
                margin-top: 20px;
            }
            span{
                color: gray;
                display: block;
                font-size: 0.75em;
            }
        }
    }
}

.first-menu-list{
  padding-top: 35vh !important;
  padding-bottom: 30px !important;
  text-align: right;
}

.show-menu{
  display: block;
  -webkit-animation: slide-menu 1s ease-in forwards;
  animation: slide-menu 1s ease-in forwards;
  .row{
    .col{
      a{
        transition: all 0.5s ease;
        &:hover{
          font-family: 'Knewave', cursive;
          text-decoration: none;
        }
      }
    }
  }
}

.show-menu .close-btn{
    -webkit-animation: show-x 1s 1s forwards;
    animation: show-x 1s 1s forwards;
}

.show-menu .col:nth-of-type(1) {
    -webkit-animation: menu-item-anim 0.6s forwards 1s ease-in-out;
            animation: menu-item-anim 0.6s forwards 1s ease-in-out;
  }
  
  .show-menu .col:nth-of-type(2) {
    -webkit-animation: menu-item-anim 0.6s forwards 1.2s ease-in-out;
            animation: menu-item-anim 0.6s forwards 1.2s ease-in-out;
  }
  
  .show-menu .col:nth-of-type(3) {
    -webkit-animation: menu-item-anim 0.6s forwards 1.4s ease-in-out;
            animation: menu-item-anim 0.6s forwards 1.4s ease-in-out;
  }
  
  .show-menu .col:nth-of-type(4) {
    -webkit-animation: menu-item-anim 0.6s forwards 1.6s ease-in-out;
            animation: menu-item-anim 0.6s forwards 1.6s ease-in-out;
  }

@-webkit-keyframes slide-menu{
    from{
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
  }
    to{
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
  }
}
@keyframes slide-menu{
    from{
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
  }
    to{
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
  }
}
@-webkit-keyframes show-x{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@keyframes show-x{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@-webkit-keyframes menu-item-anim{
    from{
        -webkit-transform: translateY(60%);
        transform: translateY(60%);
        opacity: 0;
    }
    to{
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes menu-item-anim{
    from{
        -webkit-transform: translateY(60%);
        transform: translateY(60%);
        opacity: 0;
    }
  to{
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

/*Contact Card*/

.noselect {
	user-select: none;
}

.artboard{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: end;
	justify-content: left;
  position: absolute;
  bottom: 15px;
  .modal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: auto;
    transition: all .4s ease-in-out;
    position: fixed;
    z-index: 3;
    transition: all .4s ease-in-out;
    bottom: 15px;
    &:hover {
        width: 70px;
    }
  }
  .close-button {
    left: -5px;
    bottom: 0px;
    position: fixed;
    padding: 0;
    overflow: auto;
    z-index: 1;
    opacity: 0;
    img{
      width: 50px;
      transition: all 0.5s ease;
      &:hover{
        width: 70px;
      }
    }
    a{
        text-decoration: none;
        color: #FCD0BA;
    }
  }
}

.x-opa{
  opacity: 1 !important;
  z-index: 5 !important;
}

.overlay2 {
	overflow: auto;
	width: 100%;
	height: 100%;
	visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	opacity: 0;
	background: rgba(255,255,255,0.9);
	position: fixed;
    transition: all  500ms linear;
    z-index: 4;
}

.overlay2 a, .overlay2 p {
	visibility: hidden;
	text-transform: none;
}

.overlay2:target {
	visibility: visible;
	opacity: 1;
	height: 100%;
	width: 100%;
}

.overlay2:target a, .overlay2:target p {
	visibility: visible;
}

.overlay2:target .card {
	top: 50%;
	opacity: 1;
}

@keyframes beat{
	to{
		transform: scale(1.4);
	}
}

.profile-card{
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  min-width: 290px;
  max-width: 450px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-animation: bouncein 1s;
  animation: bouncein 1s;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.profile-card > .card-header{
  display: block;
  line-height: 0;
  width: 88%;
  max-width: 88%;
  background: #fff;
  .telef, .email{
    padding-top: 5px;
    height: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    a{
      color: #555;
      transition: all 0.5s ease;
      &:hover{
        text-decoration: none;
        color: #000;
      }
    }
    h4{
      padding-top: 5px;
      font-size: 1.2rem;
    }
  }
}

.profile-card > .card-header > a{
  line-height: 0;
  display: block;
  background-image: url('/img/frame.jpg');;
  background-size: 100% 100%;
}

.profile-card > .card-header a > img{
  width: 100%;
  opacity: 0;
}

.profile-card:hover > .card-header a > img{
  opacity: 1;
}

.profile-card:hover > .card-header + .profile-bio{
  max-height: 200px;
  -webkit-transition: max-height .5s ease-in;
  transition: max-height .5s ease-in;
}

.profile-card:hover > .card-header + .profile-bio p{
  -webkit-animation: fadein 2s;
  animation: fadein 2s;
}

.profile-bio{
  clear: both;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 88%;
  width: 88%;
  max-height: 0;
  -webkit-transition: max-height .5s ease-out;
  transition: max-height .5s ease-out;
  color: #fff;
  background: linear-gradient(to right bottom, #000 , #555);
  -webkit-order: 1;
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  padding-left: 10px;
}

.profile-bio p{
  margin: 4.5%;
  -webkit-animation: fadeout 2s;
  animation: fadeout 2s;
}

.profile-social-links{
  line-height: 0;
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  box-sizing: border-box;
  max-width: 12%;
  width: 12%;
  margin: 0;
  padding: 3.5%;
  list-style-type: none;
  text-align: center;
  background: linear-gradient(to right bottom, #555 , #000);
  flex-direction: column;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-pack: end;
  -moz-box-pack: end;
  -webkit-flex-pack: end;
  -ms-flex-pack: end;
}

.profile-social-links img{
  width: 100%;
  height: auto;
  margin-top: 10px;
}

.profile-social-links li{
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.profile-social-links li:hover{
  -webkit-transform: rotate(20deg);
  -ms-transform: rotate(20deg);
  transform: rotate(20deg);
}

@media (max-width: 480px) {
  .profile-card {
    flex-direction: column;
    -webkit-flerowx-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  }
  .profile-card > .card-header,
  .profile-bio {
    max-width: 100%;
    width: 100%;
  }
  .profile-bio {
    max-height: 100%;
  }
  .profile-card:hover > .card-header + .profile-bio p,
  .profile-bio p {
    -webkit-animation: none;
    animation: none;
  }
  h1 {
    font-size: 16px;
  }
  h2 {
    line-height: 1.2;
    margin-top: 0.5%;
  }
  .profile-social-links {
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    max-width: 100%;
    width: 100%;
    max-height: 70px;
    background: linear-gradient(to right bottom, #555, #000);
    background-size: cover;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-order: -1;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  .profile-social-links img {
    width: auto;
    height: 18px;
    margin-top: 0;
    margin-left: 8px;
  }
}

@-webkit-keyframes shake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  20% {
    -webkit-transform: translateX(-1px);
    transform: translateX(-1px);
  }
  40% {
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
  }
  60% {
    -webkit-transform: translateX(-1px);
    transform: translateX(-1px);
  }
}

@keyframes shake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  20% {
    -webkit-transform: translateX(-1px);
    transform: translateX(-1px);
  }
  40% {
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
  }
  60% {
    -webkit-transform: translateX(-1px);
    transform: translateX(-1px);
  }
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@-webkit-keyframes bouncein {
  0% {
    -webkit-transform: translate(-50%, -200%);
    transform: translate(-50%, -200%);
    opacity: 0;
  }
  50% {
    -webkit-transform: translate(-50%, -30%);
    transform: translate(-50%, -30%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-50%, -50%);
    transform: translateY(-50%, -50%);
  }
}

@keyframes bouncein {
  0% {
    -webkit-transform: translate(-50%, -200%);
    transform: translate(-50%, -200%);
    opacity: 0;
  }
  50% {
    -webkit-transform: translate(-50%, -30%);
    transform: translate(-50%, -30%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-50%, -50%);
    transform: translateY(-50%, -50%);
  }
}

  /* Teatro */
.teatro-info{
  display: block;
  position: relative;
  width: 100%;
  padding: 50px 20%;
  text-align: justify;
  text-justify: distribute;
  h1{
    color: #fff;
  }
  h4{
    color: #ccc;
  }
}

.letters{
  position: relative;
  text-align: center;
  width: 80vw;
  height: 100vh;
  margin: auto;
}

svg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
}

$c_0: #000000;
$c_1: #353540;

.card-containers{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  width: 100%;
  margin: auto;
}

.l-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
  width: 100%;
  max-width: 1200px;
  padding: 30px;
  @media screen and (max-width: 760px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.b-game-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 150%;
  perspective: 1000px;
  &__cover {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
    background-size: cover;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
    transform-origin: top center;
    will-change: transform;
    transform: skewX(.001deg);
    transition: transform .35s ease-in-out;
    &::after {
      display: block;
      content: '';
      position: absolute;
      z-index: 100;
      top: 0;
      left: 0;
      width: 100%;
      height: 120%;
      background: linear-gradient(226deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 35%, rgba(255,255,255,0.2) 42%, rgba(255,255,255,0) 60%);
      transform: translateY(-20%);
      will-change: transform;
      transition: transform .65s cubic-bezier(0.18, 0.9, 0.58, 1);
    }
  }
  &:hover &__cover {
    cursor: pointer;
    transform: rotateX(7deg) translateY(-6px);
    &::after {
      transform: translateY(0%);
    }
  }
  &::before {
    display: block;
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: rgba($c_0, 0.7);
    box-shadow: 0 6px 12px 12px rgba($c_0, 0.4);
    will-change: opacity;
    transform-origin: top center;
    transform: skewX(.001deg);
    transition: transform .35s ease-in-out, opacity .5s ease-in-out;
  }  
  &:hover::before {
    opacity: 0.6;
    transform: rotateX(7deg) translateY(-6px) scale(1.05);
  }
}

.modal.fade .modal-dialog{
  top: 50px;
  padding-bottom: 50px;
  opacity: 1;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  h2{
    font-size: 2rem;
    color: #fff;
  }
  h3{
    font-size: 1.7rem;
    color: #aaa;
  }
  p{
    font-size: 1.3rem;
    color: #ccc;
  }
  a{
    color: #fff !important;
    font-size: 1.2rem !important;
    transition: all 0.5s ease;
    &:hover{
      color: #ead220 !important;
      text-decoration: none;
      font-weight: bold;
    }
  }
}
.modal.fade{
  .close{
    font-size: 10rem;
    color: #fff;
    transition: all 0.5s ease;
    &:hover{
      color: #888;
    }
  }
}

.modal.fade.in .modal-dialog {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transform: translate3d(0, -300px, 0);
  transform: translate3d(0, -300px, 0);
  opacity: 1;
}
.modal-dialog{
  pointer-events: painted;
}

.modal-backdrop.show{
  opacity: .8;
}

.mini-nav{
  width: 100%;
  position: relative;
  bottom: 30px;
  display: block;
  text-align: center;
  a{
    transition: all 0.5s ease;
    &:hover{
      text-decoration: none;
      font-weight: bold;
      img{
        filter: drop-shadow(2px 2px #ead220);
      }
    }
    img{
      width: 7%;
      margin: auto;
      padding-left: 20px;
      padding-right: 20px;
      transition: all 0.5s ease;
    }
  }
}  

.dossier{
  text-align: center !important;
}