html{
    box-sizing: border-box;
}

*, *:before, *:after{
    box-sizing: inherit;
}

body{
    height: 100%;
    font-family: '';
}

img{
    max-width: 100%;
}

.enter-mask{
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  position: absolute;
}
.opening-container{
    height: 100%;
    position: fixed;
    z-index: 0;
    width: 100vw;
    svg{ 
        width: 100%;
        position: relative;
        top: 0;
        left: 0; // needed for FF, Safari, Edge
        height: 100%;
        text{
            font-family: Impact, serif;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 69px;
            width: 100%;
        }
        rect{
            fill: white;
            width: 100vw;
        }
    }
}
  
svg > rect {
    -webkit-mask: url(#mask);
    mask: url(#mask);
}

/* Menu */
header{
  > .logo{
      color: gray;
      font-weight: bold !important;
      font-size: 1rem;
      z-index: 10;
      top: 10px;
      left: 10px;
      position: fixed;
      transition: all 0.5s ease;
      font-family: 'Sulphur Point', sans-serif !important;
      &: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;
    }
}

/* Otra cosa */
@import url(https://fonts.googleapis.com/css?family=Knewave);
html {
	overflow: hidden;
	touch-action: none;
}

body {
	margin: 0;
	padding: 0;
	background: #000;
	position: absolute;
	width: 100%;
	height: 100%;
}
.page{
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: default;
	visibility: hidden;
}
.prx {
	position: absolute;
	color: #FFF;
	font-family: 'Rubik Mono One', sans-serif;
  font-size:1.3rem;
  font-weight: normal !important;
  overflow: hidden;
  &:hover + .show-text{
      display: block;
  }
}
.just{
  width: auto !important;
}
.show-text{
    display: none;
}
.button {
	cursor:pointer;
	font-size:3em;
	width:100%;
}

.button:hover {
    color: rgb(234, 210, 32);
    text-decoration: none;
}
.txt {
  color:#777;
  font-family: 'Sulphur Point', sans-serif;
  span{
    font-family: 'Rubik Mono One', sans-serif !important;
  }
  a{
    color: rgb(234, 210, 32);
    transition: all 0.5s ease;
    font-weight: bold;
    &:hover{
      color: #fff;
      text-decoration: none;
    }
  }
}

///////////////////////////////////////////////////////////////////////////////////////////
/*   WEB CONTENT    */
///////////////////////////////////////////////////////////////////////////////////////////

/*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%);
  }
}

/* NOTICIAS */
.middle{
  top:150px;
  right:0;
  bottom:0;
  left:0;
  position: relative;
  margin:auto;
  height:120px;
  width:100%;
  text-align:center;
}
.text-type-animation{
  text-transform:uppercase;
  font-size:20px;
  color: #aaa;
  span{
    font-size: 60px;
  }
}
.txt-rotate{
  color:white;
}

.parrilla{
  width: 80%;
  margin: auto;
  padding-top: 250px;
  @media(max-width:768px){
    width: 95%;
  }
  .post{
    padding: 50px;
    img{
      display: auto;
      position: relative;
      box-shadow: 0 0 10px #fff;
    }
    a{
      display: auto;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      margin: 50px;
      text-align: center;
      color: #fff;
      text-shadow: 1px 1px #000;
      font-size: 1.2rem;
      &:hover{
        text-decoration: none;
        color: #aaa;
      }
    }
  }
}