/* css list
* root
* Headings
* Icons
* Menu
* Main
* Header
* Badges
* Experiencia
* Contact button
* Avalibe
* cv download
* Projects Gallery
* footer
* Break Points
*/
/* my css */
:root {
    --font-s: 62.5%;
    --font-H: "Anton", sans-serif;
    --font-b: "Onest", sans-serif;
    --c-green: #A7D129;
    --c-black: #31332C;
    --c-gray: #929292;

    /* pallet */
    --c-g50: #f9fce9;
    --c-g100: #f1f8cf;
    --c-g200: #e2f1a5;
    --c-g300: #cce670;
    --c-g400: #b4d744;
    --c-g600: #759719;
    --c-g700: #597318;
    --c-g800: #485b19;
    --c-g900: #3e4e19;
    --c-g950: #1f2b08;
}

@font-face {
    font-family: Anton;
    src: url(/fonts/Anton-Regular_1.woff);
  }

@font-face {
    font-family: OnestRegular;
    src: url(/fonts/Onest-Regular.woff);
  }
@font-face {
    font-family: OnestBold;
    src: url(/fonts/Onest-Bold.woff);
    font-weight: bold;
  }
  
*,
hmtml,
body {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: var(--font-s);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    font-size: 1.6rem;
    color: var(--c-black);
    padding: 0px;
}

body:before {
    content: "DESIGNER";
    z-index: -1;
    position: fixed;
    bottom: 100px;
    right: 0;
    color: #e6e6e6;
    font-family: var(--font-H);
    font-size: 7rem;
    margin-right: 2rem;
    font-weight: 900;
    line-height: 0;
    transition: all .4s ease-in-out;

}
*::selection{color:var(--c-g700)}
    ::-webkit-scrollbar{
    overflow: scroll;
    background-color: #e6e6e6;
    width: 10px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--c-g300);
}



a:link,
a:visited {
    color: var(--c-black);
    cursor: pointer;
}

hr {
    border: 1px solid #e7e7e7;
    margin: 2rem 0;
}

section {
    height: 100%;
}

p {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-top: 1.6rem;
}

strong {
    font-weight: 600;
}

/* headings */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-H);
    text-transform: uppercase;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 2.0rem;
}

h3 {
    font-size: 2.4rem;
    line-height: 1.3;
    margin-top: 12px;
}

h4 {
    font-size: 2rem;
    line-height: 1.3;
    margin-top: 12px;
}

.columns {
    display: flex;
    flex-direction: column;
    gap: 1rem 0;
}
/* Icons */
.ic{
    width: 2rem;
    height: 2rem;
}
.ic-footer{
    width: 1.6rem;
    height: 1.6rem;
}
/* menu */
.content-navmenu{
    position: sticky;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    top: 0 ;
    z-index: 9999;
    backdrop-filter: blur(6px);
    width: auto;
    font-weight: 600;
}

ul.navmenu, .mobile-menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

ul.mobile-menu li a{
    width: 42px;
    height: 42px;
}
ul.navmenu{
    display: none;
}

/* main */
main > section {
    margin-top: 5rem;
}

/* Header */
main,
header,
footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    width: 100%;
}

img#emiPhoto {
    margin-bottom: -3px;
}
img#emiPhoto, img#emiPhoto2{
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    margin-top: 2.5rem;
}
img#emiPhoto2{
    border-radius: .8rem;
    animation: photorota both 3s;
    animation-timeline: view();
    animation-range: entry 20% cover 30%;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
@keyframes photorota {
    0% {
        opacity: 0;
        translate: 0 500px;
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(9deg);
    }
  }

/* badges */
section.sld-badges {
    position: relative;
    padding: 16px 0;
    border-top: 2px solid var(--c-black);
    border-bottom: 2px solid var(--c-black);
    width: 100%;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 1.4rem;
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    overflow: hidden;
}

.loop-badges > .content-badges {
    display: flex;
    animation-name: loop;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: var(--direction);
    animation-duration: var(--duration);
    gap: 1.6rem;
}

@keyframes loop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.content-badges > span {
    padding: 4px 16px;
    border: 2px solid var(--c-green);
    border-radius: 50px;
    font-size: 2rem;
    color: var(--c-green);
}

.content-badges > span:nth-child(3n-1) {
    background-color: var(--c-g200);
    color: var(--c-g600);
}
.content-badges > span:nth-child(3n) {
    background-color: var(--c-g600);
    color: var(--c-g200);
}
/* info badges */
.mP-info span.bd:first-child{
    margin-left: 0;
}
span.bd{
    margin: 8px 2px;
}
span.bd-webdesign{
    content: url(https://img.shields.io/badge/Web%20Design-b4d744);
}
span.bd-graphic{
    content: url(https://img.shields.io/badge/Graphic_Design-759719);
}
span.bd-socialm{
    content: url(https://img.shields.io/badge/Social_Media-3e4e19);
}
span.bd-photography{
    content: url(https://img.shields.io/badge/Photography-1f2b08);
}
span.bd-html{
    content: url(https://img.shields.io/badge/HTML-gray?logo=html5);
}
span.bd-wordpress{
    content: url(https://img.shields.io/badge/WordPress-website?style=flat&logo=wordpress&color=929292);
}
/* Experiencia */
.exp-laboral {
    display: flex;
    flex-direction: column;
}

.exp-laboral div {
    margin-bottom: 2.0rem;
}

.exp-historial {
    margin: 16px 0;
}

.exp-historial>h6 span {
    font-size: 13px;
    color: var(--c-gray);

}

/* Contact button */
.contac-Btns {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
button > a, ul.mobile-menu li a{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
button {
    background-color: var(--c-green);
    color: var(--c-black);
    font-family: var(--font-H);
    font-size: 1.7rem;
    border: none;
    padding: 8px 4px;
    border-radius: 50px;
    margin: 2.0rem 0;
    cursor: pointer;
}
button > a img{
    margin: .4rem;
}

/* avalibe */
.available {
    position: relative;
    font-size: 1.2rem;
    color: #379237;
    margin-left: 14px;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}

.available:before {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #00b700;
    left: -12px;
    top: 2px;
    animation-name: blink;
    animation-duration: 800ms;
    animation-iteration-count: infinite;
}
@keyframes blink {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}
/* Projects Gallery */
.mansoryProjects{
    column-count: 1;
}
.mP-image{
    background-color: var(--c-g50);
    border: 2px solid var(--c-black);
    border-radius: .8rem;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 15px;
    break-inside: avoid;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    transition: all 1s ease;
}
.mP-image:hover{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}
.mP-image > img{
    width: 100%;
    height: auto;
    border-radius: .5rem;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
}
.mP-info{
    padding: 1rem;
}
a.mP-link{
    display: flex;
    margin-top: 2rem;
    color: var(--c-black);
}
span.mP-arrow{
    display: block;
    background-image: url(/img/icon/up-right.svg);
    background-size: cover;
    width: 18px;
    height: 18px;
    margin-left: 8px;
}
/* cv download */
a.btn-cv{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.spin{
    width: 140px;
    height: 140px;
    animation: spin 6s infinite linear;
}

@keyframes spin { 
    from { 
        transform: rotate(0deg); 
    } to { 
        transform: rotate(360deg); 
    }
}
a.btn-cv span{
    position: absolute;
    display: block;
    font-weight: bold;
    font-size: 2rem;
    z-index: 999;
}

/* footer */
footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    width: 100%;
    padding: 20px;
    margin-top: 30px;
}
footer p{
    font-size: 1.2rem;    
}
.social-networks {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    gap: 1.6rem;
}

i.bx {
    font-size: 1.6rem;
    margin: 0 5px;
}
/* Break Points */
@media only screen and (width > 426px){
    body:before {
        font-size: 10rem;
        bottom: 100px;
        margin-right: 5rem;
    }
    /* Headdings */
    h1 {
        font-size: 5rem;
    }
    /* Columns */
    .columns, .mP-link {
        display: flex;
        flex-direction: row;
    }

    .columns > div {
        width: 50vw;
        margin-right: 20px;
    }
    div.col2{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    /* Header */
    header p {
        font-size: 1.7rem;
    }
    /* Projects Gallery */
    .mansoryProjects{
        column-count: 2;
    }
}

@media only screen and (width > 769px) {
    body:before {
        font-size: 17rem;
        bottom: 100px;
        margin-right: 5rem;
    }
    /* Headdings */
    h1 {
        font-size: 7rem;
    }
    /* Menu */
    .mobile-menu{
        display: none;
    }
    ul.navmenu{
        display: flex;
    }
    span img.ic-menu{
        display: none;
    }
    /* Header */
    header p {
        font-size: 2rem;
    }
    header.columns > div:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /* about me */
    img#emiPhoto2{
        transform: rotate(10deg);
    }
    a.btn-cv{
        position:absolute;
        bottom: 0px;
        right: 30px;
    }
    /* footer */
    footer{
        flex-direction: row;
    }
    /* Projects Gallery */
    .mansoryProjects{
        column-count: 3;
    }
}

span#mininota{
    border: 1.5px solid var(--c-g200);
    padding: 1rem;
    border-radius: 1rem;
    display: block;
    font-size: 1.0rem;
    line-height: 1.3;
    color: var(--c-gray);
}
span#mininota img{
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}