
:root{
  --background-color: rgb(165, 250, 165);
  --background-color-transparent: rgba(233, 233, 224, 0.905);
  --main-font-color: rgb(92, 11, 89);
  --font-hover-color: rgba(145, 142, 225, .2);
  --link-color: rgb(212, 81, 140);
  --link-color-2: rgba(84, 83, 41, 1);
  --link-color-3:rgba(160, 68, 87, 1);
  --link-color-4:rgba(160, 68, 87, 1);
  --title-color:rgba(84, 83, 41, 1);
  --font-family-serif: "Gentium Book Basic", serif;
  --font-family-sans: "Ga Maamli", sans-serif;

}

a.nav-link:link, a.nav-link:visited, a.nav-link{
  text-decoration: none;
  color:inherit;
}
/*Lightbox*/
#light-box{
  position:fixed;
  z-index: 999;
  top:0;
  left:0;
  width: 100vw;
  height: 100vh;
  display: none;
  background-color: var(--background-color-transparent);
}

#light-box.open{
  display: flex;
  justify-content: center;
  align-items: center;
  
}
#light-box .inner{
  display: flex;
  justify-content: center;
  align-items: center;
}
#light-box .inner img{
  max-height: 80vh;
  max-width: 80vw;
  object-fit: contain;
}
body {
  background-color: var(--background-color);
  font-family: var(--font-family-sans);
  font-weight: 400;
  font-size: 25px;
}
/* CHANGE BACKGROUND OF EACH PAGE HERE*/
#painting_body{
  background-color: rgb(233, 233, 224); /*change color of painting bg here */
}
#home_body{
  background-color: rgba(213, 129, 255, 0.728); /*change color of home bg here */
}
#work_body{
  background-color: rgb(233, 233, 224); /*change color of recent work bg here */
}
#about_body{
  background-color: rgb(165, 250, 165); /*change color of about bg here */
}
/**************************************/
.buy {
  margin-top: 2rem;
  background-color: inherit;
  border: 2px solid var(--main-font-color);
  color: var(--main-font-color);
  font-family: var(--font-family-serif);
  font-style: italic;
  border-radius: 10px;
  cursor: pointer;
}

.buy:hover {
  background-color: var(--font-hover-color);
}

.but:active {
  background-color: var(--font-hover-color);
}

.italic {
  font-style: italic;
}

#landing_image {
  width: 20vw;
  position: absolute;
  bottom: 25%;
  left: 40vw;
}

#landing_shop {
  color: var(--link-color-4);
  position: absolute;
  left: 25%;
  bottom: 35%;
  cursor: pointer;
  z-index: 100;
}

#landing_work {
  color: var(--main-font-color);
  position: absolute;
  left: 75%;
  bottom: 70%;
  cursor: pointer;
  z-index: 100;
}

#landing_about {
  color: var(--link-color);
  position: absolute;
  left: 65%;
  bottom: 15%;
  cursor: pointer;
  z-index: 100;
}

#landing_title {
  color: var(--link-color-2);
  position: absolute;
  left: 20%;
  bottom: 75%;
  z-index: 100;
}

/* #main_shop { */
  color: var(--link-color-3);
  position: fixed;
  left: 2rem;
  bottom: 2rem;
  cursor: pointer;
  z-index: 50;
}

/* .cart { */
  font-size: 14px;
  font-weight: normal;
  font-style: italic;
}

#main_work {
  color: var(--main-font-color);
  position: fixed;
  left: 2rem;
  top: 2rem;
  cursor: pointer;
  z-index: 50;
}

#main_about {
  color: var(--link-color);
  position: fixed;
  right: 2rem;
  top: 2rem;
  cursor: pointer;
  z-index: 50;
}

#main_title {
  color: var(--title-color);
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  font-weight: 700;
  font-style: italic;
  z-index: 50;
  width: 6rem;
  cursor: pointer;
}

#main_painting {
  color: var(--main-font-color);
  position: fixed;
  left: 2rem;
  top: 5rem;
  cursor: pointer;
  z-index: 50;
  font-size: 20px;
  font-style: italic;
}

#main_ceramic {
  color: var(--main-font-color);
  position: fixed;
  left: 2rem;
  top: 7rem;
  cursor: pointer;
  z-index: 50;
  font-size: 20px;
  font-style: italic;
}

#mobile_top {
  display: none;
}

#mobile_bottom {
  display: none;
}

#shopgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: absolute;
  left: 13rem;
  top: 5rem;
  margin-right: 10rem;
  padding-bottom: 4rem;
  font-family: var(--font-family-sans);
  font-size: 20px;
  color: var(--main-font-color);
  z-index: 1;
  row-gap: 5rem;
}

#all_workgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: absolute;
  left: 13rem;
  top: 5rem;
  margin-right: 10rem;
  row-gap: 5rem;
  column-gap: 2rem;
  padding-bottom: 4rem;
  font-family: var(--font-family-sans);
  font-size: 18px;
  color: var(--main-font-color);
  z-index: 1;
}

#paintings_workgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: absolute;
  left: 13rem;
  top: 5rem;
  row-gap: 5rem;
  padding-bottom: 4rem;
  margin-right: 10rem;
  font-family: var(--font-family-sans);
  font-size: 20px;
  color: var(--main-font-color);
  z-index: 1;
}

#ceramics_workgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: absolute;
  left: 13rem;
  top: 5rem;
  margin-right: 10rem;
  row-gap: 5rem;
  padding-bottom: 4rem;
  font-family: var(--font-family-sans);
  font-size: 20px;
  color: var(--main-font-color);
  z-index: 1;
}

#aboutgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: absolute;
  margin-right: 10rem;
  top: 5rem;
  left: 13rem;
  margin-bottom: 10rem;
  font-family: var(--font-family-sans);
  font-size: 15.5px;
  color: var(--main-font-color);
  z-index: 1;
}

.about_text {
  padding-left: 3rem;
}

.about_image {
  width: 90%;
  float: right;
}

.links a {
  font-style: italic;
  color: var(--link-color);
}

.links {
  padding-top: 2rem;
  padding-left: 3rem;
}

.bottom {
  color: var(--main-font-color);
  position: absolute;
  bottom: -1rem;
  font-size: 12px;
  right: 0;
}

.textleft {
  position: relative;
  top: 0;
  text-align: right;
}

.textright {
  position: relative;
  top: 0;
}

#shopgrid img {
  width: 75%;
}

#all_workgrid img {
  width: 87%;
  cursor: pointer;
}

#all_workgrid img.larger {
  width: 100%;
  cursor: pointer;
}

#paintings_workgrid img {
  width: 75%;
  cursor: pointer;
}

#ceramics_workgrid img {
  width: 75%;
}

.imageright {
  float: right;
}


/*MOBILE FORMATTING*/
@media screen and (max-width:767px) {
  body {
    font-size: 20px;
  }

  #landing_image {
    width: 70vw;
    position: absolute;
    bottom: 16rem;
    left: 15vw;
  }

  #landing_shop {
    left: 10%;
    bottom: 10rem;
  }

  #landing_work {
    left: 77%;
    bottom: 75%;
  }

  #landing_about {
    left: 77%;
    bottom: 7rem;
  }

  #landing_title {
    left: 10%;
    bottom: 83%;
  }

  #main_shop {
    left: 1rem;
    bottom: .75rem;
  }

  #main_work {
    left: 1rem;
    top: 1rem;
  }

  #main_about {
    right: 1rem;
    top: 1rem;
  }

  #main_title {
    right: 0rem;
    bottom: .75rem;
    width: 10rem;
  }

  #main_painting {
    top: 2.5rem;
    left: 1rem;
    font-size: 16px;
  }

  #main_ceramic {
    top: 2.5rem;
    left: 5.25rem;
    font-size: 16px;
  }

  #mobile_top {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 4rem;
    background-color: var(--background-color);
    z-index: 45;
  }

  #mobile_bottom {
    display: block;
    position: fixed;
    bottom: 0;
    ;
    left: 0;
    width: 100vw;
    height: 4rem;
    background-color: var(--background-color);
    z-index: 45;
  }

  .textleft {
    top: 0rem;
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .textright {
    top: 0rem;
  }

  .imageleft {
    padding-top: 4rem;
  }

  #shopgrid {
    grid-template-columns: 90vw;
    left: 5vw;
    row-gap: 0;
  }

  #all_workgrid {
    grid-template-columns: 90vw;
    left: 5vw;
    top: 2rem;
    row-gap: 0;
  }

  #paintings_workgrid {
    grid-template-columns: 90vw;
    left: 5vw;
    top: 2rem;
    row-gap: 0;
  }

  #ceramics_workgrid {
    grid-template-columns: 90vw;
    left: 5vw;
    top: 2rem;
    row-gap: 0;
  }

  #shopgrid img {
    width: 100%;
  }

  #all_workgrid img {
    width: 100%;
  }

  #paintings_workgrid img {
    width: 100%;
  }

  #ceramics_workgrid img {
    width: 100%;
  }

  #aboutgrid {
    grid-template-columns: 90vw;
    position: absolute;
    left: 5vw;
    top: 4rem;
    font-size: 13px;
  }

  .about_text {
    padding-left: 0rem;
  }

  .about_image {
    width: 75%;
    float: left;
    padding-left: 12.5%;
    padding-bottom: 1rem;
  }

  .links a {
    font-style: italic;
    color: var(--link-color);
  }

  .links {
    padding-top: .5rem;
    padding-left: 0rem;
  }

  .bottom {
    position: relative;
    font-size: 10px;
    right: none;
    left: 0rem;
  }

}



@media screen and (max-width:375px) {
  #aboutgrid {
    top: 3rem;
  }

  .about_image {
    width: 60%;
    padding-left: 20%;
  }

  #landing_shop {
    left: 10%;
    bottom: 15%;
  }

  #landing_work {
    left: 77%;
    bottom: 80%;
  }

  #landing_about {
    left: 77%;
    bottom: 9%;
  }

  #landing_title {
    left: 10%;
    bottom: 85%;
  }

  #landing_image {
    bottom: 10rem;
  }
}