
/* Body */
pre {
  white-space: pre-line;
}

/* Main Navigation */
.main-nav .logo.single-logo{
  float: right;
  position: static;
  top: 0%;
  left: 0%;
  transform: translate(0%, 0%);
}

.logo .urbanee-logo:hover,
.logo .urbanee-logo:focus {
  background-color: #fbe144;
  padding: 0;
}

.main-nav .hamburger-menu .pattern-menu a {
  padding: 0.5rem 1.5rem;
  color: #f54c2b;
}

/* Hero */
.hero {
  width: 100%;
  /* border-top: 2px solid black; */
  border-bottom: 2px solid black;
  display: flex;
  height: 35vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Menu in content */
.content .grid .left-quarter.side-menu a {
  color: #f54c2b;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
  padding: 1rem 2rem;
}

.content .grid .left-quarter.side-menu a:hover,
.content .grid .left-quarter.side-menu a:focus {
  transform: scale(1.05);
  background-color: #fbe144;
}

.left-quarter {
  position: sticky;
  top: 0;
}

.divider-line {
  display: block;
  height: 1px;
  background-color: black;
  width: 100%;
}

/* Code Snippet */
.code-snippet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
  border: 1px solid #999;
  background-color: #ddd;
}

.code-snippet pre {
  color: #241f23;
  padding: 8px 20px;
}

.html-code {
  grid-column: span 1;
}

.css-code {
  grid-column: span 1;
}

/* Basic Interactive Elements */
/* In-text Link */
#in-text-link a:hover,
#in-text-link a:focus {
  padding: 0;
  transform: scale(1.05);
  background-color: #fbe144;
}

/* Input Field  & Form */
.input-field label {
  display: block;
  font-weight: bold;
}

.input-field input {
  background-color: #e3e0d7;
  width: 50%;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 2px solid #241f23;
  transition: all 200ms ease;
}

.input-field input[type="text"]:hover {
  border-color: #7ec1d4;
  outline: none;
}

.input-field input[type="text"]:focus {
  border-color: #f54c2b;
  outline: none;
}

/* Color */
.color-grid {
  display: grid;
  min-width: 0;
  margin-bottom: 2.5rem;
  grid-template-columns: repeat(5, 1fr);
}

.color-item {
  width: 100%;
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  justify-content: flex-start;
}

.color-palette-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.color-item-info {
  width: 100%;
  padding: 1rem 0.25rem;
  row-gap: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.color-item-info p,
pre {
  margin-top: 1rem;
}

.mandarin {
  background-color: #f54c2b;
  color: white;
}

.yellow {
  background-color: #fbe144;
}

.blue {
  background-color: #7ec1d4;
}

.grey {
  background-color: #e3e0d7;
  border: 1px solid #ccc;
}

.dark {
  background-color: #241f23;
  color: white;
}

/* Modular Pattern Elements */
/* Main Navigation Demo */
.main-nav .logo.pattern-demo {
  float: none;
  position: static;
  top: 0%;
  left: 0%;
  transform: translate(0%, 0%);
}

.nav-pattern-demo {
  padding: 2rem;
  border: 2px solid black;
}

#menuToggle.menu-toggle-demo
{
  display: block;
  position: static;
}


/* Product Listing Demo */
#product-listings a {
  color: #241f23;
  font-size: 1.2rem;
}

#product-listings .product-price {
  font-family: monospace;
  font-weight: normal;
  width: max-content;
  background: #fbe144;
  padding: 0.75rem;
  margin-top: 0;
  font-size: 1.2rem;
}

#product-listings .product-decription {
  font-family: monospace;
  font-weight: normal;
  margin-top: 0;
  font-size: 1.1rem;
}

#product-listings .product-info-grid {
  display: flex;
  justify-content: space-between;
  column-gap: 1rem;
}

#product-listings .add-to-cart-button {
  padding-top: 1rem;
}

#product-listings .add-to-cart-button a {
  padding: 0.75rem;
  border: 2px solid #241f23;
}

#product-listings .add-to-cart-button a:hover,
#product-listings .add-to-cart-button a:focus {
  padding: 0.75rem;
  background-color: #fbe144;
  border: 2px solid #fbe144;
}

.product-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 2px solid black;
}

.product-listing-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: 3rem;
}

.vase {
  border-right: 2px solid black;
}

.product-listing-grid-item img {
  /* position: relative; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  /* z-index: -1; */
}

.product-listing-grid-item img {
  width: clamp(10rem, 100%, 20rem);
  max-height: 100%;
  margin: auto;
}

.product-listing-grid-item img {
  /* width: 100%; */
  transition: 0.45s;
}

.product-listing-grid-item img:hover,
.product-listing-grid-item img:focus {
  opacity: 0.6;
  transform: scale(1.15);
  /* z-index: -1; */
}

.product-info h2 {
  font-size: 1.5rem;
}

.product.show {
  display: flex;
}

.product.remove-border {
  border-bottom: none;
}


