.header {
  height: 350px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  text-align: center;
  padding: 0 20px;
}

.left-section { 
  display: flex;
  align-items: center;
  margin: 0 20px;
  position: relative;
}

@keyframes iconPulse {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.jcd-big {
  animation: iconPulse 2s ease-in-out infinite;
  width: 225px;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

.jcd-big:hover {
  animation: none;
  width: 250px;
  cursor: pointer;
}

@keyframes hoverFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(10px, -10px) scale(1.1);
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes pointingCycle {
  0% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }  
}

.left-section::after {
  content: '👆';
  position: absolute;
  top: 200px;
  right: 75px;
  font-size: 32px;
  animation: hoverFloat 2s ease-in-out infinite, pointingCycle 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

.middle-section {
  max-width: 600px;
  padding: 20px;
}

.offer {
  color: rgb(255, 255, 255);	
  text-align: center;
  font-size: 35px;
  font-weight: 1000;
  line-height: 1.4;
  margin-bottom: 15px;
  /* font-family: 'Archivo Black', sans-serif; */
  /*default theme*/
  text-shadow: 0 2px 4px rgba(6, 154, 190, 0.5);
  /*christmas theme*/
  /* text-shadow: 0 2px 4px rgb(255, 0, 0); */
}

.right-section {
  width: 180px;
  margin-left: -25px;
  margin-right: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.fb-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.fb-icon {
  border-radius: 75px;
  height: 75px;
  margin-left: 25px;
  transition: all 0.3s ease;
}

.fb-icon:hover {
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* tablet 768 ===================================================== */

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  .jcd-big {
    margin: 0;
  }

  .offer {
    font-size: 20px;
  }

  .left-section,
  .middle-section {
    margin: 10px 0;
    padding: 0;
  }

  .left-section::after {
    top: 125px;
    right: 50px;
  }

}

/* phone 676 ===================================================== */

@media (max-width: 676px) {

  .header {
    position: relative;
    height: auto;
    padding: 15px 0;
  }

  .jcd-big {
    width: 120px;
    padding-left: 0;
    margin: 0;
  }

  .offer {
    font-size: 18px;
    line-height: 24px;
    margin: 15px 20px;
    width: auto;
  }

  .right-section {
    width: auto;
    margin: 10px 0;
  }

  .fb-icon {
    height: 50px;
    margin: 25px;
  }
}

/* phone 425 ===================================================== */

@media (max-width: 676px) {

  .offer {
    line-height: 50px;
    width: 300px;
    margin-left: 25px;
  }
}

@media (max-width: 770px) {
  .header {
    position: relative;
    height: auto;
    min-height: 200px;
    padding: 20px;
    margin-bottom: 20px;
  }

  .jcd-big {
    width: 200px;
  }

  .offer {
    font-size: 24px;
    line-height: 1.3;
    padding: 0 10px;
  }
}
