body {
  text-rendering: geometricPrecision;
  padding: 0;
  margin: 0 auto;
  background: #ddd url(../images/bg.jpg) repeat top left;
  /* font-family: "Gentium Book Basic", serif; */
  font-family: "Playfair Display", serif;
  font-size: 2.2em;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

.headerContainer {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin: 0;
  padding: 0 1%;
}

header p {
  font-style: italic;
  text-align: center;
}

header .headerContainer p.greatings {
  /* background-color: #666666;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: rgba(255, 255, 255, 1) 0px 3px 3px; */
  padding: 0 5px;
  color: transparent;
  background: #1b1a1a;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  text-shadow: 0px 3px 3px rgba(255, 255, 255, 0.75);
  /* color: #fffff0;
  text-shadow: 1px 1px 2px #000000, -1px -1px 2px #000000, -1px 1px 2px #000000,
    1px -1px 2px #000000, 1px 0 2px #000000, 0 1px 2px #000000,
    -1.5px -1.5px 2.5px rgb(51, 51, 56), 1.5px 1.5px 2.5px rgb(51, 51, 56),
    -1.5px 1.5px 2.5px rgb(51, 51, 56), 1.5px -1.5px 2.5px rgb(51, 51, 56),
    1px 1.5px 2.5px rgb(51, 51, 56), 1.5px 1px 2.5px rgb(51, 51, 56); */
}

.headerContainer p.headerImg {
  width: 90px;
  height: auto;
}

.headerContainer img {
  max-width: 100%;
  height: auto;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

.headerContainer img:hover {
  transform: scale(1.3);
}

.giftOverLayer h3 {
  padding: 0 1%;
  margin: 1%;
  text-align: center;
}

.giftOverLayer {
  border-radius: 5px;
  border-top-right-radius: 5px;
  position: fixed;
  width: 50%;
  left: 25%;
  background: #ddd url(../images/bg.jpg) repeat top left;
  font-size: 10px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0px 0px 158px 109px rgba(33, 33, 36, 1);
  visibility: hidden;
  overflow-wrap: break-word;
}

.giftOverLayer img {
  pointer-events: none;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: space-between;
}

.wrapper .container {
  height: 100%;
  /* height: 200px; */
  overflow: hidden;
  flex: 1 2 100%;
  align-items: stretch;
}

.wrapper .container img {
  max-width: 100%;
  align-self: stretch;
  pointer-events: none;
}

footer {
  font-style: normal;
  position: fixed;
  bottom: 0;
  right: 0;
}

footer p.counter {
  padding: 0 10px;
  margin: 0;
  background: #ddd url(../images/bg.jpg) repeat top left;
  border-top-left-radius: 5px;
  font-size: 22px;
}

/* For mobile phones:
[class*=".headerContainer"] {
  width: 100%;
}
[class*=".giftOverLayer"] {
  width: 100%;
}
[class*=".wrapper"] {
  width: 100%;
}
[class*=".counter"] {
  width: 100%;
} */

@media only screen and (min-width: 400px) {
  /* For moblile device */
  .headerContainer p.greatings {
    font-size: 2.6rem;
  }
  .giftOverLayer {
    font-size: 14px;
  }

  .wrapper .container {
    flex: 1 1 50%;
  }
}

@media only screen and (min-width: 600px) {
  /* For tablet */
  .headerContainer p.greatings {
    font-size: 3rem;
  }
  .giftOverLayer {
    font-size: 18px;
  }
  .wrapper .container {
    flex: 1 3 33.33%;
  }
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .headerContainer p.greatings {
    font-size: 3.7rem;
  }
  .giftOverLayer {
    font-size: 24px;
  }
  .wrapper .container {
    flex: 1 1 25%;
  }
}
