/*- paoladestefano . website
/*- 250414
/*- By: Gabriel Venier
/*- http://www.gabrielvenier.com.ar */

/*  reset  */
/* Box sizing rules */
*,
*::before,
*::after{
	box-sizing:border-box;
	margin:0;
	padding:0;
    text-decoration: none;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure{
    margin:0;
}

html,
html:focus-within{
	scroll-behavior:smooth;
}

img,
picture,
svg{
	max-width:100%;
	display:block;
    margin: 0;
    padding: 0;
}

@viewport{
  zoom:1.0;
  width:extend-to-zoom;
}

html{
    color:var(--color-letra);
    background-color: var(--color-back);
}


/* font variable style ---------------------------------------------------------------------- */



/*  root ----------------------------------------------------------------------------- */
:root{
    --outline:1px solid red;

    --width-main:min(1500px,90%);

    --ff-main: "Quicksand", sans-serif;

    --color-letra:rgb(0 0 0);
    --color-back:rgb(255 255 255);

}


/* start layout ---------------------------------------------------------------------- */
html{
    font-family: var(--ff-main);
}

img{
    height: auto;
    /* max-height: 95dvh; */
    order: -1;
}

/* links decoration ---------------------------------------------------------------------- */
a::after,
label::after{
    content: '';
    display: block;
    height: 2px;
    width: 1ch;
    background-color: var(--color-letra);
    opacity: .4;
    transition: all 500ms ease-out;
}

a:hover::after,
label:hover::after{
    opacity: .1;
}

a:link,
a:active,
a:visited{
    display: inline-block;
    color: var(--color-letra);
    text-decoration: none;
}


/* top fade ------------------------------------------------------------------------- */
.top-fade{
    position:fixed;
    top:-25px;
    left:-5vw;
    width:110vw;
    height:10px;
    box-shadow:0px 10px 20px rgba(0,0,0,1);
    z-index:10000;
}


/* top menu ------------------------------------------------------------------------- */
/* hide checkers */
#check,
.check-btn{
    display: none;
}

/* nav bar */
nav{
    width: var(--width-main);
    margin-inline: auto;
    padding-block: 1rem;
    font-size: 1rem;
    font-weight: 600;

    display: flex;
    gap: 2rem;
    align-items:center;
    justify-content: space-between;
    
    a:link,
    a:active,
    a:visited{
        color:var(--color-letra);
    }
}

.top-menu-links{
    background-color: var(--color-back);
    display: flex;
    gap: 2rem;
}

/* boton tienda */
.boton_tienda{border: 2px solid var(--color-letra);
    border-radius: 10rem;
    padding: 0 1rem .2rem 1rem;
}

/* ocultar el nombre solo en el index */
.index-header > .top-menu > :nth-child(3){
    opacity: 0;
    cursor: default;
}

/*  main-wrapper ------------------------------------------------------------------------- */
main{
    width: var(--width-main);
    margin-inline: auto;

    > :nth-child(n){
        padding-top: 1.5rem;
    }
}

.titulo{                     /* titulo */
    font-size: 1.2rem;
}

/*  hero image index ----------------------------------------------------------------------- */


/*  muestra actual ------------------------------------------------------------------------- */
.muestra-actual{
    padding-bottom: 3rem;

    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: start;
    flex-direction: row;

    > :first-child{                  /* texto */
        flex-basis: 400px;
        flex-grow: 9999;

        h2{
            font-size: 1.2rem;
        }

        p{
            font-size: .8rem;

        }
    }
    
    > :last-child{                   /* imagen */
        flex-basis: 50px;
        flex-grow: 1;
        order: -1;
    }
}


/*  obras index --------------------------------------------------------------------------- */
.obras-index{
    > :nth-child(n){    /* card */
        margin-bottom: 3em;
        display: grid;
        align-self: start;
        
        h2{
            font-size: 1rem;
        }

        p{
            font-size: .8rem;
        }

        img{
            margin-bottom: .5rem;
        }
    }
}

/* menu interno -------------------------------------------------------------------------- */
.menu-interno{
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    align-items: flex-start;

    > :nth-child(n){
        font-size: 1.2rem;

    }
}


/* obras list grid view ------------------------------------------------------------------ */
input,
input{
    display: none;
}

label{
    cursor: pointer;
}

input#lg-grid:checked ~ .obras-index{   /* disply grid */
/*    display: grid;
    gap: 3rem;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); */

    columns: 3 350px;
    column-gap: 3em;
}

input#lg-list:checked ~ .obras-index{
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}


/* cv ---------------------------------------------------------------------------------------------- */
.cv{        
    h2{
        font-size: 1.2rem;
    }

    h3{
        font-size: 1rem;
        font-weight: 400;
    }

    p{
        font-size: .9rem;
    }
}

.menu-interno-2 h3 {
    font-weight: bold;
}


/* cv timeline -------------------------------------------------------------------------------------- */
.timeline{
    display: grid;
    gap: .5rem;
    grid-template-columns: 5ch auto;
    justify-self: start;

    > :first-child{
        font-weight: 600;
    }

    > :last-child{
        width:min(65ch,90%);
    }
}

.menu-interno-2{
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    align-items: flex-start;

    > :nth-child(n){
        font-size: 1rem;

    }
}

/* obra individual ---------------------------------------------------------------------------------- */
.obra{
    display: grid;
    gap: .5rem;

    h1{
        font-size: 1.5rem;
    }

    img{
        margin-bottom: 1rem;
    }
}


/*  footer ---------------------------------------------------------------------------------------- */
footer{
    width: var(--width-main);
    margin-inline: auto;
    text-align: center;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

/* media cambios ---------------------------------------------------------------------------------- */
@media (max-width: 600px){

    .top-menu-nombre{
        order: -1;
    }

    .check-btn{
        display: block;
        z-index: 10;
    }

    .top-menu-links{
        padding:3rem 5%;
        top: 3rem;
        position: fixed;
        width: 100%;
        right: -100%;

        flex-direction: column;

        box-shadow: 0px 15px 16px -2px rgba(0,0,0,0.34);

        transition: all 300ms  ease;
    }

    #check:checked ~ .top-menu-links{
        right: -5%;
    }

    label{
        display: none;
    }
}

/* error */
.error-wrapper{
}