:root {
  --text: #261331;
  --coral: #f0803c;
  --green: #31a382;
  --purple2: #d9c6e3;
}

/* || SITEWIDE */
body {
  margin-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;

  font-family: proxima-nova, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 174.3%;

  color: var(--text);

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* || Typography */

h1 {
  font-family: "Kiro";
  font-style: normal;
  font-weight: 800;
  font-size: 32px;
  line-height: 93.5%;
  text-transform: uppercase;

  color: var(--green);
}

.h1-cover {
  position: absolute;
  bottom: 10%;
  left: 0;
  color: white;
  font-size: xx-large;
  margin: 0;
  margin-left: 3vw;
  text-shadow: 0px 0px 20px rgb(0 0 0 / 80%);
}

h2 {
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;

  color: #261331;
}

h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 15px;

  color: var(--coral);
  margin-block-start: 1em;
  margin-block-end: 1em;
}

h3>a {
  color: var(--coral);
}

a {
  color: var(--text);
  text-decoration: none;
}



hr {
  border-top: 1px solid var(--text)
}

/* || LAYOUT */

.container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.col-66 {
  flex-basis: 66.66%;
}

.col-50 {
  flex-basis: 50%;
}

.col-33 {
  flex-basis: 33.33%;
}

.col-20 {
  flex-basis: 20%;
}

.item {
  margin-bottom: 2rem;
  overflow: hidden;
}

/* || IMAGE GALLERY */

.project-image {
  display: block;
  width: 100%;
  padding-bottom: 55%;
  background: center;
  background-size: cover;
}

.grid {
  margin-top: 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.grid a img {
  display: block;
  /* removes baseline spacing */
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* || NAVIGATION */

.nav {
  width: 15vw;
  position: fixed;
  overflow: hidden;
  margin-top: 3rem
}

.nav .icon {
  display: none;
}

.nav a {
  display: block;
}

.logo {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}

.shopbutton {
  position: absolute; 
  top: 1.5rem; 
  left: 1.5rem; 
  width: 150px; 
  height: 150px; 
  background-color: var(--green); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  text-align: center;
  border-radius: 50%;
}

/* || UTILITY */

.small-line {
  line-height: 122%;
}

.green {
  color: var(--green);
}

.coral {
  color: var(--coral);
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 2rem;
}

/* || PRODUCTS */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Product card */
.product {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image */
.image-wrapper {
  position: relative;
}

.product-image {
  display: block;
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
}

/* Badge */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 100px;
  text-transform: uppercase;
}


/* || RESPONSIVE */

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
  }

    .shopbutton {
      position: unset;
      margin: auto;
      left: unset;
      top: unset;

  }


  .shop-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .nav {
    width: 100%;
    position: fixed;
    overflow: hidden;
    top: 0px;
    margin-top: 0;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
  }

  .nav.responsive {
    display: inherit;
    padding-bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav a:not(:first-child) {
    display: none;
  }

  .nav a.icon {
    height: 3rem;
    display: flex;
    align-items: center;
    float: right;
    padding-right: 50px;
  }

  .nav.responsive a.icon {
    height: 3rem;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
  }

  .nav.responsive a {
    float: none;
    display: block;
  }

  .nav br {
    display: none;
  }

  .nav a.logo {
    display: flex;
    margin-top: 0;
    height: 3rem;
    align-items: center;
    width: 40%;
  }

  nav a.logo>img {
    height: 1.5rem;
  }

  .h1-cover {
    text-align: center;
    margin: 0;
    position: inherit;
    top: auto;
    left: auto;
    transform: none;
    text-shadow: none;
    color: var(--text);
  }

  .container {
    margin-top: 1rem;
    gap: unset;
    padding: 1rem;
    max-width: 1200px;
  }

  .cover {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1000px) {
  body {
    margin-bottom: 1rem;
    margin-left: 2rem;
    margin-right: 3rem;
  }

    .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    margin-top: 3rem;
    flex-direction: row;
    margin-left: calc(12vw + 4rem);
  }

  .m-col-50 {
    flex-basis: 50%;
  }

}

/* Extra large devices (large laptops and desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {
  body {
    margin-bottom: 1rem;
    margin-left: 3rem;
    margin-right: 5rem;
  }

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

  .container {
    margin-left: calc(12vw + 5rem);
    gap: 4rem;
  }

  .nav {
    width: 12vw;
  }

  .col-33 {
    flex-basis: 33.33%;
  }

  .col-66 {
    flex-basis: 66.66%;
  }
}