/* FONTstuff*/

@media (min-width: 48rem) {
  :root {
    font-size: calc(1rem + ((1vw - .48rem) * 1.389));
    /* .48rem = viewportWidthMinimum /100 */
    /* 1.389rem = 100 * fontSizeDifference / viewportWidthDifference */
  }
}

@media (min-width: 120em) {
  :root {
    font-size: 2rem;
  }
}


/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 1rem;
    line-height: 1.2;
    color: black;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #5e6eff;
}

pre {
    background: none;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {

}

table{
    text-align: left;
}
td{
     vertical-align: top;
}

p{
    margin:  0;
}

h1{
    font-weight: 400;
    font-size: 1.2rem;
}


/* Utility Classes */
.margin {
    margin: 0 1rem;
}

.padding {
    padding: 1rem 2rem;
}

.left {
    float: left;
}

.right {
    float: right
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/****************/
/**** HEADER  ***/
/****************/
.title img{
    width : 100px;
}
/****************/
/*** GRID MEDIA */
/****************/
.path-home{
    /* background-color: #e4eeeb; */
    align-content: center;
}
.path-illustrations, .path-home{
    display: grid;
    grid-template-columns: calc(100% - 50% - 1.5rem) calc(50% - 1.5rem);
    column-gap: 3rem;
}
.items{    
    margin-bottom: 3rem;
    position: relative;
}

.gallery {
    width: 100%;
    height: 30vw;
    margin-bottom: 1rem;
    
}
.figure{
    cursor:pointer;
}
.zoom{
    position: absolute;
    font-size: 1rem !important;
    opacity: 0;
    top: 38%;
    margin: 0 0 0 50%;
    right: 50%;
    transition: all 250ms;
    
    pointer-events: none;
}


.caption{
    /* border: solid 1px white;
    border-radius: 1rem; */
    /* padding: 1rem 1rem 1rem 1rem; */
    /* margin-top: -2rem; */
}
.figure{
    overflow: hidden;
}
.figure img{
    height: 100%;
    width: auto;
    margin: 0 auto;
}
.slick-list, .slick-track {
    height: 100%;
    width: 100%;
    padding: 0px !important;
}

button{
    opacity: 0;
    transition: all 500ms;
}
.gallery:hover button{
    opacity: .7;
    transition: all 500ms;
}

.slick-custom-arrow{
    border: none;
    background: black;
    color:white;
    font-size: .6rem;
    border-radius: 1rem !important;
}

.slick-prev, .slick-next {
    padding: .7em .7em .5em .7em;
    position: absolute;
    bottom: 45%;
    cursor: pointer;
    transition: .3s background, .3s color;
    z-index: 99;
}
.slick-prev {
    left: 1em;

}
.slick-next {
    right: 1em;
    z-index: 999;
}

/************/
/*GRID MISC */
/************/

.grid_misc{
    grid-column: span 9;
    position: relative;
    columns: 3 200px;
    column-gap: 70px;
    padding: 0 0 0 0;

}

.misc_items{
    display: inline-block;
    margin: 0 0 35px 0;
}

.misc_items .caption{
   /* display: inline-block;*/

}

.misc_items img{
    max-width: 100%;
}


.caption{
    font-size: .6rem;
}


/************/
/* COMICS ***/
/************/
.banner img{
    width: 100%;
}
.subscribe a{

}
.banner, .subscribe{
    text-align: center;
    grid-column: span 3;
}
.path-comics{
    display: grid;
    grid-template-columns: 10% 80% 10%;
}
.toc{
    position: sticky;
    top: 1rem;
    height: auto;
    font-size: .6rem;

}
.comic h2{
    text-align: center;
    padding: 2rem .5rem;
    margin: 2rem 0 1rem 0;
    background: black;
    color:white;
}
.comic img{
    width: 100%;
}
.comics_main{
    width: 60%;
    margin: 0 auto;
}

.trad{
    position: absolute;
    right: 10%;
    padding: .5rem 0 0 0;
    font-size: .5rem;
    max-width: 15%;
    display: flex;
    flex-direction: column;
    
}
.trad_content{
    border: solid 1px black;
    padding: 1rem;
    margin-bottom: 5%;
}
/*************/
/**** ShOP **/
/*************/
.cart_logo{
    float: right;
    font-size: .6rem;
    border: solid 1px black;
    border-radius: 1rem;
    padding: .3rem;
    text-align: center;
}
/*************/
/**** ABOUT **/
/*************/

/******** Gridy - drawing *******/ 
.gridy{
  position: relative;
  float: left;
  display: grid;
  width: 300px;
  height: 400px;
  margin: 0 2rem 1rem 0;
  /*transform: scale(1.3);*/
  /*display: none;*/
}
.matrix{
  position: relative;
  float: left;
  width: 300px;
  height: auto;
  word-break: break-all;
  margin: 0 0 0 8rem;
  resize: none;
  border: none;
  background: #2f2f2f14;
  border-radius: 4%;
  padding: 1rem 1rem;
  transform: scale(1.3);
}

.matrix:focus{
  outline: none !important;
  border:  solid 1px lightgrey;
}
.matrix:hover{
  cursor: text;
}


.pixel{
  border: 1px solid rgb(238, 238, 238);
  cursor: pointer;
  box-sizing: border-box;
}
.gridy:hover .pixel {
  border: 1px solid rgb(228, 228, 228);
}

.pixel:hover{
  background: lightgrey;
}

/* end griddy */


/************/
/*SMARTPHONE*/
/************/

@media only screen and (max-width: 600px){ 

   
}