/* 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%);
  }
}

.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;
    }
  }
}

.mini-nav-edit{
  a{
    padding-bottom: 70px !important;
  }
}

////////////////////

#bookwrapper{
  text-align: center;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  font-size: 16px;
  height: 100vh;
  margin-top: -30px;
  position: relative;
}

#container {
  width: 60%;
  margin: 20px auto;
}
.v-center {
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0;
}
#container {
  display: inline-block;
  vertical-align: middle;
}
.book {
  transform-style: preserve-3d;
  transform: rotateX(45deg) rotateY(0deg) rotateZ(-45deg);
  transition: transform 1s;
  position: absolute;
  left: 500px;
  top: 0;
  right: 0;
  bottom: 10%;
  margin: auto;
  width: 30em;
  height: 40em;
  cursor: pointer;
}
.book .side {
  width: 3em;
  height: 40em;
  background: #b36060;
  position: absolute;
  left: -3em;
  top: 0;
  transform-origin: 100% 100%;
  transform: rotateY(-90deg) rotateX(0deg);
}
.book .bottom {
  width: 25em;
  height: 3em;
  background: #e2e2e2;
  position: absolute;
  bottom: 0;
  left: 0;
  transform-origin: 100% 100%;
  transform: rotateX(90deg);
}
.book.open {
  transform: rotateX(35deg) rotateY(0deg) rotateZ(-35deg);
}
.book .paper,
.book .shadow {
  width: 25em;
  height: 40em;
  position: absolute;
  top: 0;
  left: 0;
}
.book .shadow {
  background: transparent;
  transform: translateZ(-3em);
  box-shadow: -1em 1em 0px 0px #ccc3a9;
  z-index: 1;
}
.book .paper {
  transition: transform 1s, box-shadow 0.5s 0.2s;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
}
.book .paper.open {
  box-shadow: 2.2em 1em 0px 0px #ccc3a9;
  transform: rotateX(0deg) rotateY(-180deg) rotateZ(0deg);
}
.book .paper .page.front {
  transition: transform 1s;
  transform-origin: 0 50%;
  backface-visibility: hidden;
  z-index: 2;
}

.book .page {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transform: translateZ(0px);
  transform: translateZ(0px);
}
.book .first .page {
  background: #ef9a9a;
}
.book .first .page.front:after {
  position: absolute;
  content: "";
  width: 50%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(160, 115, 115, 0.1);
}
.book .paper .back {
  transition: transform 1s;
  transform-origin: 0 50%;
  background: #e1e1e1;
}
.book .first.paper .back {
  background: #ef9a9a;
}
.book .intro {
  position: absolute;
  width: 90%;
  width: calc(100% - 3em);
  height: 90%;
  height: calc(100% - 3em);
  border: 2em solid #eee;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.book .intro h2 {
  padding: 0.5em 0.5em;
  font-size: 1em;
  color: #fff;
  word-break: break-all;
  text-align: left;
  letter-spacing: 5px;
}
.book .intro h1 {
  padding: 0.5em 0.25em;
  font-size: 2.5em;
  color: #fff;
  word-break: break-all;
}
.book .paper:not(.first) .page {
  background: #f1f1f1;
  background-image: linear-gradient(
      90deg,
      transparent 40px,
      #abced4 40px,
      #abced4 42px,
      transparent 42px
    ),
    linear-gradient(#e1e1e1 0.1em, transparent 0.1em);
  background-size: 100% 1.5em;
}
.book .paper:not(.first) .back {
  background: #e1e1e1;
}
.book .open.second .back {
  transform: translateZ(-1px);
}
.book .open.third .back {
  transform: translateZ(-2px);
}
.book .paper.first {
  z-index: 8;
}
.book .paper.second {
  z-index: 7;
}
.book .paper.third {
  z-index: 6;
}
.book .paper.fourth {
  z-index: 5;
}
.book .paper.first .front {
  transform: translateZ(0.4px);
}
.book .paper.second .front {
  transform: translateZ(0.3px);
}
.book .paper.third .front {
  transform: translateZ(0.2px);
}
.book .paper.fourth .front {
  transform: translateZ(0.1px);
}

.book .second-page #vara-container {
  width: 100%;
  height: 100%;
  padding: 1em;
}

/////////////////////////////////@at-root

#section{
  width: 80%;
  margin: auto;
  color: #fff;
  .text{
    font-size: 1.5rem;
    text-align: justify;
    text-justify: distribute;
  }
  .imag{
    text-align: center;
    img{
      width: 100%;
      text-align: center;
      margin: auto;
    }
  }
  .content{
    p{
      font-size: 1.5rem;
    }
    ul{
      width: 100%;
      margin: auto;
      padding: 30px 20%;
      text-align: center;
      list-style: none !important;
      li{
        h2{
          font-size: 3rem;
        }
        h3{
          font-size: 2rem;
        }
        p{
          font-size: 1.2rem;
        }
      }
    }
  }
  .wrapper{
    height:100%;
  }
  .clearfix:after{
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
 }
}


.left
{
	background-color:rgba(0,0,0,.025);
	border-right:1px solid rgba(0,0,0,.05);
	float:right;
	height:100%;
	margin-left:-1px;
	min-width:256px;
	position:fixed;
	width:33.33%;
  
}

.right
{
	float:right;
	height:100%;
	position:relative;
	width:66.66%;
}


.banner{
  height: 100vh;
  width: 99vw;
  background: #000;
  background: url('/img/narracionop.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  .statictext{
    h1{
      position: absolute;
      top: 35%;
      width: 100%;
      margin: auto;
      text-align: center;
      font-size: 17rem;
      font-weight: bold;
      overflow: hidden;
      color: #fff;
    }
  }
}

.grid{
  color: #fff;
  width: 80%;
  margin: auto;
  a{
    text-align: center;
  }
  h3{
    text-align: center,
  }
  p{
    text-align: justify;
    font-size: 1.2rem;
  }
  .videowrap{
    margin: auto;
    .videowrapper{
      position:relative;
      width:100%;
      height:0;
      padding-bottom:56%;
      iframe{
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
      }
    }
  }
}
