@import url('../style.css');
:root {
  --zoomLevel: 1;
  --X: 50%;      
  --Y: 50%;
}
/*body,
h1, h2, h3, h4, h5, h6 {
  font-family: "Gilda Display", sans-serif;
  background-color: var(--ivory);
  color: var(--red);
}*/
.item {
  height: 503px;
  width: 377px;
  background-color: transparent;
  display: flex;
}
.item img {
  margin: auto;
  display: block;
  overflow: auto;
}
.thumbnails {
  height: 117px;
  width: 377px;
  display: flex;
  overflow: auto;
}
.thumbnails img {  
  max-height: 107px;
  width: auto;
  border: solid 2px #fffeef;  /* --ivory in style.css */
}
.thumbnails img:hover {
  filter: brightness(1.1);
}
.item-outer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  max-width: 1200px;
  margin-top: 100px
}
.contactlink {
  text-decoration: underline;
}

/* override w3 
.w3-button:hover {
  background-color: #f20e0e !important;
  color:#fffeef !important
}*/

#itemText {
  width: 377px;
}
#itemDesc {
  text-align: justify; 
  margin: 20px 0px;
  font-weight: 700;
}
#textblock {
  margin-top: -20px;
}
#prevArrow,
#nextArrow {
  position: fixed;
  top: 50%;
  cursor: pointer;
}
#prevArrow {
  content: url("../images/prev.svg");
  left: 5px;
}
#nextArrow {
  content: url("../images/next.svg");
  right: 5px;
}
/*-- magnify --*/
.itemZoom {
  overflow: hidden;      
}
.itemZoom img {
  transition: transform .5s ease;
  transform: scale(var(--zoomLevel));
  transform-origin: var(--X) var(--Y);
  cursor: zoom-in;
}
/*--*/
@media (max-width: 420px) {
  #itemDesc {
    margin-left: 20px;
    margin-right: 20px;       
  }
  h2 {
    margin-left: 20px;
  }
}