/*
  STYLE GUIDE STYLING 
  Default styling for the style guide 
*/

body {
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  padding: 0;
  margin: 0;
  text-align: center;
  justify-content: center;
}

section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Primary Heading, Branding */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem;
  color: #B9C3AE;
}

/* Secondary Heading */
h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: black;
  text-align: center;
  padding-left: 0rem;
  padding-right: 0rem;
}

/* Subheader */
h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: black;
  margin: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: black;
  margin: 0.5rem;
}

/* Body Copy */
p,
ul,
ol {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.4rem;
  color: black;
  max-width: 50rem;
  padding: 0.5rem;
  margin: 0 auto;
}

a {
  font-family: 'Lato', sans-serif;
  color: black;
  text-decoration: none;
  display: inline-block;
}

a:hover,
a:focus {
  color: #B9C3AE;
  font-weight: 500;
}

/* Styling for long navigation links */
.a-long {
  color: black;
  word-break: break-word;
}

.a-long:hover,
.a-long:focus {
  color: #B9C3AE;
}

/* Resize image for responsive website */
img {
  height: auto;
  max-width: 100%;
}

/* Styling for default button one (green to black) */
.default-button-one {
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  display: inline-block;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 2rem;
  margin: 1rem;

  position: relative;
  text-decoration: none;
  transition: background-color 0.5s ease;
  color: black;
  background-color: #B9C3AE;
}

.default-button-one:hover,
.default-button-one:focus {
  color: white;
  background-color: black;
}

/* Styling for default button two (white to green) */
.default-button-two {
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  display: inline-block;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 2rem;
  margin: 1rem;

  position: relative;
  text-decoration: none;
  transition: background-color 0.5s ease;
  color: black;
  background-color: white;
}

.default-button-two:hover,
.default-button-two:focus {
  color: black;
  background-color: #B9C3AE;
}

/* Styling for default button three (black to white) */
.default-button-three {
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  display: inline-block;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 2rem;
  margin: 1rem;

  position: relative;
  text-decoration: none;
  transition: background-color 0.5s ease;
  color: white;
  background-color: black;
}

.default-button-three:hover,
.default-button-three:focus {
  color: black;
  background-color: white;
}

/* Styling for label and input */
/* Styling forms (web.dev)*/

form {
  display: grid;
}

input select {
  font-size: 1rem;
  line-height: 1.2;
}

label {
  line-height: 1.2;
  text-align: left;
  color: black;
  margin: 0.2rem;
  margin-top: 2rem;
  display: block;
}

input {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  background-color: white;
  color: black;
  max-width: 28rem;
  min-width: 6rem;
  width: 100%;
  height: 3rem;
  padding: 1rem;
  border: 0.1rem solid #929292;
  border-radius: 0.5rem;
}

/* Reference to WPShout */
input::placeholder {
  font-family: 'Lato', sans-serif;
  color: #CFCFCF;
  display: flex;
  vertical-align: top;
  position: relative;
  top: 0;
}

input:focus,
input:hover {
  border: 0.1rem solid black;
}

/* Reference to Tailwind CSS Textarea - Flowbite*/
textarea {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  background-color: white;
  color: black;
  max-width: 50rem;
  min-width: 8rem;
  height: 3rem;
  padding: 1rem;
  border: 0.1rem solid #929292;
  border-radius: 0.5rem;
}

textarea::placeholder {
  color: #CFCFCF;
}

textarea:hover {
  border: 0.1rem solid black;
}

/* Styling for Branding */
.hero-container {
  background-color: black;
  width: 100%;
  height: 43rem;
  text-align: left;
  padding-left: 4rem;
  padding-right: 4rem;
  margin-top: 6rem;
}

#hero_content {
  justify-self: right;
}

.hero-container h1 {
  padding: 2rem;
  padding-top: 2rem;
  margin: 0;
}

.hero-container p {
  color: white;
  max-width: 35rem;
  padding: 2rem;
  padding-top: 0;
  margin: 0;
}

.hero-container .default-button-two {
  margin: 2rem;
  margin-top: 0;
}

.hero-container .default-button-two:hover,
.hero-container .default-button-two:focus {
  background-color: #B9C3AE;
}

.hero-container img {
  width: 37rem;
  margin-top: 1rem;
  border: solid 0.1rem white;
  border-radius: 2rem;
}

code {
  background-color: #EEE;
  padding: 0.5rem;
  display: block;
}

/* 
  NAVIGATION BAR -------------------
*/

/* Styling for the navigation button */

.nav-bar {
  background-color: black;
  box-shadow: 0 2px 4px 0 black;
  position: fixed;
  top: 0;
  width: 100%;
  height: 6rem;
  align-items: center;
  padding: 0.5rem;
  z-index: 1;
  justify-items: center;
}

.button-nav {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  display: inline-block;
  padding: 0.5rem;
  text-decoration: none;
  color: white;
  position: relative;
}


.button-nav:hover,
.button-nav:focus {
  color: #B9C3AE;
}

/*Reference to tobiasalin: animated underline */
.button-nav::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 0.2rem;
  bottom: 0;
  left: 0;
  background-color: #B9C3AE;
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.button-nav:hover::before,
.button-nav:focus::before {
  color: #B9C3AE;
  transform: scaleX(1);
}

.logo-image {
  min-width: 13rem;
  max-width: 6rem;
  display: inline-block;
  padding-top: 0;
}

.logo-link {
  display: inline-block;
  padding: 1.5rem;
  padding-top: 1.5rem;
  align-items: center;
}

.nav-bar .default-button-one {
  width: 8rem;
  margin: auto;
}


.nav-bar .default-button-one:hover,
.nav-bar .default-button-one:focus {
  background-color: white;
  color: black;
}

/* 
  ABOUT US BANNER -------------------
*/

.about-us {
  background-color: #B9C3AE;
  text-align: left;
  padding: 3rem;
  padding-left: 4rem;
  padding-right: 4rem;
  width: 100%;
}

.about-us h2 {
  max-width: 20rem;
}

.about-us h2,
.about-us p {
  color: black;
  text-align: left;
  padding: 1rem;
  margin: 1rem;
}

.about-us p {
  padding-top: 0;
  padding-bottom: 0;
}


.about-us .default-button-three {
  margin-left: 2rem;
  margin-top: 0.5rem;
}

#about_us_image {
  width: 32rem;
  justify-self: right;
  border-radius: 2rem;
  margin: auto;
}


/* 
  NEW PRODUCTS -------------------
*/

#new_products {
  margin-left: 4rem;
  margin-right: 4rem;
}

.new-products-heading h2 {
  justify-self: left;
  margin-left: 1.5rem;
}

.new-products-heading .default-button-one {
  justify-self: right;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: 1.4rem;
}

.product-listing {
  padding: 0;
  padding-top: 1rem;
}

.product-container {
  display: inline-block;
  position: relative;
  background-color: white;
  border: 0.1rem solid black;
  border-radius: 2rem;
  width: 18rem;
  height: 31rem;
}

.product-container:hover,
.product-container:focus {
  border: solid 0.18rem black;
}

.product-container .default-button-one {
  border: none;
}

.vinyl-image {
  width: 18rem;
  /* border-bottom: 0.1rem solid black; */
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.product-description {
  text-align: left;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin: 0;
}

.product-description h3 {
  font-size: 1.2rem;
  margin: 0;
  margin-left: 0.5rem;
}

.product-description h4 {
  text-align: right;
}

.product-container .default-button-one {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}


/* 
  FOOTERS -------------------
*/

footer {
  background-color: black;
  text-align: center;
  padding-top: 0;
  padding-bottom: 1rem;
  margin-top: 2rem;
}

.footer-block {
  padding-top: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 0;
}

.footer-block h2,
.footer-block h3,
.footer-block label,
.footer-block a,
.footer-block p {
  color: white;
}

.footer-block h2 {
  font-size: 1.2rem;
  text-align: left;
  margin: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

footer p {
  margin-top: 1rem;
}

#newsletter {
  display: inline-block;
  justify-content: left;
  text-align: left;
}

#newsletter h2,
#newsletter h3,
#newsletter p {
  margin-bottom: 0.5rem;
}

#newsletter label {
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

#newsletter input {
  color: #929292;
  border: 0.1rem solid #929292;
  margin: 0.5rem;
}

#newsletter input::placeholder {
  color: #cfcfcf;
}

#newsletter input:focus,
#newsletter input:hover {
  border: 0.1rem solid #B9C3AE;
}

#newsletter .default-button-one {
  background-color: #B9C3AE;
  color: black;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  transition: background-color 0.5s ease;
}

#newsletter .default-button-one:hover,
#newsletter .default-button-one:focus {
  background-color: white;
  color: black;
}

.nav-column {
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
}

/*Reference to tobiasalin: animated underline */
.nav-column a {
  margin: 0.5rem;
  margin-top: 0.5rem;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.nav-column a:hover,
.nav-column a:focus {
  color: #B9C3AE;
}

.nav-column a::before {
  /* margin: 0.5rem;
  margin-top: 0.5rem; */
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 0.2rem;
  bottom: -0.5rem;
  left: 0;
  background-color: #B9C3AE;
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.nav-column a:hover::before,
.nav-column a:focus::before {
  color: #B9C3AE;
  transform: scaleX(1);
}

#shop_location {
  text-align: left;
}

#shop_location .logo-link {
  padding-left: 0;
  padding-top: 2rem;
}

/* ABOUT PAGE */

/* Styling for About page hero */
.about-hero-container {
  background-color: black;
  width: 100%;
  height: 43rem;
  text-align: left;
  align-items: center;
  padding-left: 4rem;
  padding-right: 4rem;
  margin-top: 6rem;
}

.about-hero-container h1 {
  font-size: 3.3rem;
  font-style: italic;
  color: #B9C3AE;
  padding: 3rem;
  margin: 0;
}

.about-hero-container p {
  color: white;
  /* text-align: right; */
  max-width: 35rem;
  padding: 3rem;
  padding-top: 0;
  margin: 0;
}

#about_hero_img {
  /* width: 40rem; */
  justify-self: right;
  border-radius: 2rem;
  border: 0.1rem solid white;
  margin: 0;
}

.about-section {
  text-align: left;
  align-items: center;
  margin-top: 2rem;
  margin-left: 4rem;
  margin-right: 4rem;
}

#about_content {
  justify-self: right;
}

.about-section h2,
.about-section p {
  text-align: left;
  padding: 0.5rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  margin: auto;
  max-width: 35rem;
}

#about_img_1 {
  width: 34rem;
  border-radius: 2rem;
  justify-self: left;
}

.about-team-section {
  justify-content: center;
  align-items: center;
  margin-left: 4rem;
  margin-right: 4rem;
}

.about-team-section h2 {
  text-align: left;
  padding: 0.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin: 0;
}

.about-team-section p {
  text-align: left;
  max-width: 40rem;
  padding-top: 1rem;
  margin: 0;
}

/* #team_container {
  padding: 2rem;
} */

#about_img_2 {
  width: 22rem;
  justify-self: right;
  margin-right: 0;
  border-radius: 2rem;
  /* border: 0.1rem solid black; */
}

.shop-locations {
  background-color: black;
  padding-top: 1rem;
  margin: 3rem;
  border-radius: 2rem;
}

.shop-locations h2,
.shop-locations h3,
.shop-locations p {
  color: white;
  text-align: left;
  text-decoration: none;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.shop-locations h2,
.shop-locations h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 0;
}


/* CONTACT US PAGE */

.contact_us {
  text-align: left;
  margin-top: 4rem;
  margin-left: 4rem;
  margin-right: 4rem;
  padding-left: 0;
}

.contact_us h1 {
  margin-left: 0.5rem;
}

.contact_us h2 {
  margin-top: 4rem;
  text-align: left;
  margin-left: 0.5rem;
  margin-right: 4rem;
  color: #B9C3AE;
}

.contact_us h3 {
  color: #B9C3AE;
}

.contact_us p {
  max-width: 30rem;
  margin: 0;
}

#contact_us_info {
  justify-self: center;
}

#contact_us_form_container {
  justify-self: left;
}

.contact_us_form {
  width: 100%;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  /* margin-right: 4rem; */
  border: 0.2rem solid black;
  border-radius: 2rem;
}

.contact_us_form h2 {
  color: black;
  margin: 1rem;
  margin-left: 0;
}

#form-email {
  max-width: 50rem;
  /* min-width: 36rem; */
}

#form-message {
  max-width: 50rem;
  height: 20rem;
  /* Reference to Medium: Stop HTML textarea resizing */
  resize: none;
}

.form_two_column input {
  /* width: 100%; */
  max-width: 30rem;
  /* min-width: 36rem; */
}

.contact_us_form input,
.contact_us_form textarea {
  width: 100%;
  box-sizing: border-box;
  max-width: 30rem;

}

.submit-button {
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  display: block;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-top: 2rem;

  border-radius: 2rem;
  color: white;
  background-color: black;

  transition: background-color 0.5s ease;


  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%
}

.submit-button:hover,
.submit-button:focus {
  color: black;
  background-color: #B9C3AE;
}

/* SHOP PAGE */

.product-hero-container {
  position: relative;
  text-align: left;
  margin-top: 6rem;
}

#product_hero_img {
  width: 100vw;
}

.product-hero-container h1 {
  position: absolute;
  top: 40%;
  /* width: 100%; */
  color: white;
  text-align: left;
  padding-top: 5rem;
  margin-left: 4rem;
  color: #B9C3AE;
}

.product-hero-container h2 {
  position: absolute;
  top: 48%;
  /* width: 100%; */
  color: white;
  text-decoration: none;
  margin-left: 4rem;
  text-align: left;
}


.product-list-container {
  margin-top: 2rem;
  margin-left: 4rem;
  margin-right: 4rem;
}

.all-product-list {
  justify-self: center;
  padding-top: 0;
  overflow: hidden;
}

.filterDiv {
  display: block;
}

.show {
  display: block;
}

.price {
  text-align: right;
  margin: 0;
}


/* PRODUCT DETAIL PAGE */

.product-detail-section {
  padding: 0;
  margin-top: 6rem;
  margin-left: 4rem;
  margin-right: 4rem;
  text-align: left;
}

.product-detail-section h1,
.product-detail-section h2,
.product-detail-section h3 {
  text-align: left;
  color: black;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.product-detail-section h1 {
  font-size: 2rem;
}

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

.product-detail-section h3 {
  font-size: 1.2rem;
}

.product-detail-section .back-button {
  /* display: block; */
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.product-detail {
  padding-top: 0;
}

.product-detail .default-button-one {
  display: block;
  width: 9.5rem;
  margin-left: 0.5rem;
  text-align: center;
}

.back {
  display: block;
  font-size: 1.2rem;
  text-decoration: underline;
  margin: 0.5rem;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
}

.detail-vinyl-image {
  margin: 0;
}

.more-vinyl-image {
  width: 6.75rem;
  margin: 0.25rem;
}

.more-vinyl-image-one {
  width: 10.25rem;
  margin: 0.25rem;
  margin-top: 0rem;
  margin-left: 0.75rem;
}

.more-vinyl-image-two {
  width: 10.5rem;
  margin: 0;
  margin-left: 0.5rem;
}

.more-vinyl-image-three {
  width: 7.5rem;
  margin: 0;
  padding-left: 1rem;
}

.input-buttons {
  justify-self: right;
  text-align: right;
}

.counter {
  /* display: inline-block; */
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  margin: 0;
  /* overflow: hidden; */
  border-radius: 1rem;
}

/* Reference to Codepen: Quantity input with plus and minus button */
.counter button {
  background-color: #B9C3AE;
  font-size: 1.5rem;
  color: black;
  width: 2rem;
  height: auto;
  text-align: center;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  margin: 0.5rem;
  transition: background-color 0.2s;
}

.counter button:hover,
.counter button:focus {
  background-color: black;
  color: white;
}

.input-box {
  width: 3rem;
  text-align: center;
  border: 0.1rem solid #cfcfcf;
  padding: 0;
  font-family: 'Lato', 'san-serif';
  font-size: 1rem;
  outline: none;
}

/* Hide the number input spin buttons */
.input-box::-webkit-inner-spin-button,
.input-box::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-box[type="number"] {
  -moz-appearance: textfield;
}

.description-section {
  margin-left: 4rem;
  margin-right: 4rem;
  text-align: left;
}

.description-section h2 {
  text-align: left;
}

/* Reference to W3School: HOW TO: tabs */
.tab {
  margin-top: 2rem;
  overflow: hidden;
}

.tab a {
  color: black;
  border-radius: 1rem 1rem 0 0;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-left: 0.5rem;
  transition: background-color 0.2s;
}

.tab a:hover,
.tab a:focus {
  color: #B9C3AE;
  /* text-decoration: underline; */
}

.tab a.active {
  background-color: black;
  color: white;
  /* text-decoration: underline; */
}

.tab-content {
  display: none;
  padding: 1rem;
  margin-left: 0.5rem;
  border: 0.1rem solid black;
  border-radius: 0 1rem 1rem 1rem;
}

.tab-content.active {
  display: block;
}

.tab-content ul {
  margin-left: 1rem;
}


#recommendations {
  margin-left: 4rem;
  margin-right: 4rem;
}

.link {
  color: black;
  text-decoration: underline;
}


/* CART PAGE */

#shopping_cart {
  margin: 4rem;
  margin-top: 6rem;
}

#shopping_cart h1 {
  font-size: 2rem;
  color: black;
  text-align: left;
}

#shopping_cart h2 {
  font-size: 1.5rem;
  color: black;
  text-align: left;
  margin: 0.5rem;
}

#shopping_cart h3 {
  font-size: 1.2rem;
  color: black;
}

.shopping-cart-wrap p {
  margin: 0;
}

.my-cart {
  text-align: left;
  height: 18rem;
}

.order-detail h3,
.order-detail h4,
.order-detail p {
  color: black;
  padding: 0.5rem;
  margin: 0;
}

.order-detail h4 {
  margin-top: 0.5rem;
}

.input-buttons .counter {
  padding-top: 4.5rem;
}

.input-buttons .counter h4 {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.order-items1 {
  justify-self: left;
  align-items: center;
  padding: 1rem;
  border-top-width: 0.1rem;
  border-top-style: solid;
  border-top-color: black;
  border-bottom-width: 0.1rem;
  border-bottom-style: solid;
  border-bottom-color: black;
}

.order-items2 {
  justify-self: left;
  align-items: center;
  padding: 1rem;
  border-bottom-width: 0.1rem;
  border-bottom-style: solid;
  border-bottom-color: black;
}

.remove-button {
  color: black;
  text-decoration: underline;
}

.remove-button:hover,
.remove-button:focus {
  color: #B9C3AE;
}


/* TOTAL PRICE CONTAINER */

.total-price-container {
  max-width: 70rem;
  height: auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border: 0.2rem solid black;
  border-radius: 1rem;
  background-color: white;
  position: sticky;
  top: 8rem;
}

.total-price-container h4,
.total-price-container p {
  color: black;
}

.total-price-container h4 {
  text-align: left;
  margin-bottom: 2rem;
}

.price-title {
  text-align: left;
  margin: 0;
}

.subtotal-bar,
.total-bar,
.final-price-bar {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top-width: 0.1rem;
  border-top-style: solid;
  border-top-color: black;
}

.discount_code_form {
  font-family: 'Lato', sans-serif;
  margin-top: 2rem;
  border-top-width: 0.1rem;
  border-top-style: solid;
  border-top-color: black;
}

.discount_code_form label {
  color: black;
  margin-top: 1.5rem;
}

.discount_code_form input {
  max-width: 10rem;
  margin-top: 1rem;
  color: #929292;
}

.discount_code_form input::placeholder {
  color: #cfcfcf;
  display: flex;
  vertical-align: top;
  position: relative;
  top: 0;
}

.discount_code_form input:focus,
.discount_code_form input:hover {
  color: #929292;
}

.checkout-button {
  display: block;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-radius: 2rem;
  color: white;
  background-color: black;
  transition: background-color 0.5s ease;
}

.checkout-button:hover,
.checkout-button:focus {
  color: black;
  background-color: #B9C3AE;
}

.continue-button {
  color: black;
  text-decoration: underline;
}

.continue-button:hover,
.continue-button:focus {
  color: #B9C3AE;
  text-decoration: underline;
}


/* PAYMENT PAGE */

.payments {
  margin-top: 6rem;
  margin-left: 4rem;
  margin-right: 4rem;
}

.payments h1,
.payments h3 {
  font-size: 2rem;
  color: black;
  text-align: left;
}

.payments h2 {
  text-align: left;
}

.payment_form_two_column {
  text-align: left;
  padding-top: 0;
}

.payment_form_two_column input {
  width: 90%;
  max-width: 30rem;
}


.payments .total-price-container {
  margin-top: 6rem;
  height: 38rem;
}

.price p {
  text-align: right;
}

.payment-longer input {
  width: 120%;
  margin-right: 2rem;
}

/* 
#form-longer label {
  width: 130%;
  margin-right: 2rem;
} */

.payment-shorter input {
  max-width: 14rem;
  margin-left: 6.5rem;
}

.payment-shorter label {
  padding-left: 6.5rem;
}


/* PAY NOW BUTTON */

.pay-button {
  display: block;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: 0;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-radius: 2rem;
  color: white;
  background-color: black;
  justify-self: center;
  width: 100%;
}

.pay-button:hover,
.pay-button:focus {
  color: black;
  background-color: #B9C3AE;
}

/* BACK TO CART BUTTON */
.back-button {
  color: black;
  text-decoration: underline;
  text-align: center;
  justify-self: center;
  max-width: 10rem;
  margin: 0;
}

.back-button:hover,
.back-button:focus {
  color: #B9C3AE;
}

/* CONFIRMATION PAGE */

#order_confirm {
  padding: 1rem;
  margin: 4rem;
  margin-top: 6rem;
}

#order_confirm h1 {
  font-size: 2rem;
  color: black;
  text-align: center;
  padding: 0;
}

#order_confirm h2 {
  font-size: 1.5rem;
  padding: 0;
  margin: 1rem;
}

#order_confirm h3 {
  margin-bottom: 1rem;
}

.order-details {
  text-align: left;
  padding: 1rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

.order-detail-totals {
  align-items: center;
}

.items {
  text-align: left;
  margin: 0;
}

.order-detail-totals {
  border-top-width: 0.1rem;
  border-top-style: solid;
  border-top-color: black;
}

.order-detail-totals h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* CITATION PAGE */

#citation {
  text-align: left;
  margin-top: 4rem;
  margin-left: 4rem;
  margin-right: 4rem;
}

#citation h1 {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

#citation ul {
  margin: 0;
}

#citation li {
  margin: 0.5rem;
  justify-self: left;
}

/* FILTER */
/* Resources: https://www.w3schools.com/howto/howto_js_filter_dropdown.asp */

/* Filter dropdown Button */
.dropdown .default-button-one {
  display: block;
  padding: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
  max-width: 13rem;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  margin: 0;
  text-align: left;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  justify-self: center;
  position: sticky;
  top: 0;
}

/* Dropdown Content (Open by Default) */
.dropdown-content {
  display: block;
  /* position: absolute; */
  background-color: white;
  /* min-width: 230px; */
  max-width: 13rem;
  border: 0.1rem solid black;
  border-radius: 1rem;
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  display: block;
  color: black;
  padding: 0.75rem 2rem;
  text-decoration: none;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover,
.dropdown-content a:focus {
  background-color: black;
  color: white;
  border-radius: 1rem;
}

.button {
  font-size: 1rem;
  display: block;
  background-color: #000;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
  padding: 1em;
  border: 0;
  width: 100%;
  text-align: left;
}

.button:hover,
.button:focus {
  background-color: #B9C3AE;
  color: black;
}

.sticky-filter-elements {
  position: sticky;
  top: 10rem;
}

.sticky-filter-toggle {
  position: sticky;
  top: 7rem;
}

/*
	Here we have added a simple class that will allow us to toggle the visibility of an element on (or off) for the purposes of showing and hiding our menu.
*/
.hidden {
  display: none;
}

/* HAMBURGER MENU */

.nav-buttons {
  justify-content: center;
  justify-items: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin-right: 2rem;
}

.menu-toggle-button {
  display: none;
  background: none;
  border: none;
}

.nav-bar .logo-image,
.nav-bar .logo-link {
  justify-self: center;
}