/* ///////////////// */
/* FONTS */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Light.woff') format('woff2'),
    url('../fonts/Barlow-Light.woff2') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}


body {
  height: 100vh;
  margin: 0;
  margin-top: 135px;
  font-family: 'Barlow';
  font-weight: 200;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* navbar */

nav {
  z-index: 999999999;
  width: 85%;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  padding: 30px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s ease-in-out;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul li {
  margin-left: 60px;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font: 25px;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: black;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

.logo {
  width: 100%;
  height: 75px;
  object-fit: cover;
}

.count {
  position: absolute;

  font-size: 12px;
  text-align: center;
  background-color: #000;
  border-radius: 50%;
  color: #fff;
  width: 15px;
  height: 15px;
  top: -15px;
  right: -10px;
  z-index: 999999999;
}

/* -----The Dropdown Menu----- */

.dropdown-content {
  display: none;
  position: absolute;
  border-radius: 10px;
  margin: 0 10px 10px 10px;
  padding-bottom: 14px;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* index page */

#home h3 {
  font-size: 24px;
  text-align: center;
}

.imgContainer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.imgContainer img {
  padding: 10px;
  width: 250px;
  height: 250px;
}

.imgContainer img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* ////////// */
/* shop */
/* ///////// */

.shopMain {
  display: grid;
  margin: 25px;
  grid-template-columns: 250px 1fr;
}

.filter {
  display: flex;
  justify-content: center;
}

.artFilter {
  grid-area: 1/2;
  position: fixed;
  display: flex;
  flex-direction: column;
}

.filterName {
  text-transform: uppercase;
}

.testItem {
  grid-area: 1/2;
  display: flex;
  justify-content: center;
}

.artShop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.artShop img {
  padding: 25px;
  height: 250px;
  width: 250px;
  object-fit: cover;
}

.artShop img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* individual page */
.individual {
  margin-top: 75px;
}

.individual h3 {
  text-align: center;
  font-size: 24px;
}

.ind {
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}

/* detail page */
.detailPage {
  margin: 75px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
}

#imgDetail img {
  width: auto;
  height: 500px;
}

.imgInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.imgInfo button {
  border: none;
  border-radius: 2px;
  padding: 10px;
  transition: 300ms ease-in-out;
  cursor: pointer;
}

.imgInfo button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transition: 300ms ease-in-out;
}

.imgInfo button:disabled {
  background-color: rgba(0, 0, 0, 0.1);
  cursor: not-allowed;
}

/* ////////////// */
/* CART */
#cart-title {
  font-size: 20px;
  margin-top: 1%;
  width: 100vw;
  height: 100px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 300ms ease-in-out;
  font-family: Barlow;
}

#cart-container {

  display: grid;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  margin-left: 5%;
  padding: 15px;
}

#cart-page-left {
  font-family: Barlow;
  padding: 15px;
}

#cart-page-right {
  font-family: Barlow;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#cart-grabber {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-bottom: 15px;
}

#cart-summary-title {
  display: flex;
  align-items: center;
  padding: 10px;
}

#cart-summary {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 10px;
  width: fit-content;
}

.cart-item-individual {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 19px;
  background-color: rgba(250, 250, 250, 1);
  padding: 15px;
  margin: 15px 0px 15px 0px;
  align-items: center;
}

.remove-item {
  width: 30px;
  border: none;
  border-radius: 2px;
  padding: 10px;
  transition: 300ms ease-in-out;
  cursor: pointer;
}

.remove-item:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transition: 300ms ease-in-out;
}

.cart-item-individual img {
  width: auto;
  height: 100px;
}

#cart-info input[type=text] {
  border: 1px solid rgba(20, 20, 20, 1);
  width: 500px;
  height: 40px;
}

#cart-info input[type=submit] {
  border: none;
  border-radius: 2px;
  margin: 70px;
  margin-top: 25px;
  padding: 10px;
  transition: 300ms ease-in-out;
  cursor: pointer;
}

#cart-info {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cart-info input[type=submit]:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transition: 300ms ease-in-out;
}

#cart-info form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  background-color: rgba(250, 250, 250, 1);
  padding: 20px;
}

hr {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 15px 0px 15px 0px;
}

.cartNo {
  display: flex;
  height: 750px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cartNo a {
  border: none;
  border-radius: 2px;
  padding: 10px;
  transition: 300ms ease-in-out;
  cursor: pointer;
  background-color: rgb(219, 219, 219);
  color: black;
  text-decoration: none;

}

.cartNo a:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transition: 300ms ease-in-out;
}

.cartFilled {
  display: none;
}


/* ////////////// */
/* ABOUT */
#about-page {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 300ms ease-in-out;
  font-family: Barlow;
}

#about-page>hero {
  width: 100%;
  height: 275px;
  background-size: cover;
  background-position: 10% 50%;
  background-image: url(../img/hero/erion_about_hero.jpg);
}

#about-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#about-content article {
  width: 35%;
  padding: 30px;
  margin: 40px;
}

#about-content h3 {
  font-size: 2rem;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
}

#about-content p {
  font-size: 20px;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}

#about-content img {
  width: auto;
  height: 450px;
  margin: 40px;
  border-color: rgba(0, 0, 0, 0);
}


/* ////////////// */
/* FOOTER */
footer {
  width: 100vw;
  height: 250px;
  background-color: #f5f5f5;
  font-family: 'Barlow';
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  align-items: center;
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  display: flex;
  justify-content: space-around;
  transition: 300ms ease-in-out;
}

footer #left {
  display: flex;
  justify-content: center;
  align-items: center
}

footer #right {
  display: flex;
  justify-content: center;
  align-items: center
}

footer i {
  font-size: 35px;
  margin: 15px;
}

footer #contact {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

footer #contact a {
  color: #000;
  text-decoration: underline 0.05em rgba(0, 0, 0, 0);
  margin: 5px;
  transition: text-decoration-color 300ms ease-in-out;
}

footer #contact a:hover {
  color: #000000;
  text-decoration-color: rgba(0, 0, 0, 1);
  transition: text-decoration 300ms ease-in-out;
}

footer img {
  width: 150px;
  height: 150px;
  margin: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer #social a {
  color: #000;
  margin: 5px;
  transition: color 300ms ease-in-out;
  width: 15px;
  height: auto;
  text-decoration: none;
}

footer #social a:hover {
  opacity: 75%;
  transition: opacity 300ms ease-in-out;
}

footer #copyright {
  position: absolute;
  left: 85%;
  display: flex;
  flex-direction: row;
  font-size: 15px;
}

footer #copyright>i {
  font-size: 15px;
  display: flex;
  align-items: center;
}