html, * {margin:0;padding:0;box-sizing:border-box;}

html {
	scroll-behavior: smooth;
}

ul li {
  list-style: none;
}

body {
  overflow-y: hidden;
	cursor: -webkit-image-set( url("../assets/pointer/pointerx1.png") 1x, url("../assets/pointer/pointerx2-optimized.png") 2x) 16 16, pointer;
  height:100%;
  min-height:100%;
  transition:all 1s;
}

h1, h2, h3, p, div,figcaption, a {
  font-family: 'Futura', 'Times New Roman', serif;
  font-weight: 400;
}

h2, h3, h4, h5, a, p, div, figcaption {
  font-size: 0.85rem;
  letter-spacing: 0.4rem;
}

h1 {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.45rem;
}

/*h2 {
   text-transform: lowercase; 
}*/

a {
  text-decoration: none;
  color: rgb(35, 35, 35);
}

header {
  padding: 8vh;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  z-index: 2;
}

.blur-image-wrap {
  top: 0;
  bottom:0;
  left:0;
  right:0;
  z-index:-1;
  position:absolute;
	overflow-x: hidden;
}

.blur-image:after {
	backdrop-filter: blur(20px); /* apply the blur */
}

 .blur-image {
  width:100%;
  height: 100%;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
	background-position: center center;
	filter: blur(20px);
	-webkit-filter: blur(20px);
  -moz-filter: blur(20px);
  -o-filter: blur(20px);
  -ms-filter: blur(20px);
	transform: scale(1.1);
  transition: opacity 0.3s ease-in-out;
}

.opacity {
  opacity: 1;
}

.blur-image-wrap {
-ms-overflow-style: none;  /* IE and Edge */
scrollbar-width: none;  /* Firefox */
}

.blur-image-wrap::-webkit-scrollbar {
display: none;
}

main {
  padding-left: 8vh;
  /* overflow-x: hidden;
  display: flex; */
}

#zero {
  position: absolute;
  height: 100%;
  width: 8vh;
  display: none;
}

#goBack {
  display: none;
}

.main-logo {
  justify-content: flex-start;
}

.nav-link {
  justify-content: flex-end;
}

a:hover {
	color: transparent;
	text-shadow: 0 0 2px #000;
	cursor: -webkit-image-set( url("../assets/pointer/pointerx1.png") 1x, url("../assets/pointer/pointerx2-optimized.png") 2x) 16 16, pointer;
}

.nav-link-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.arrow {
  position: fixed;
  right: 5vw;
  bottom: 3vw;
  width: 50px;
  height: auto;
  transition:all 1s;
}

.hide {
  display: none;
  transition:all 1s;
}

/* Image sizes*/



.piccolo {
  max-width: 90px;
  height: auto;
}

.medio {
  max-width: 160px;
  height: auto;
}

.grande {
  max-width: 280px;
  height: auto;
}




/* horizontal masonry */

/* ---- grid ---- */

.grid-wrap {
  overflow-x: hidden;
  z-index: 4;
}

.grid {
  background: none;
  width: 100%;
  height: 72vh;
}

.grid::-webkit-scrollbar {
  display: none;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-item {
  float: left;
  margin: 15px; /* horizontal gutter */
  margin-right: 20px;
}

.border-painting {
  /*box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);*/
  box-shadow: -10px 0px 3px -2px rgba(0,0,0,0.45);
}


/* GALLERY ARTWORK PAGE */

header.painting-header {
	justify-content: flex-end;
  position: fixed;
}


main.painting-container {
	padding-left: 0;
}

img.painting-single {
  display: block;
	max-width: 400px;
  max-height: 60vh;
	height: auto;
	padding-bottom: 2em;
}

.painting-container {
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.content-container {
  height: 100vh;
  width: 100vw;
}

.painting-single-wrap figcaption {
	text-align: center;
  text-transform: lowercase;
}


/* ABOUT */

.about-container {
  display: flex;
	align-items: center;
  flex-direction: column;
  justify-content: space-between;
	justify-content: center;
  height: 100vh;
}

.about-wrap {
  display: block;
  text-align: center;
}

.about-nav-desktop {
  position: fixed;
  width: 100%;
  bottom: 8vh;
  left: 0;
}

.about ul {
  margin-top: 1rem;
}

.about ul li {
  padding: 0.1rem;
  letter-spacing: 0.5rem;
}

#about-mobile {
  display: none;
  visibility: hidden;
}

#about-desktop {
  display: block;
  visibility: visible;
}




/************ RESPONSIVE ************/

@media (max-width: 600px) {

  body {
    overflow-y: auto;
  }

  header {
    display: block;
    text-align: center;
  }

  .nav-link {
    display: block;
    margin: 20px;
  }

  .painting-header {
    padding:0;
  }

  .grid-wrap {
    padding: 2vw;
    display: flex;
    width: 100%;
  }

  .blur-image-wrap {
    position: fixed;
  }

  .grid{
    margin-right: auto;
    margin-left: auto;
    width: auto;
    height: auto;
  }

  .grid-item {
    display: flex;
    float: none;
  }

  .painting {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  img.painting-single {
    max-width: 80vw;
  }

  .piccolo {
    max-width: 70vw;
    height: auto;
  }
  
  .medio {
    max-width: 70vw;
    height: auto;
  }
  
  .grande {
    max-width: 70vw;
    height: auto;
  }

  #zero {
    height: auto;
  }

  .painting-container {
    height: -webkit-fill-available;
  }

  header.painting-header {
    justify-content: center;
    margin-top: 8vh;
    position: fixed;
  }

  .about-wrap {
    display: block;
    max-width: 90vw;
  }

}

@media (max-width: 480px) {

  .blur-image-gallery, .blur-image-wrap-gallery {
    display: none;
    visibility: hidden;
  }

  a:hover {
    color: rgb(35, 35, 35);
    text-shadow: none;
    cursor: -webkit-image-set( url("../assets/pointer/pointerx1.png") 1x, url("../assets/pointer/pointerx2-optimized.png") 2x) 16 16, pointer;
  }

  #about-mobile {
    display: block;
    visibility: visible;
  }

  #about-desktop {
    display: none;
    visibility: hidden;
  }

  .about-wrap {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* display: block; */
    max-width: 90vw;
  }

  h2, h3, h4, h5, a, p, div, figcaption {
    font-size: 0.8rem;
    letter-spacing: 0.45rem;
  }
  
  h1 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.45rem;
  }
}