*, *:before, *:after {
  box-sizing: border-box;
}	
html {
font-family: "Montserrat", sans-serif;
font-size: 18px;
line-height: 1.5;
font-weight: 400;
color: #ddd;
}
body {
background-color:#222; 
text-align: center; 
margin: 0 auto;
}
nav {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  font-family: "Montserrat", sans-serif;
  padding: 0 3%;
  height: 50px;
  background-color: #000;
}
nav .logo {
  float: left;
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 24px;
  color: #79d;
}
nav .links {
  float: right;
  padding: 0;
  margin: 0;
  width: 80%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
nav .links li {
  list-style: none;
}
nav .links a {
  display: block;
  padding: .5em 1em;
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
nav .links a:hover {
  color: #79d;
}
nav .links li.selected a {
  color: #9bf;
}
#nav-toggle {
  position: absolute;
  top: -100px;
}
nav .icon-burger {
  display: none;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}
nav .icon-burger .line {
  width: 30px;
  height: 5px;
  background-color: #fff;
  margin: 5px;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}
nav .search-icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 0 0 .25em;
  background-image: url("/assets/site/search-icon.svg");
  background-position: 0 0;
  background-repeat: no-repeat;
}
nav .search-icon:hover {
  filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}
/* MAIN */
.container {
  margin: 0 auto;
  max-width: 2400px;
  padding: 1rem 0 0 0;
}
#main {
  position: relative;
  margin-top: 50px;
}
.grid {
  padding: 0 1em;
}
.page-title {
  color: #fff;
  margin-bottom: 1em;
}
.hidden {
  display: none;
}
/* BUTTON */
.button {
  transform: translateZ(40px);
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  font-weight: bold;
  background-color: #79d;
  color: #fff;
  margin-top: 2em;
  padding: 0.5em 1em;
  border-radius: 10px;
  font: inherit;
  border: none;
  position: relative;
  transform-style: preserve-3d;
  transition: 300ms ease;
  text-decoration: none;
}
.button:before {
  transition: 300ms ease;
  position: absolute;
  display: block;
  transform: translateZ(-40px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  border-radius: 10px;
  left: 10px;
  top: 16px;
}
.button:hover {
  transform: translateZ(55px);
  background-color: #46a;
}
.button:hover:before {
  transform: translateZ(-55px);
}
.button:active {
  transform: translateZ(20px);
  background-color: #000;
}
.button:active:before {
  transform: translateZ(-20px);
  top: 12px;
}
img.icon {
  display: block;
  max-width: 200px;
  margin: 0 auto;
}
/* FORMS */
div.search {
  margin: 0;
  padding: 0 0 2em 0;
}

div.search label {
  display: none !important;
}
input.search-input {
  font-size: 120%;
  padding: 0.25em .5em;
  margin:.5em;
  border-radius: 5px;
  border:4px solid #79d;
}
.search-results {
  display: block;
  width: 90%;
  margin: 0 auto;
  background-color: #000;
  border-radius: 20px;
  padding: 1em .5em 1em .5em;
}
.search-list {
  list-style-type: none;
  padding-inline-start: 0;
}
.search-list-item {
  margin: 1.5em .5em 1.5em .5em;
}

/* PAGINATION */
.pagination {
  display: flex;
  text-align: center;
  list-style-type: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
.pagination p {
  margin: .375em;
  font-weight: 700;
}
.pagination a {
  color: #ddd;
  text-decoration: none;
  margin:.375em;
  display: inline-block;
  line-height: 40px;
  width: 40px;
  height: 40px;
  font-weight: 700;
  font-size: 120%;
  background-color: #79d;
  border-radius: 5px;
  transition: 0.4s;
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, .5);
}
.pagination a:hover {
  background-color:#46a;
}
/* FLIP CARDS */
.flip-card {
  margin: 1rem; 
  perspective: 1000px;
  cursor: pointer;
  background-color: transparent;
  width: calc(100% - 2rem);
}
.flip-detail {
  display: block;
  margin: 0 auto;
}
.flip-card img  {
display: block; 
width: 100%; 
height: auto;
border-radius: 20px;
}
.flip-card h1 {
  color: #46a;
  line-height: 120%;
  margin: 0;
  margin-bottom: .375em;
  padding: 0;
}
.flip-card p {
  margin: 0;
  padding: 0;
  font-weight: 400;
  color: #222;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, .5);  
  border-radius: 20px;
  background-color: #000;
}
.flip-card-front {
  color: black;
}
.flip-card-front img {
  display: block;
}
.flip-card-back {
  background-color: #fff;
  color: #222;
  transform: rotateY(180deg);
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 0 1.5em;
}
/* FOOTER */
#footer { margin-top: 1.5em;}
#footer .contact {
  display: flex;
  text-align: center;
  list-style-type: none;
  justify-content: center;
  align-items: center;
  color: #ddd;
  margin: 0 auto;
  padding: 1em 0 1em 0;
  background-color: #000;
}
#footer .icon {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 .25em;
  background-color: #dddddd;
  border: 1px solid #000;
  border-radius: 5px;
  background-image: url("/assets/site/email-icon.svg");
  background-position: 0 0;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 5px 2px #000000;
  transition: 0.4s;
}
#footer .icon:hover {
  background-color: #8198DA;
  box-shadow: 0px 0px 5px 2px #8198DA;
}
#footer .copyright-icon {background-image: url("/assets/site/copyright-icon.svg");
}
#footer .phone-icon {background-image: url("/assets/site/phone-icon.svg");
}
#footer .email-icon {
  background-image: url("/assets/site/email-icon.svg");
}
#footer .instagram-icon {background-image: url("/assets/site/instagram-icon.svg");
}
#footer .bluesky-icon {background-image: url("/assets/site/bluesky-icon.svg");
}
#footer .shopify-icon {background-image: url("/assets/site/shopify-icon.svg");
}
/* RESPONSIVE BITS */
@media screen and (min-width: 600px) {
  .grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .flip-card {
    width: calc(50% - 2rem);
  }
}
@media screen and (max-width: 800px) {
  nav .logo {
    float: none;
    width: auto;
    justify-content: center;
  }
  nav .links {
    float: none;
    position: fixed;
    z-index: 9;
    left: 0;
    right: 0;
    top: 50px;
    bottom: 100%;
    width: auto;
    height: auto;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
  }
  nav .links a {
    font-size: 20px;
  }
  nav :checked ~ .links {
    bottom: 0;
  }
  nav .icon-burger {
    display: block;
  }
  nav :checked ~ .icon-burger .line:nth-child(1) {
    transform: translateY(10px) rotate(225deg);
  }
  nav :checked ~ .icon-burger .line:nth-child(3) {
    transform: translateY(-10px) rotate(-225deg);
  }
  nav :checked ~ .icon-burger .line:nth-child(2) {
    opacity: 0;
  }
  #footer .copyright {
    margin-right: 0;
  }
}
@media screen and (min-width: 1200px) {
  .flip-card {
    width: calc(33.3333% - 2rem);
  }
}
@media screen and (min-width: 1800px) {
  .flip-card {
    width: calc(25% - 2rem);
  }
}