@import url("../fonts/Interface/stylesheet.css");
@import url("../fonts/Inter/stylesheet.css");

:root {
    --blue: #1e90ff;
    --white: #fff;
    --black: #000;
    --n9: rgba(0, 0, 0, 0.9);
    --n8: rgba(0, 0, 0, 0.8);
    --n7: rgba(0, 0, 0, 0.7);
    --n6: rgba(0, 0, 0, 0.6);
    --n5: rgba(0, 0, 0, 0.5);
    --n4: rgba(0, 0, 0, 0.4);
    --n3: rgba(0, 0, 0, 0.3);
    --n2: rgba(0, 0, 0, 0.2);
    --n1: rgba(0, 0, 0, 0.1);
    --n06: rgba(0, 0, 0, 0.06);
    --n04: rgba(0, 0, 0, 0.04);
    --n02: rgba(0, 0, 0, 0.02);
    --link: #2d5eff;
  }

/* =============================
=============== RESET
============================== */
a, abbr, acronym, address, applet, b, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, footer, form, h1, h2, h3, h4, h5, h6, header, html, i,
iframe, img, ins, kbd, label, legend, li, nav, object, ol, p, pre, q, s, samp, section, small, span, strike, strong, sub, sup, u, ul, var
, table, tbody, td, tfoot, th, thead, title, tr, tt
{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: 0 0;
    font-size: 16px;
    font-family: Interface Web, Inter Web, system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    color: var(--n8);
    text-rendering: geometricPrecision;
}

ul { list-style: none; }
ul li { display: inline; }


::selection { background: #00000022; }
::-moz-selection {color:#00000022;}
a::selection {color:gray;}


/* =============================
=============== BASE
============================== */
body {
    /* background-color: var(--black); */
    background-color: var(--white);
    cursor: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="8" fill="black" fill-opacity="0.5" stroke="white"/></svg>') 8 8, auto;    
}

a, button {
    cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="12" fill="black" fill-opacity="0.6" stroke="white" stroke-width="1" /></svg>') 12 12, auto;
}


h1 { font-size: 2rem; font-weight: 700; line-height: 120%; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; font-weight: 500; line-height: 120%; margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; font-weight: 500; line-height: 120%; margin-bottom: 1rem; }
h3.eyebrow { font-size: 1.125rem; font-weight: 500; line-height:120%; margin-bottom: 2rem; }
p, li { font-size: 1rem; font-weight: 400; line-height: 180%; margin-bottom: .5rem; }
a,a:visited { color: var(--link); text-decoration: none; line-height: 180%;}
a>strong { color: var(--link); }
a:hover, a:focus, a:hover>strong {
    color: var(--black); 
    /* transition: all .6s cubic-bezier(0.19, 1, 0.22, 1); */
}
a.disabled {
    pointer-events: none;
    text-decoration: line-through;
}
a.selected {
    opacity: .5;
    pointer-events: none;
    font-weight: 700;
}

button {
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: #00000012;
    padding: 8px 16px;
    border-radius: 2rem;
    font-size: .875rem;
    transition: all .2s ease-in-out;
}

button:hover {
    background-color: #00000024;
}

button svg {margin-left: .5rem;}

.svg12,.svg16,.svg24,.svg32,.svg48, .svg64 {
   background-position: center;
}
.svg64 { width: 64px; height: 64px; background-size: 64px 64px !important; }
.svg48 { width: 48px; height: 48px; background-size: 48px 48px !important; }
.svg32 { width: 32px; height: 32px; background-size: 32px 32px !important; }
.svg24 { width: 24px; height: 24px; background-size: 24px 24px !important; }
.svg16 { width: 16px; height: 16px; background-size: 16px 16px !important; }
.svg12 { width: 12px; height: 12px; background-size: 12px 12px !important; }

/* =============================
=============== MAIN
============================== */

#page {
    background-color: white;
    width: 100%;
    margin: 0;
    /* position: absolute; */
    /* margin-top: 4px; */
}

main, .footer-wrapper {
    position: relative;
    margin: auto;
}

section {
    margin-bottom: 5rem;
}

#hero {
    /* background-color: red; */
}


.bio {
    margin-top: 5rem;
    word-wrap: break-word;
}

#contact-list { 
    display: flex;
    /* display: none; */
    margin-top: 1rem;
    flex-direction: row;
    align-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: .5rem;
    row-gap: .5rem;
}
#contact-list > li { margin-left: 2rem; }
#contact-list > li::after {
    /* content: '/'; */
    margin: 0 .5rem;
} #contact-list > li:last-child::after { content: none; }



.bio-links {
    display: flex;
    max-width: 260px;
    margin-left: -1rem;
}

.bio-links a {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}


/* =============================
=============== WORKS & ARTICLES
============================== */

#articles {
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    justify-content: flex-start;
    column-gap: 4rem;
    /* flex-wrap: wrap; */

}

.articles-wrapper {
    display: grid;
    /* flex-direction: column; */
    /* flex-wrap: wrap; */
    /* max-height: 14rem; */
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));

}

.article-item {
    /* margin-bottom: 1rem; */
    /* flex: 1; */
    /* flex-wrap: wrap; */

    /* background-color: #d1d1fc; */
    /* flex-grow: 1; */
    /* flex-wrap: wrap; */
    /* width: 50%; */
}
.article-item:last-child { margin-bottom: 0;}

.article-item p { opacity: 50%; }

#works {
    display: flex;
    flex-direction: column;
}


/* section {clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 90%);} */

.work-card.deactive {
    pointer-events: none;
    background-color: var(--n02);
    /* opacity: .9; */
}

.work-card.deactive .read {
    padding: 0;
    color: var(--n5);
    background-color: unset;
} .work-card.deactive .read::after { content: ''; }

.work-card {
    /* min-height: 200px; */
    border-radius: .5rem;
    /* padding: 1rem 1rem 1rem 2rem; */
    padding: 1rem;
    gap: 1.5rem;
    overflow: hidden;
    transition: all .2s ease-in-out;
    /* margin-bottom: 1rem; */
    line-height: unset;
    display: flex;
    flex-wrap: nowrap;
    /* flex-direction: row; */
    flex-direction: row-reverse;
    transform: perspective(1000px) rotateX(0deg);
    border: .5px solid var(--n3);
    transition: all .2s ease-in-out;
    background-color: white;
}
/* box-shadow: 0rem .3em .5rem 0rem #0000000a; */
/* box-shadow: 0px 8px 4px -8px #0000001f; */

.work-card {
    animation: cardSortAnim .4s cubic-bezier(0.68, -0.6, 0.32, 1.6) 1 forwards;
}

.work-card:nth-of-type(1) { animation-delay: .1s }
.work-card:nth-of-type(2) { animation-delay: .2s }
.work-card:nth-of-type(3) { animation-delay: .3s }


@keyframes cardSortAnim {
    from { margin-bottom: .5rem; }
    to { margin-bottom: 1rem; }
}



.work-card:hover, .work-card:focus {
    transform: scale(1.02) perspective(1000px) rotateX(1deg);
    transition: all .1s ease-in-out;
    
    box-shadow:
    0px 24px 16px -24px #00000016
    /* 0rem 1rem 1rem 0rem #0000000a */
    /* inset 0em 0em 20em 20em rgba(135, 0, 0, 0.02); */
    ;
}


.work-card2 {
    /* border-radius: .25rem; */
    min-height: 100px;
    padding: 1rem 0rem;
    overflow: hidden;
    transition: all .2s ease-in-out;
    line-height: unset;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    gap: 1.5rem;
    background-color: white;
    
    /* border-bottom: 1px solid var(--n1); */

    /* filter: contrast(101%) brightness(103%); */
    /* filter:invert(.2); */
    /* transform: perspective(500px) rotateX(-1deg) scale(1.02); */
}

.work-card2:hover {
    transform: scale(1) perspective(1000px) rotateX(0deg) !important;
    padding: 1rem 1rem;
    background-color: var(--n02);
    transition: all .2s ease-in-out;
}


.work-card-wrapper {
    margin-top: .5rem;
    flex: 1;
    flex-grow: 1.5;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
}


.work-img-wrapper {
    /* flex-basis: 200px; */
    flex: 1;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-content: flex-start;
    align-items: center;
    max-width: 200px;
}

.work-img-wrapper img {
    width: 100%;
    border-radius: .25rem;
    transition: all .2s ease-in-out;
    /* height: 100%; */
}


.work-card:hover img {
    transform: scale(1);
    transition: all .2s ease-in-out;
}

.work-card-wrapper h3 {
    margin-bottom: 0;
}

.work-card-wrapper p {
    flex: auto;
    line-height: 160%;
}

.status {
    display: flex;
    display: none;
    /* column-gap: 0.5rem; */
    /* align-items: center; */
    opacity: .5;
    padding: 0.5rem 1rem;
    padding: 0.5rem 0rem;
    /* background-color: #00000014; */
    border-radius: 1rem;
    margin-bottom: 2rem;
    /* zoom: .9; */
}

.status::after {
    margin-left: .5rem;
    font-size: .85rem;
    height: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.status.eye::after {content: "Read";}
.status.eye > div {
    background: url(../assets/icons/eye.svg?v=11) no-repeat;
}

.status.lock::after {content: "Protected";}
.status.lock > div {
    background: url(../assets/icons/lock.svg?v=11) no-repeat;
}

.read {
    display: flex;
    border-radius: 2rem;
    padding: .25rem 1rem; padding-right: .75rem;
    letter-spacing: 0.8px;
    font-size: .85rem;
    margin-bottom: 1rem;
    background-color: var(--n06);
    color: var(--n9);
}

.read::after {
    margin-left: 0.25rem;
    content: '→';
    /* top: 2px; */
}

.protected {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" clip-rule="evenodd" fill="black" d="M12.491 0a4.746 4.746 0 0 0-4.745 4.746V8H4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h-2.763V4.746A4.746 4.746 0 0 0 12.491 0ZM13 21h7V10H4v11h7v-3.782a2 2 0 1 1 2 0V21Zm2.237-13V4.746a2.746 2.746 0 0 0-5.491 0V8h5.491Z"/></svg>');
    margin-right: .5rem;
    margin-top: 2px;
}

.alb-logo {
    background: url(../assets/icons/allbb.svg?v=11) no-repeat;
    background: none;
}
.alb-logo::after {
    content: 'Alibaba';
    font-size: .85rem;
    letter-spacing: 1px;
    opacity: .5;
    /* text-transform: uppercase; */
}

#erl {
    /* background-color: mediumspringgreen; */
    /* background-color: mediumturquoise; */
    /* background-color: mediumaquamarine; */
    /* background-color: paleturquoise; */
    /* background-color: powderblue; */
    /* background-color: aquamarine; */
    /* background-color: palegreen; */
}

#alb1 {
    /* background-color: plum;
    background-color: mediumslateblue;
    background-color: mediumpurple;
    background-color: lightsalmon;
    background-color: lightcoral;
    background-color: palevioletred;
    background-color: lightsteelblue; */
    /* background-color: #FFE19C;  */
    /* background-size: 100% 100%;
    background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
    background-image: radial-gradient(49% 81% at 45% 47%, #FFE20325 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #FF5A0025 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #FFDB0025 1%, #FF000000 99%),radial-gradient(142% 91% at -6% 74%, #FF004925 1%, #FF000000 99%),radial-gradient(142% 91% at 111% 84%, #FF700025 0%, #FF000025 100%);   */
}

#alb2 {
    /* background-color: pink; */
    /* background-color: navajowhite; */
    /* background-color: lightpink; */
    /* background-color: gold; */
 }


#alb3 { 
    /* background-color: peachpuff; */
    /* background-color: lavender; */
}

#alb4 { 
    /* background-color: blanchedalmond; */
    /* background-color: lightskyblue; */
}



/* =============================
=============== FOOTER
============================== */

footer {
    width: 100%;
    padding: 0 0 2rem 0;
    margin-top: 6rem;
}

/* footer .hover-bg > .svg32  {opacity:.75;} */
footer .hover-bg:hover > .svg32 ,footer .hover-bg:focus > .svg32 {opacity: 1;}

.copyright p {
    letter-spacing: .5px;
    font-size: .7rem !important;
}

footer p {
    text-align: center;
}

.footer-wrapper {
    display: flex;
    flex-flow: row wrap;
    flex-direction: column;
    align-content: center;
  }


.footer-links {
    zoom: .9;
    display: flex;
    /* flex: 1 100%; */
    justify-content: space-evenly;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}


.footer-links a {
    /* flex-grow: 1; */
    /* flex-basis: 60px; */
    /* flex: 0 auto;       */
    /* margin: 0 1rem; */
}

.copyright {
    flex: 1;
    /* width: 200px; */
    max-width: 500px; 
    margin: auto;
    margin-top: 2rem;
    /* margin-left: 20px; */
    text-align: left;
    justify-content: flex-start;
    text-transform: uppercase;

}

.signature {
    /* display: none; */
    margin: 1rem auto;
    width: 115px;
    height: 70px;
    zoom: .6;
    background: url(../assets/icons/signature.svg?v=11) no-repeat 50% 50%;
}

.embelm {
    background: url(../assets/icons/embelm.svg?v=11) no-repeat 50% 50%;
    width: 3.5rem;
    height: 3.5rem;
    margin: auto;
    margin-top: 1rem;
}


/* =============================
=============== HEADER
============================== */

header { 
    z-index: 100;
    margin: auto;
    /* width: 100%; */
    /* top: 0px; */
    /* height: 90px; */
    padding: 2rem 0;
}

.header-wrapper {
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    align-items: center;
}

header a {
    /* margin-bottom: 5px; */
    /* font-size: calc(16px + 8 * ((100vw - 600px) / 1300)); */
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--black) !important;
}

nav {
    display: flex;
    column-gap: 2rem;
    /* z-index: 1; */
    /* flex-direction: column; */
    /* position: absolute; */
    /* right: 10%; */
    /* direction: rtl; */
    /* top: 40px; */
}

.logo-name {
    display: flex;
    column-gap: .75rem;
    align-items: center;
    margin-left: -0.5rem;
}

.logo {
    /* z-index: 10; */
    
    /* background-image: url('data:image/svg+xml;utf8,<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg"><g><circle cx="32" cy="32" r="32" fill="black"/><path d="M18.9729 18.5641L18.9342 18.4865L18.8519 18.5138L15.9685 19.4703L15.8614 19.5058L15.9096 19.6079C17.5905 23.1671 19.4395 28.594 20.0585 31.7799L20.0803 31.8921L20.1886 31.8556L23.1562 30.8556L23.2384 30.8279L23.2226 30.7426C22.6102 27.4382 20.6598 21.951 18.9729 18.5641ZM52.0954 19.193L52.1249 19.0989L52.0313 19.0681L47.8746 17.6985L47.7737 17.6652L47.7466 17.768C45.5598 26.0701 42.7337 32.5072 38.7697 37.603C34.8065 42.6977 29.7014 46.4573 22.9475 49.3974L22.8105 49.4571L22.9179 49.561C23.5758 50.1974 24.5923 51.4205 25.0308 52.0567L25.0782 52.1256L25.1543 52.0911C32.0862 48.9549 37.3745 44.9155 41.5107 39.6378C45.6341 34.3764 48.6089 27.889 50.9285 19.8489C51.4849 19.8333 51.9546 19.6416 52.0954 19.193ZM32.9969 15.974L32.973 15.8854L32.8827 15.9016L29.7889 16.4559L29.6808 16.4753L29.7101 16.581C30.7714 20.4123 31.7488 25.8841 32.0113 29.4855L32.0193 29.5942L32.1268 29.577L35.2628 29.077L35.3525 29.0627L35.3468 28.972C35.1252 25.4412 34.0186 19.771 32.9969 15.974Z" fill="white" stroke="white" stroke-width="0.2"/></g></svg>'); */
    background-position: center;
    background: url(../assets/icons/logo.svg?v=11) no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    
    /* border-radius: 50%;
    background-color: #000;
    mask: url(../assets/icons/logo.svg?v=11);
    -webkit-mask: url(../assets/icons/logo.svg?v=11);
    mask-size: 32px 32px;
    -webkit-mask-size: 32px 32px;
    mask-position: center;
    -webkit-mask-position: center; */

    /* transition:all .1s ease-in-out; */
}


.logo:hover ,.logo:active,.logo:focus {
    /* transform: scale(1.1); */
    /* transition:all .1s ease-in-out; */
}




/* =============================
=============== LINKS
============================== */

/* Navigation Link
---------------- */
.nav-link {
    overflow: visible;
    padding: 10px 0px;
    background-image: linear-gradient(120deg, #0cb82d 0%, #0cb82d 100%);
    background-repeat: no-repeat;
    background-size: 60% 20%;
    background-position: 300% 50%;
    transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover , .nav-link:focus {
    background-position: 200% 50%;
    padding-right: 50px;
    transform: translateX(-10px);
    transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}



/* Icon Links
---------------- */
.icon-link {
    border-radius: 50px;
    background-color: none;
    padding: .5rem;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.icon-link div {
    opacity: .9;    
}

.icon-link:hover , .icon-link:focus {
    background-color: var(--n06);
    filter: brightness(85%);
    transition: all .2s cubic-bezier(0.19, 1, 0.22, 1);
}



/* Underline Links
---------------- */
.ul-link {
    /* display: inline-block; */
    position: relative;
}
  
.ul-link::before {
    transition: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    height: 1px;
    content: "";
    position: absolute;
    background-color: var(--n5);
    width: 100%;
    bottom: -8px;
    opacity: 0;
}

.ul-link:hover::before, .ul-link:focus::before {
bottom: -4px;
opacity: 1;
}

.external-r:after {
    content: '\2197';
    font-size: 1rem;
    margin-left: 0.25rem;
    position: relative;
    top: 2px;
}

.external-l:before {
    content: '\2197' !important;
    font-size: 1rem;
    position: relative !important;
    top: 2px;
    margin-right: 4px;
}



/* =============================================================== 
   ======================= Icons ================================ */

.github {
    background: url(../assets/icons/github.svg?v=11) no-repeat
    /* mask: url(../assets/icons/github.svg?v=11#maskid); */
}

.codepen {
    background: url(../assets/icons/codepen.svg?v=11) no-repeat
}

.dropr {
    background: url(../assets/icons/dropr.svg?v=11) no-repeat
}

.lottie {
    background: url(../assets/icons/lottie.svg?v=11) no-repeat
}

.hypershoot {
    background: url(../assets/icons/hypershoot.svg?v=11) no-repeat
}

.medium {
    background: url(../assets/icons/medium.svg?v=11) no-repeat
}

.pinterest {
    background: url(../assets/icons/pinterest.svg?v=11) no-repeat
}

.spotify {
    background: url(../assets/icons/spotify.svg?v=11) no-repeat
}

.stylish {
    background: url(../assets/icons/stylish.svg?v=11) no-repeat
}

.savee {
    background: url(../assets/icons/savee.svg?v=11) no-repeat
}

.producthunt {
    background: url(../assets/icons/producthunt.svg?v=11) no-repeat
}

.designspiration {
    background: url(../assets/icons/designspiration.svg?v=11) no-repeat
}

.dribbble {
    background-image: url(../assets/icons/dribbble.svg?v=11) no-repeat;
}

.twitter {
    background: url(../assets/icons/twitter.svg?v=11) no-repeat;
}

.linkedin {
    background: url(../assets/icons/linkedin.svg?v=11) no-repeat;
}

.instagram {
    background: url(../assets/icons/instagram.svg?v=11) no-repeat;
}

/* .mail {
    -webkit-mask: url(../assets/icons/mail.svg?v=11) no-repeat
    mask: url(../assets/icons/mail.svg?v=11#maskid);
} */

.go-arrow {
    background: url(../assets/icons/go-arrow.svg?v=11) no-repeat;
}