p {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  font-style: normal;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 30px;
  font-style: normal;
  text-shadow: 0px 2px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 36px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: solid 2px #7fba23;
  margin-bottom: 30px;
}

h3 {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  color: #2c2f33;
  margin-bottom: 30px;
}

h4 {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  text-shadow: 0px 2px 16px rgba(0, 0, 0, 0.08);
}

header {
  background-color: white;
  box-shadow: 0px 2px 24px rgba(0, 0, 0, 0.08);
  padding: 24px;
  box-sizing: border-box;
  z-index: 100;
  position: relative;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 35px;
  background-image: url("./logo.gif");
  width: 70px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.desktop-nav,
.product-link {
  display: none;
}

.mobile-nav-button {
  width: 25px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-nav-button span {
  width: 100%;
  height: 3px;
  background-color: #7fba23;
  display: block;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: rotate(0deg);
  opacity: 1;
}

.mobile-nav-button.open span:nth-child(1) {
  transform: rotate(45deg);
  transform-origin: left center;
  width: 24px;
}

.mobile-nav-button.open span:nth-child(2) {
  margin-left: -100%;
  opacity: 0;
}

.mobile-nav-button.open span:nth-child(3) {
  transform: rotate(-45deg);
  transform-origin: left center;
  width: 24px;
}

.mobile-nav {
  position: absolute;
  top: 80px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  overflow: hidden;
  padding: 24px;
  height: auto;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 400ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

a {
  text-decoration: none;
}

.mobile-nav.open {
  transform: scaleY(1);
}

.mobile-nav li a {
  padding: 24px 0;
  border-bottom: solid 1px #ebebec;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2c2f33;
}

.mobile-nav li a:hover {
  color: #7fba23;
}

.mobile-nav li:first-of-type a {
  padding-top: 0;
}

.mobile-nav li:last-of-type a {
  border-bottom: none;
}

.icon {
  height: 25px;
  width: 20px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 20px;
}

.freezer {
  background-image: url("./freezer-icon.svg");
}

.paper {
  background-image: url("./paper.svg");
}

button.styled-btn {
  border: solid 2px #7fba23;
  background: #7fba23;
  padding: 12px;
  display: block;
  width: 100%;
  border-radius: 4px;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  color: white;
  outline: none;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
  max-width: 300px;
  margin: auto;
  text-decoration: none;
}

button.styled-btn:hover {
  color: #7fba23;
  background: white;
}

.hero-image {
  padding: 85px 24px 165px;
  background-image: url("./hero-image.png");
  background-position: 15%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-image h4 {
  margin-bottom: 45px;
  line-height: 26px;
}

.hero-image button {
  margin: 0;
}

.content {
  padding: 40px 24px;
}

.content p {
  font-size: 19px;
  line-height: 32px;
  text-align: center;
  color: #7a7e84;
}

.products {
  background: #ebebec;
  padding: 40px 24px;
}

.product {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.product-image {
  height: 270px;
  width: 100%;
  background-position: center;
  background-size: contain;
  background-color: white;
  background-repeat: no-repeat;
  margin-bottom: 15px;
}

.product-name {
  font-size: 16px;
  color: #2c2f33;
  margin-bottom: 5px;
}

.product-price {
  font-size: 16px;
  color: #7a7e84;
  margin-bottom: 25px;
}

.glide__bullet {
  height: 10px;
  width: 10px;
  padding: 0;
  border: none;
  background: #c8c5c5;
  border-radius: 50%;
  outline: none;
}

.glide__bullet.glide__bullet--active {
  background: #7fba23;
}

.glide__bullets {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  max-width: 400px;
  margin: 0 auto 30px auto;
}

.downloads {
  background-image: url("./downloads-background.png");
  padding: 40px 24px;
}

.downloads .tile,
.download-page .tile {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.downloads .tile a,
.download-page .tile a {
  width: 100%;
}

.downloads .tile:last-of-type,
.download-page .tile:last-of-type {
  margin-bottom: 0;
}

.circled-icon {
  background-size: 40%;
  height: 104px;
  width: 104px;
  background-position: center;
  background-repeat: no-repeat;
  border: solid 3px #7fba23;
  border-radius: 50%;
  margin-bottom: 30px;
}

.tile h3 {
  font-weight: bold;
}

.tile p {
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  color: #7a7e84;
  margin-bottom: 30px;
}

.paper2 {
  background-image: url("./paper2.svg");
}

.freezer2 {
  background-image: url("./freezer2.svg");
}

.blog-posts {
  padding: 40px 24px;
  background-color: #ebebec;
}

.post {
  text-decoration: none;
}

.post-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 17px;
}

.post-title {
  font-weight: 500;
  font-size: 19px;
  line-height: 30px;
  color: #2c2f33;
  margin-bottom: 10px;
}

.post-date {
  font-size: 16px;
  line-height: 22px;
  color: #7a7e84;
  margin-bottom: 30px;
}

.green-line {
  display: block;
  height: 6px;
  width: 100%;
  background-color: #7fba23;
}

.footer-content {
  padding: 40px 24px;
  background-color: #555656;
  text-align: center;
}

.footer-content p {
  color: white;
  margin-bottom: 20px;
}

.footer-content a {
  color: #7fba23;
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 200px;
  margin: auto;
  width: 100%;
}

.social {
  height: 30px;
  width: 30px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.facebook {
  background-image: url("./facebook-square-brands.svg");
}

.twitter {
  background-image: url("./twitter-square-brands.svg");
}

.instagram {
  background-image: url("./instagram-brands.svg");
}

.download-page {
  background: #ebebec;
  padding: 40px 24px;
}

.download-page-intro.container {
  margin-bottom: 30px;
}

.download-page .tile {
  background-color: white;
}

.care-logo {
  height: 125px;
  width: 125px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 15px;
}

.amica {
  background-image: url("./amica-img.png");
}

.husky {
  background-image: url("./husky-img.png");
}

.iceking {
  background-image: url("./iceking-img.png");
}

/* tablet styling */

@media screen and (min-width: 600px) {
  .mobile-nav-button,
  .mobile-nav {
    display: none;
  }
  .desktop-nav {
    display: flex;
  }

  .desktop-nav a {
    padding: 0 10px;
    text-decoration: none;
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    color: #7fba23;
  }

  .desktop-nav a:hover {
    color: #2c2f33;
  }

  .desktop-nav a:last-of-type {
    color: #2c2f33;
  }

  .desktop-nav a:last-of-type:hover {
    color: #7fba23;
  }

  .hero-info {
    width: 70%;
  }

  .product-link {
    display: block;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #7fba23;
    text-decoration: underline;
    margin-bottom: 30px;
  }

  .product-link:hover {
    color: #2c2f33;
  }

  .titles {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .products button.styled-btn {
    display: none;
  }

  .blog-posts button.styled-btn {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .container {
    max-width: 1100px;
    margin: auto;
  }
  .hero-image {
    padding-top: 160px;
  }
  .hero-info {
    width: 100%;
    max-width: 560px;
  }

  .content {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .content h2 {
    display: inline-block;
  }

  .content > p {
    max-width: 970px;
    margin: auto;
  }

  .downloads .container,
  .download-page .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .downloads .tile,
  .download-page .tile {
    width: 45%;
    margin-bottom: 0;
  }

  .download-page .tile {
    margin-bottom: 15px;
  }

  .download-page-intro.container,
  .download-page-intro.container p {
    display: block;
    text-align: left;
  }

  .post {
    width: 48%;
    margin-bottom: 0;
  }

  #blog-posts {
    display: flex;
    justify-content: space-between;
  }

  .post-image {
    height: 350px;
  }

  .footer-content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-content p {
    margin: 0;
  }

  .social-links {
    margin: 0;
  }

  .logo {
    height: 70px;
    width: 140px;
  }
}
