
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 36vh;
  background: repeat url('/static/neuro_pattern_sm.jpg');
}

header img {
  padding: 10px;
  height: 100%;
}

.content {
  height: 100%;
}

a.btn {
  text-decoration: none;
}

/* HOME PAGE  */

.content.home .intro{

  
  margin: 20px 0;
  text-align: center;
}

.content.home .intro h1{
  margin: 8px 0;
}

.content.home .intro .intro-panel {
  /* height: 60vh; */
  background: url('/static/brain_outline.svg') no-repeat center;
  background-size: contain;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 80%;
  margin: auto;
}

.content.home .intro .intro-panel h2 {
  margin: 20px;
}

.featured-panel {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}


/* PRODUCT CARD  */

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  border-radius: 8px;
  background: #ff308b;
  box-shadow: 1px 1px 1px #000;
}

.product-card .product-card-title {
  font-weight: bold;
  text-align: center;
  padding: 8px;
  height: 60px;
}

.product-card .product-card-image {
  width: 180px;
}

.product-card .product-card-image img {
  width: 100%;
  height: 100%;
}

/* .product .btn {
  margin: 20px auto !important;

} */

.product .btn,
.product-display .btn,
.product-card  .btn,
.product-card  button{
  background: #7fff30;
  /* border-color: #000 ; */
  box-shadow: 1px 1px 1px #000;
  border-radius: 8px;
  color: #000;
  padding: 8px;
  margin: 8px;
  cursor: pointer;
  transition: background 1s ease-in-out;
}

.product .btn:hover,
.product-display .btn:hover,
.product-card  .btn:hover,
.product-card  button:hover{
  background: #f4ff8f;
  transition: background 1s ease-in-out;
}

/* CATALOG  */

.catalog {
  background: #4fe9e9;
  margin: 40px 0;
}

.catalog .catalog-products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;
}

.catalog .catalog-products .product-card{
  margin: 10px;
}

/* PRODUCT PAGE  */

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.no-product {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 64vh;
  text-align: center;
}

.no-product .absent-product-image {
  width: 200px;
  height: 300px;
}

.no-product .absent-product-image img {
  width: 100%;
  height: 100%;
}

.product-display {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  background: #faf699;
  text-align: center;
  margin: 40px auto;
  box-shadow: 1px 1px 1px #000;
}

.product-display * {
  margin: 10px 0;
}

.product-display .product-image {
  width: 200;
  height: 300;
}

.product-display .product-price {
  font-weight: bold;
}

.product-display .product-description {
  width: 80%;
}

/* END OF THE PAGE AND FOOTER  */

.before-footer {
  height: 400px;
  background: url('/static/autistic_meditation.png') no-repeat center;
  background-size: contain;
}

footer {
  height: 20vh;
  background-color: #2d2d2d;
  color: #fff;
  text-align: center;
}

footer .social-media {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 20px 0;
}

footer .social-media a {
  width: 100px;
  height: 100px;
}

footer .social-media a img {
  width: 100%;
  height: 100%;
}

/* MEDIA QUERIES  */

@media (max-width: 950px) {
  .product-display .product-image {
    width: 300px;
  }

  .product-display .product-image img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 900px) {
  .catalog .catalog-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }


}

@media (max-width:850px) {
  #latest-designs,
  .featured-panel {
    display: none;
  }

  header img {
    width: 600px;
  }

  
}

@media (max-width:620px) {
  header {
    height: auto !important;
  }

  header .header-image-container {
    width: 400px;
  }

  header .header-image-container img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width:480px) {
  .catalog .catalog-products {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;
  }
}