/*
themename: agdesign
Description: Theme responsive for alexgarciadesign.com
author: Alejandro Garcia
Author URI: alexgarciadesign.com
Version: 1.0.0
Template: genesis
*/

/* ESTILOS GENESIS */

@import url("../genesis/style.css");

/* FONT */

/* VARIABLES */

:root {
    /*colores*/
    --first-color: #ffffff;
    --second-color: #b6aa00;
    --cab-color: #ffffff;
    --bg-color: #000000;
    --text-color: #ffffff;
    /*tamaño textos*/
    --small-text: .8rem;
    --regular-text: 1rem;
    --title-text: 3rem;
    --big-text: 5rem;
    /*tamaño pantalla*/
    /*efectos*/
    --transition-mode: cubic-bezier(0.7, 0, 0.3, 1);
}

/* GENERAL */

::selection {
    color: var(--first-color);
    background: var(--second-color);
}

* {
    margin: 0;
    font-family: 'adelle-sans';
}

html,
* {
    cursor: none;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: var(--first-color);
    text-decoration: none;
    transition: all var(--transition-mode) .5s;
}

a:hover {
    color: var(--second-color);
}

p {
    margin: 0;
    padding: 0;
}

pre {
    background: #1e1e1e;
    border: 1px solid;
    color: lime;
    font-size: 14px;
    max-height: 300px;
    overflow: auto;
    padding: 20px;
}

figure img {
    width: 100%;
}

.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--first-color);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 999999;
    transition: transform var(--transition-mode) .3s;
}

main {
    background: var(--bg-color);
}

/*efectos*/

.aparecer {
    overflow: hidden;
}

.aparecer>* {
    display: block;
    transform: translate(0, 100%);
    transition: all var(--transition-mode) 1s;
}

.visible .aparecer>*,
.menu-open .aparecer>* {
    transform: translate(0, 0);
    transition: all var(--transition-mode) 1s;
}

#page_ {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    z-index: 10000;
    transition: all var(--transition-mode) .3s;
    background: var(--bg-color);
}

.loading #page_ {
    height: 100%;
}

#loader {
    fill: none;
    stroke: var(--first-color);
    stroke-width: 5px;
    width: 100px;
    height: 100px;
    opacity: 0;
}

.loading #loader {
    opacity: .8;
}

.hidden {
    display: none;
}

.wrap {
    width: 80%;
    max-width: 1400px;
    margin: auto;
}

.flex {
    display: flex;
}

.v-center {
    align-items: center;
}

.h-center {
    justify-content: center;
}

/* HEADER */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

#logo {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 250px;
    z-index: 999;
}

#logo path {
    fill: var(--cab-color);
}

#logo path:not(.sticky) {
    opacity: 1;
    transition: all var(--transition-mode) .5s;
    transition-delay: .3s;
}

#logo.sticky path:not(.sticky) {
    opacity: 0;
    transition: all var(--transition-mode) .5s;
    transition-delay: initial;
}

#logo .g.sticky {
    transform: translate(-9.74px, -6.07px);
    transition: all ease .5s;
    transition-delay: initial;
}

#logo.sticky .g.sticky {
    transform: translate(-60px, -6.07px);
    transition: all ease .5s;
    transition-delay: .3s;
}

#botonMenu {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 9999;
    transition: all ease .5s;
}

.barramenu {
    width: 40px;
    height: 2px;
    background: var(--cab-color);
    display: block;
    margin-bottom: 10px;
    transition: all ease .5s;
}

#botonMenu .barramenu {
    transform: translate(0);
}

#botonMenu:hover #menu-top {
    transform: translateX(-5px);
}

#botonMenu:hover #menu-center {
    transform: translateX(5px);
}

#botonMenu:hover #menu-bottom {
    transform: translateX(-5px);
}

body.menu-open #botonMenu #menu-top {
    transform: rotate(45deg) translate(9px, 8px);
}

body.menu-open #botonMenu #menu-center {
    opacity: 0;
}

body.menu-open #botonMenu #menu-bottom {
    transform: rotate(-45deg) translate(9px, -8px);
}

/* MENU */

#menuPrincipal {
    position: fixed;
    width: 0%;
    height: 100%;
    top: 0;
    right: 0;
    background: var(--bg-color);
    transition: all .5s var(--transition-mode) 1s;
}

body.menu-open #menuPrincipal {
    width: 100%;
    transition: all var(--transition-mode) 1s;
}

#menuPrincipal>* {
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-mode) .5s;
}

#menuPrincipal ul {
    font-size: 7rem;
    font-weight: 100;
    line-height: 7rem;
    text-transform: uppercase;
    list-style: none;
    color: var(--first-color);
}

body.menu-open #menuPrincipal>* {
    visibility: visible;
    opacity: 1;
    transition: all .5s var(--transition-mode) 1s;
}

#menuPrincipal:before {
    content: '';
    position: fixed;
    width: 300px;
    height: 100%;
    right: -300px;
    background: var(--second-color);
    transition: all 1s var(--transition-mode) .5s;
}

body.menu-open #menuPrincipal:before {
    width: 1000px;
    right: 100%;
    transition: all var(--transition-mode) 1s;
}

#menuPrincipal:after {
    content: '';
    position: fixed;
    width: 200px;
    height: 100%;
    right: -600px;
    background: var(--first-color);
    transition: all 1s var(--transition-mode) .5s;
}

body.menu-open #menuPrincipal:after {
    width: 500px;
    right: 100%;
    transition: all var(--transition-mode) 1s;
}

/* HOME */

/* FOOTER */

#footer {
    color: var(--bg-color);
    font-weight: 900;
}

/* INTERIOR */

#img_cab {
    position: fixed;
    bottom: 50px;
    left: 50px;
}

#img_cab h1 {
    font-size: 3rem;
    color: var(--first-color);
    font-weight: 100;
}

#img_cab h1 a {
    font-weight: 900;
}

#content_int {
    height: 100vh;
}

/* WORK LIST */

.item-work figure {
    width: 80%;
    position: relative;
    overflow: hidden;
}

.item-cnt {
    position: absolute;
}

.item-cnt span {
    font-size: 2rem;
}

.item-cnt h2 {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 3rem;
}

.item-cnt hr {
    border: none;
    borde-top: 10px solid;
}

.item-cnt em {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--first-color);
    padding: 0px 10px;
    position: relative;
}

.item-cnt em:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    left: 0%;
    background: var(--bg-color);
}

/* WORK */

#content {
    background-color: var(--bg-color);
}

#content img {
    max-width: 100%;
    height: auto;
}

#intro {
    height: 50vh;
    flex-direction: column;
}

#img_bg {
    height: 50vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#intro span {
    color: rgba(255, 255, 255, 0.5);
}

#intro h1 {
    font-size: 3rem;
    font-weight: 900;
    padding: 50px 0 20px;
}

#txt {
    height: 50vh;
    flex-direction: column;
}