#caveclublogo {
  display: none;
}

:root { 
  --accent_color: #fee7db;
}

/* pre-HTML5 fix */
header, section, footer, aside, nav, main, article, figure {
  position: relative;
  display: block;
}

/* UTILITY */
.flex-wrapper {    
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

/* HTML - LAYOUT */
html {
  scroll-behavior: smooth;
  width: 100%;
}

html.nav-is-open {
  position: fixed;
  overflow-y: scroll;
}

body {
	
	font-family: 'Poppins', sans-serif;
	
	
	
	background-color: #242425;
	
	
	color: #fee7db;
	
  min-height: 99vh;
}

body:after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('');
  background-position: center;
  background-size: cover;
  z-index: -10;
}

body.loading {
  overflow: hidden;
}

header {
  width: 100%;
  margin: auto;
  max-width: 100vw;
  min-height: 10vh;
  height: 90px;
  
  background-color: #242425;
  
  transition: transform ease 1s;
}

header h1 {
  margin: auto;
  letter-spacing: 2px;
  font-size: 2rem;
  z-index: 2;
  
  color: #fee7db;
  
}

@media only screen and (max-width: 600px) {
  header h1 {
    font-size: 5vw;
  }
}

/* NAV */

nav#main-nav {
  position: relative;
  width: 100%;
  max-width: 100vh;
  height: 100%;
  flex-wrap: nowrap;
  justify-content: space-between
}

nav#main-nav h1, nav#main-nav a {
  flex-grow: 1;
  z-index: 10;
}

#nav-closer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  z-index: 12;
  transform: scale(0.01);
  transition: transform 0.6s cubic-bezier(.75,-0.30,.15,1.35); 
}

.cornernav-trigger {
  position: fixed;
  top: 20px;
  left: 0;
  z-index: 10;
  transition: all 0.6s cubic-bezier(.75,-0.30,.15,1.35);
}

.cave.nav-overlay {
  opacity: 0;
  z-index: 4;
  transition: all 0.4s ease-in-out;
  pointer-events: none;
}

.cavenav-is-open .cave.nav-overlay {
  opacity: 0.9;
  pointer-events: initial;
}

.cave-nav {
  position: fixed;
  display: flex;
  flex-direction: column;
  height: 100%;
  top: 0;
  left: 0;
  padding: 60px 20px;
  z-index: 9;
  pointer-events: none;
}

.cave-nav a {
  display: block;
  font-size: calc(1rem + 3vw);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 0.6s cubic-bezier(.75,-0.30,.15,1.35), opacity 0.4s ease-out;
}

.cavenav-is-open .cave-nav {
  pointer-events: initial;
}

.cavenav-is-open .cave-nav a {
  opacity: 1;
  transform: translateX(0%);
}

@media only screen and (max-width: 800px) {
  .cave-nav {
    justify-content: center;
  }
  
  .cave-nav a {
    font-size: calc(2rem + 3vw);
  }
}

/* CART & TRIGGERS */

.trigger {
  margin: 0 20px;
  
  background-color: #fee7db;
  
  z-index: 11;
}

.trigger i {
  
  color: #242425;
  
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(.75,-0.30,.15,1.35); 
}

.trigger:hover i {
  transform: scale(1.1);
}

.trigger:hover .cart-count {
  width: 100%;
}

#cart-trigger {
  margin: 0;
}

span.cart-container {
  height: 50px; width: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  z-index: 9;
  transition: transform 0.5s ease-in-out, opacity 0.2s ease-in-out;
}

.cart-container.empty {
  transform: translateX(70px);
  opacity: 0;
}

.cart-count {
  opacity: 1;
  position: absolute;
  right: 0;
  width: 50%;
  text-align:center;
  font-size: 1rem;
  color: #242425;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-ms-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
	z-index: 2;
}

.cart-count:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
  background-color: var(--accent_color);
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-ms-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
	z-index: -1;
}

.cart-count:hover:after {
  opacity: 0.9;
}

nav#main-nav h1 {
  position: relative;
  text-align: center;
}

.logo-link {
  height: 100%;
}

.logo.img-container {
  height: 100%;  
  padding: 15px 0;
  margin: 0 10%;
}

.logo.img-container img {
  max-height: 100%;
}

@font-face {
  font-family: 'ChildsPlayAgeTenOT';
  src: url('https://f9.limitedrun.com/fonts/753/ChildsPlayAgeTenOT.woff2') format('woff2'),
      url('https://f9.limitedrun.com/fonts/754/ChildsPlayAgeTenOT.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.topbar {
  width: 100%;
  text-align: center;
  display: block;
  font-size: 1.5rem;
  background-color: #9cb7d6ad;
  color: white;
  padding: 5px;
  font-family: "cavetown", "ChildsPlayAgeTenOT";
}

/* MOBILE CART & CORNERLINK ADJUSTMENTS */
@media only screen and (max-width: 1146px) {
  .topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1em;
    padding: 5px 50px;
  }
  
  body {
    padding-top: 90px;
  }
  
  span.cart-container {
    top: initial;
    left: 0;
  }
  
  .cart-container.empty {
    transform: translateY(70px);
  }
}

/* MAIN CONTENT */

main {
  min-height: 80vh;
  transition: all 0.5s ease-out; 
  
	background-color: #242425;
	
}

.loaded-content {
  max-width: 100%;
}

.new-content {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.width-wrapper {
  max-width: 95vw;
  padding: 15px;
  margin: auto;
  background-color: #242425;
  width: 1250px;
}




/* FOOTER */

footer {
  text-align: center;
  min-height: 10vh;
  padding: 10px;
  
  background-color: #242425;
  
  
  
  color: #fee7db;
  
  transition: opacity 0.3s ease-in;
}

footer a {
  
  color: #fee7db;
  
}

footer a:hover {
  color: var(--accent_color);
}

footer.flex-wrapper {
  flex-direction: column;
}

footer ul {
  margin: 0;
}

.loading footer {
  opacity: 0;
}

/* HTML - Sidenav */
.nav-is-open #nav-closer, .cavenav-is-open #nav-closer {
  transform: scale(1) rotate(180deg);
}

aside {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.6s cubic-bezier(.75,-0.30,.15,1.35); 
  pointer-events: none;
  opacity: 0;
  overflow-y: scroll;
  overflow-x: hidden;
}

.nav-is-open aside {
  pointer-events: initial;
  opacity: 1;
}

aside > ul {
 padding-top: calc(10vh + 20px); 
 align-self: flex-start;
}

aside ul li {
  display: block;
  text-align: center;
  margin: 3.5vh auto;
  font-size: 4vw;
  transition: all 0.6s cubic-bezier(.75,-0.30,.15,1.35);
  transform: translateX(-50%) rotateY(-90deg);
  opacity: 0;
  text-transform: uppercase;
}


aside ul li a, .aside-footer a, .aside-footer {
  color: #fee7db;
}

aside ul li a:hover, .aside-footer a:hover  {
  color: var(--accent_color);
}




@media only screen and (max-width: 600px) {
  aside ul li {
    font-size: 2rem;
  }
}

.aside-footer {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  color: white;
}

.nav-is-open aside ul li {
  transform: translateX(0);
  opacity: 1;
}

.nav-is-open aside ul li:hover {
  transform: translateY(-10px) skew(2deg);
}

.nav-is-open aside ul li.special-nav:hover {
  transform: translate(0);
}

.nav-is-open aside ul li .socials li:hover, .nav-is-open aside ul li .category-dropdown li:hover {
  transform: translateY(-5px);
}

.dropdown-indicator {
  font-size: 1rem;
}

.category-dropdown {
  transition: max-height 1s ease-in-out;
  max-height: 0;
  overflow: hidden;
  width: 100%;
  margin: auto;
  text-align: center;
}

@media only screen and (max-width: 600px) {
  .category-dropdown {
    width: 365px;
  }
}

.special-nav:hover .category-dropdown {
  max-height: 2000px;
}

.category-dropdown li {
  font-size: 0.9rem;
  display: inline-block;
  line-height: 1rem;
  padding: 0px 10px;
  margin: 2vw auto;
}

.category-dropdown li a {
  display: block;
  width: 120px;
  height: 100%;
  
  background-color: #242425;
  
  padding: 10px;
  
  border: 2px solid #fee7db;
  
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background-color: #242425;
  
  z-index: -5;
  opacity: 0;
  transition: all 0.6s ease-in; 
}

.nav-is-open .nav-overlay {
  opacity: 0.7;
}

/* HTML - ELEMENTS */

strong {
  font-weight: 600;
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 9vw;
  }
}

h1, h2, h3, h4, h5 {
  
	font-family: 'Cavetown', sans-serif;
	
	font-weight: 800;
	letter-spacing: 2px;
	color: #fee7db;
	text-transform: uppercase;
	text-align: center;
}

a { 
  position: relative;
  color: var(--accent_color);
  font-weight: 400;
  outline: none;
  border: none;
  text-transform: uppercase;
}

a:hover,a:focus,a.active {
  color: #fee7db;
}

img {
  max-width: 100%;
}

.socials {
  display: block;
  width: 200px;
  max-height: 80px;
  margin: auto;
  max-width: 100%;
  text-align: center;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.socials li {
	display: inline-block;
	width: 25px;
	margin: auto 7px;
	font-size: 1.2em;
}

.socials li a {
  font-weight: 400;
}

/* LOADER */

#loadscreen {
  z-index: 99;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100%;
  transition: all 0.5s ease-out; 
  opacity: 0;
  pointer-events: none;
}

#loadscreen .loaderel {
  animation: cavejitter 5s infinite cubic-bezier(.89,-0.58,.13,1.42);
  animation-fill-mode: both;
  animation-play-state: paused;
}

.loading #loadscreen {
  opacity: 1;
  pointer-events: initial;
}

.loading #loadscreen .loaderel {
  animation-play-state: running;
}

#loadscreen .loaderel:nth-of-type(1) {
  animation-delay: 0.2s;
}

#loadscreen .loaderel:nth-of-type(2) {
  animation-delay: 0.4s;
}

#loadscreen .loaderel:nth-of-type(3) {
  animation-delay: 0.6s;
}

#loadscreen .loaderel:nth-of-type(4) {
  animation-delay: 0.8s;
}

#loadscreen .loaderel:nth-of-type(5) {
  animation-delay: 1s;
}

#loadscreen .loaderel:nth-of-type(6) {
  animation-delay: 1.2s;
}

#loadscreen .loaderel:nth-of-type(7) {
  animation-delay: 1.4s;
}

#loadscreen .loaderel:nth-of-type(8) {
  animation-delay: 1.6s;
}

.loading main {
  opacity: 0;
}

.initial-load header {
  transform: translateY(-200%);
}

.initial-load footer {
  opacity: 0;
}

/* ANIMATIONS */
@keyframes cavejitter {
  0% { 
    transform: translateY(0px);
  }
  
  25% {   
    transform: translateY(20px);
  }
  
  50% {
    transform: translateY(-20px);
  }
  
  100% { 
    transform: translateY(0px);
  }
}

/* COLORING */

.bg-backing {
	background-color: #242425;
}

.bg-body {
	background-color: #fee7db;
}

.bg-header {
  background-color: #fee7db;
}

.bg-accent {
	background-color: var(--accent_color);
}

.hover-bg-backing:hover {
	background-color: #242425;
}

.hover-bg-body:hover {
	background-color: #fee7db;
}

.hover-bg-header:hover {
  background-color: #fee7db;
}

.hover-bg-accent:hover {
	background-color: var(--accent_color);
}

.cl-backing {
	color: #242425;
}

.cl-body {
	color: #fee7db;
}

.cl-header {
	color: #fee7db;
}

.cl-accent {
	color: var(--accent_color);
}

.hover-cl-backing:hover,.hover-cl-backing:focus {
	color: #242425;
}

.hover-cl-body:hover,.hover-cl-body:focus {
	color: #fee7db;
}

.hover-cl-header:hover,.hover-cl-header:focus {
	color: #fee7db;
}

.hover-cl-accent:hover,.hover-cl-accent:focus {
	color: var(--accent_color);
}

/* PAGES - PRODUCT */
@media only screen and (min-width: 800px) {
  #product-content .row {
    display: flex;
    flex-direction: row;
  }
  
  #product-content .row .col-flex {
    display: flex;
    align-items: center;
  }
}

.back-button {
  background: transparent !important;
  position: absolute;
  z-index: 9;
}

#options-header, .options-header {
  padding: 20px 0;
}

.selector-container {
  text-align: center;
  transition: opacity 0.5s ease, max-height 1s ease-in;
  margin: 15px auto;
  padding-top: 15px;
  width: 400px;
  max-width: 100%;
  border-top: 2px #fee7db solid;
}

.selector {
  display: inline-block;
  border: 2px solid #fee7db;
  color: #fee7db;
  padding: 10px;
  margin: 5px 5px;
  min-width: 50px;
  cursor: pointer;
  border-radius: 0;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
  transition: border-radius 1s ease, box-shadow 1s ease, opacity .4s ease;
  overflow: hidden;
}

.option-selector:focus {
  color: var(--accent_color);
}

.selector.full-width {
  width: 100%;
}

.selector:after, .option-selector:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background-color: #242425;
  
  opacity: 0;
  transition: opacity .4s ease;
}

.selected-option {
  z-index: 1;
}

.selector.in-stock:hover, .selector.available:hover, .selector.selected-color, #selected.selector, .selected-option {
  box-shadow: 0 2px 20px 5px rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
  border-color: var(--accent_color);
  color: var(--accent_color);
  opacity: 1;
  border-radius: 50px;
}

.has-selection .selector {
  opacity: 0.5;
}

.has-selection:hover .selector.available {
  opacity: 1;
}

.selector.unavailable, .selector.out-of-stock, .has-selection:hover .selector.out-of-stock {
  opacity: 0.15;
  cursor: not-allowed;
  color: black;
  background-color: rgba(0, 0, 0, 0.4);
}

.not-safari #selected.selector {
  transition: 1s ease;
  transform: rotateY(360deg);
}

.not-safari #selected.selector.full-width {
  transition: 1s ease;
  transform: rotateY(15deg);
}

#selected.selector:after, .selected-option.option-selector:after  {
  
  opacity: 1;
  
  z-index: -10;
}

.sizes-container.unselected {
  opacity: 0;
  max-height: 0px;
  margin-top: 0;
}

.sizes-container .size-selector {
  font-size: 1rem;
}

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

#product h5 {
  width: 75%;
  margin: auto;
}

.product-description .btn-container {
  text-align: center;
}

.product-descripton .btn {
  display: inline-block;
  margin: 10px auto 0;
}

.btn {
  display: block;
	background-color: var(--accent_color);
	color: #242425;
	font-family: inherit;
	font-weight: 600;
  text-transform: uppercase;
	margin: 15px auto auto;
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-ms-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	border-radius: 5px;
	border: 2px solid var(--accent_color);
	padding: 10px;
	line-height: 1em;
}

.btn:hover, .btn:focus {
	background-color: #242425;
	color: var(--accent_color);
	border-color: var(--accent_color);
}

.btn.disabled {
  border-color: rgba(0, 0, 0, 0);
}

@media only screen and (min-width: 600px) {
  .product-description {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* RELATED PRODUCTS */
.related-products {
  margin-top: 5vh;
  text-align: center;
}

.related-products h3 {
  font-size: 1.5vw;
}

@media only screen and (max-width: 1064px) {
  .related-products h3 {
    font-size: 2rem;
  }
}

/* PRODUCT GRID - ISOTOPE BASE */
.product-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.grid-sizer {
  display: none;
}

@media screen and (max-width: 25em) {
 .grid-sizer, .grid-item {
	width: 100%;
  } 
}

@media screen and (min-width: 25.1em) and (max-width: 63.9375em) {
 .grid-sizer, .grid-item {
	width: 50%;
  } 
}


@media screen and (min-width: 64em) {
 .grid-sizer, .grid-item {
	width: 33%;
  } 
  
 .grid-item.large {
   width: 66%;
 }
}



/* SPLASH PAGE */

.splash section {
  margin: 7vh auto;
}

.splash section:first-of-type {
  margin: auto auto 7vh;
}

.splash .btn-container {
  text-align: center;
  margin: 30px auto;
}

.splash .btn {
  display: inline;
  margin: 0 15px;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(1rem + 0.5vw);
}

.pagination .page a {
  font-family: Poppins, sans-serif;
}

.pagination a, .pagination .inactive, .pagination .current {
  padding: calc(10px + 0.1em);
}

.pagination > *.inactive {
  opacity: 0.7;
}

.pagination > *.current {
  color: var(--accent_color);
}

.pagination a {
  border: 2px solid var(--accent_color);
  height: 100%;
  display: block;
}