/* COMMON  */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Raleway", sans-serif;
  color: #2f2e2e;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  line-height: 1.3;
}

img {
  width: 100%;
}

.content-wrapper {
  width: 95%;
  margin: 0 auto;
}

/* MODAL  */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  overflow: auto;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.modal-window {
  position: relative;
  background-color: #ffffffdb;
  width: 80%;
  margin: 15% auto;
  padding: 30px 20px;
  color: #5f3b22;
  text-align: center;
  border-radius: 30px;
}

.modal-window.small {
  width: 75%;
}

.modal-window.large {
  width: 75%;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  right: 0;
  margin: 0px auto;
  font-size: 30px;
  border: 0;
  background: transparent;
  color: brown;
}

.open {
  display: block;
}

/* BACK TO TOP */

#button {
  display: inline-block;
  background-color: #2c2822;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 10px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#button:hover {
  cursor: pointer;
  background-color: #333;
}

#button:active {
  background-color: #555;
}

#button.show {
  opacity: 1;
  visibility: visible;
}

/* HEADER  */

header .fixed-bar {
  background-color: #242323;
  padding: 15px;
  text-align: center;
}

header .fixed-bar h3 {
  font-family: "Lobster", cursive;
  color: white;
  font-weight: 100;
}

/* INTRO  */

.intro {
  background-color: #fece00;
  padding: 70px 0px 0px 0px;
  position: relative;
}

.desktop-images {
  display: none;
}

/* ABOUT  */

.about-section {
  text-align: center;
}

.title {
  font-size: 35px;
  text-transform: uppercase;
  font-weight: 900;
  margin: 15px 0px;
  color: #2f2e2e;
}

.about-section .subtitle {
  font-size: 25px;
  font-family: "Lobster", cursive;
  margin: 15px 0px;
}

.about-section .thanks-p {
  font-size: 25px;
  font-family: "Lobster", cursive;
  margin-top: 30px;
}

/*  */

.products {
  text-align: center;
}

.products-section h2 {
  text-align: center;
  font-family: "Lobster", cursive;
  font-size: 27px;
  color: #5f3b22;
}

.product-ingredients {
  display: grid;
  grid-template-columns: 30% 30% 30%;
  justify-content: space-between;
}

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

.product-ingredients div img {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 50%;
  width: 65px;
}

.product-ingredients div p {
  text-align: center;
  font-family: "Lobster", cursive;
  color: #5f3b22;
  margin: 10px 0px;
}

.products-section .button {
  border: 2px solid white;
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  margin: 15px auto;
  align-items: center;
  width: 70%;
  font-size: 14px;
  color: white;
  border-radius: 20px;
  color: #5f3b22;
  background-color: white;
  -webkit-transition: all 250ms;
  transition: all 250ms;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  cursor: pointer;
}

.products-section .button:hover {
  background-color: rgb(252 245 237);
}

.products-section .button img {
  width: 30px;
  margin-right: 8px;
}

.hidden-ingr,
.hidden-logistic {
  display: none;
}

.cocoa,
.honeycake,
.white-cream,
.extra-cacao-cream,
.forrest-fruits-cream,
.products-section {
  padding: 15px 0px;
}

.cocoa,
.honeycake,
.products-section {
  background-color: #f4ede7;
}

.white-cream {
  background-color: #97c7d3;
}

.forrest-fruits-cream {
  background-color: #d3b6b8;
}

.extra-cacao-cream {
  background-color: #b3c6cd;
}

/* FOOTER  */

.footer-img {
  margin-bottom: -15px;
  background-color: #f4ede7;
}

footer {
  background-color: #fece00;
  text-align: center;
  padding: 15px 0px;
}

footer h2 {
  margin: 0 0 15px 0px;
  font-family: "Lobster", cursive;
  font-size: 22px;
  color: #5f3b22;
}

footer p,
footer a {
  color: #242323;
  font-weight: 500;
}

footer .social {
  margin: 15px 0px;
}

footer .social ul {
  display: grid;
  grid-template-columns: 10% 10%;
  column-gap: 5%;
  align-items: center;
  justify-content: center;
}

@media only screen and (min-width: 768px) {
  /*  */

  .mobile-thumbs {
    display: none;
  }

  .intro {
    padding: 100px 0px 30px 0px;
  }

  .desktop-images {
    display: block;
  }
}

@media only screen and (min-width: 992px) {
  .intro {
    background-position: right;
  }

  .desktop-images .grid img {
    width: 100%;
  }

  footer .social ul {
    display: grid;
    grid-template-columns: 40px 40px;
    column-gap: 5%;
    align-items: center;
    justify-content: center;
  }
}

@media only screen and (min-width: 1200px) {
  .content-wrapper {
    width: 75%;
  }

  a.site-logo {
    width: 20%;
  }

  .intro {
    padding: 0;
  }

  .intro .content-wrapper {
    width: 60%;
  }

  .intro .choco-bottom {
    width: 420px;
    position: relative;
    bottom: -2px;
    margin: 0 auto;
  }

  #map {
    height: 400px;
    width: 100%;
  }

  /*  */

  .products-section h2 {
    margin-bottom: 20px;
  }

  .product-thumb {
    display: grid;
    grid-template-columns: 45% 30%;
    justify-content: center;
    align-items: center;
  }

  .reverse {
    grid-template-columns: 30% 45%;
    grid-auto-flow: dense;
  }

  .reverse img {
    grid-column: 2;
  }

  .product-ingredients {
    display: block;
  }

  .product-ingredients div {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: row;
  }

  .product-ingredients div img {
    width: 90px;
    margin-right: 12px;
  }

  .product-ingredients div p {
    -webkit-transform: rotate(-10deg);
    margin-bottom: 20px;
    font-size: 20px;
    margin-top: 0;
  }

  .ingredients {
    display: grid;
    grid-template-columns: 30% 30%;
    justify-content: center;
  }

  .modal-window {
    width: 50%;
  }
}

/*  */
