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

html {
    /* display: table; */
    margin: 0;
    background-color: #EFECEC;
}

body {
  font-family: "Trirong", serif;
  width: 100%;
  margin: 0;
  min-height: 100vh;
}

.page-container {
  margin: auto;
  margin-top: 1%;
  width: 1510px; 
}

/* intro */
.intro {
  /* background-size: 1100px 750px; */
  background-image: url("../images/truffles/12-truffle-package.jpg");
  border-bottom: 3px solid #333;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 750px;
  width: 100%;
  border-bottom: 3px solid #333;
  
}

.intro-description {
  height: 750px;
  display: flex;
}

.intro-description .title {
  background-color: #2A332F;
  width: 25%;
  height: 750px;
}

.intro-description .logo-image { 
  display: flex;
  justify-content: center;
  height: 100%;
}

.intro-description img {
  width: 100%;
  margin: auto 0;
}

.intro-description h2 {
  font-size: 3vw;
  color: #EFECEC;
}

.intro-description h4 {
  font-size: 2vw;
}


/* letter from ceo */
.letter-from-ceo {
  border: 2px solid blue;
  margin: 3% 0;
}

/* collections */
.collections {
  display: flex;
  flex-wrap: wrap;
  /* cushion from top and bottom */
  margin: 10% 0;

}

.collection-item {
  margin: 2% 5px;
  box-shadow: 0 8px 8px -8px black;
  width: 48%;
  
}

/* designing the button inside of the collections containers */
a .clickable-container {
  text-align: center;
  background-color: #476154;
  color: white;
  font-size: 300%;
}

/* peanut butter cup collection image */
.peanut-butter-cups {
  display: inline-block;
  background-image: url("https://cdn.shopify.com/s/files/1/0552/9596/7289/files/milk-peanut-butter-cup-2.jpg?v=1650413293");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
  width: 100%
}

/* caramel collection image */
.caramel-turtles {
  display: inline-block;
  background-image: url("https://cdn.shopify.com/s/files/1/0552/9596/7289/files/white-almond-turtle-4.jpg?v=1650413079");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
  width: 100%;
}

/* bars collection image */
.bars {
  display: inline-block;
  background-image: url("https://cdn.shopify.com/s/files/1/0552/9596/7289/files/m_m-collab-1.jpg?v=1650413038");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
  width: 100%;
}

/* clusters collection image */
.clusters {
  display: inline-block;
  background-image: url("https://cdn.shopify.com/s/files/1/0552/9596/7289/files/dark-cashew-cluster-2.jpg?v=1650413329");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
  width: 100%;
}

.truffle-collections {
  /* needed in order to have containers side-by-side */
  display: flex;
  flex-wrap: wrap;
  background-color: #C1BCAE;
}

.truffle-collections img {
  width: 50%;
}

.truffle-collections .truffle-description {
  width: 50%;
  /* padding: 6em 0; */
  text-align: center;
}

.truffle-description .description h3 {
  font-size: 1.2vw;
}

.truffle-collections .truffle-description .description p {
  margin: 0 5% 5% 5%;
  font-size: 1.3vw;
}

.truffle-collections .truffle-description .description {
  margin: 10% 0;
}

.truffle-description .description a {
  padding: 2% 5%;
  color: #EFECEC;
  background-color: #7B8382;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

#truffles-h2 {
  background-color: #476154;
  color: white;
  font-size: 3.5vw;
  font-weight: 100;
}


@media (max-width: 1520px) {
  .intro-description .title {
    width: 35%;
    padding: 10% 1%;
  }
  .intro-description .logo-image {
    height: 75%;
    margin: 20% 0;
  }

  .intro-description h2 {
    font-size: 4vw;
  }

  .page-container {
    margin: auto;
    width: 100%;
    padding: 0 5%;
  }

  a .clickable-container {
    font-size: 200%;
    height: 20%;
  }

  .truffle-collections .truffle-description .description  {
    margin-top: 3%;
  }
  .truffle-collections .truffle-description .description h3 {
    font-size: 2vw;
  }
  .truffle-collections .truffle-description .description p {
    font-size: 1.5vw;
  }
}

@media (max-width: 1200px) {
  .intro-description .title {
    width: 35%;
  }
  
  .intro-description h2 {
    font-size: 5vw;
    margin-top: 15%;
  }

  .intro-description img {
    size: 200%;
  }
  
  /* needed in order to have containers side-by-side */
  .truffle-collections {
      display: flex;
      flex-wrap: wrap;
      background-color: #C1BCAE;
    }
    
    .truffle-collections img {
      width: 50%;
    }
    
    .truffle-collections .truffle-description {
      width: 50%;
      text-align: center;
    }

    .truffle-collections .truffle-description .description{
      margin: 0;
    }

    .truffle-collections .truffle-description .description h3 {
      font-size: 2vw;
    }
    .truffle-collections .truffle-description .description p {
      font-size: 1.5vw;
    }
    
  }

  @media (max-width: 880px) {
    .intro-description .title {
      width: 40%;
    }
  
    .intro-description h2 {
      font-size: 6vw;
    }

    a .clickable-container {
      font-size: 6vw;
    }

    .collection-item {
      box-shadow: 0 8px 8px -8px black;
      width: 100%;
    }

    .truffle-collections {
      height: 300px;
      font-size: 1.5vw;
    }

    .truffle-collections img {
      width: 50%;
      height: 100%;
    
    }
    
    .truffle-collections .truffle-description {
      width: 50%;
      text-align: center;
      padding: 0;
    }
  
    .truffle-collections .truffle-description .description h3 {
      font-size: 2.5vw;
    }
    .truffle-collections .truffle-description .description p {
      font-size: 2vw;
    }
  }

@media (max-width: 700px) {
  .intro-description h2 {
    font-size: 7vw;
  }
  
  .intro-description h4 {
    font-size: 3vw;
  }
  
  .truffle-collections .truffle-description p{
    font-size: 1.4em;
  }

  .truffle-description .description a{
    font-size: 1.4em;
  }

  #truffles-h2 {
    font-size: 5vw;
  }
}

@media (max-width: 600px) {
  .intro-description .title {
    width: 50%;
  }
  
  .intro-description h2 {
    font-size: 8.5vw;
  }

  .intro-description h4 {
    font-size: 5vw;
  }
  a .clickable-container {
    font-size: 2.5em;
  }

  .truffle-collections .truffle-description{
    padding: 0;
  }
  
  .truffle-collections .truffle-description h2{
    font-size: 2.5em;
  }

  .truffle-collections .truffle-description p{
    font-size: 1.7em;
  }

  .truffle-description .description a{
    font-size: 1.7em;
  }

  
}