/** TEXT BLOCK */
.newsletter-energetic-paragraph {
  padding: 20px;
}

.newsletter-energetic-container {
  display: flex;
  justify-content: center;
  margin: 5em 0;
}

.newsletter-energetic-container.left {
  justify-content: flex-start;
}

.newsletter-energetic-container.right {
  justify-content: flex-end;
}

.newsletter-energetic-paragraph-image {
  position: relative;
  width: 100%;
  max-width: 850px;
  padding: 2em 4em;
  border-radius: 30px;
}

.newsletter-energetic-paragraph-image::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -50px;
  width: 100px;
  height: 100px;
  background-color: var(--bg-paragraph-image-color);
  border-radius: 100% 0% 0% 0%;
}

.newsletter-energetic-paragraph-image::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 100px;
  width: 200px;
  height: 30px;
  background-color: var(--bg-paragraph-image-color);
  border-radius: 20px;
}

.newsletter-energetic-paragraph-image.center {
  margin: 0 auto;
  max-width: 65%;
}

.newsletter-energetic-paragraph-image.right,
.newsletter-energetic-paragraph-image.left {
  max-width: 60%;
}

.newsletter-energetic-paragraph-image.right {
  float: right;
}

/** IMAGE BLOCK */
.block-newsletter-image .field-media-image > img {
  margin: auto;
  max-width: 100%;
  height: auto;
}

/** VIDEO BLOCK */
.xm-newsletter-video-container {
  position: relative;
  display: block;
  height: 75vh;
}

.xm-newsletter-video {
  width: 75%;
  border-radius: 30px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.xm-newsletter-video-container iframe {
  width: 100% !important;
  max-width: 100%;
  height: 75vh;
}

.xm-newsletter-video-container img {
  z-index: 2;
  position: absolute;
  width: 15%;
}

.xm-newsletter-video-container .image-right-video {
  top: 40%;
  right: 5%;
}

.xm-newsletter-video-container .image-left-video {
  top: 30%;
  left: 5%;
}

/** BULLET TITLE BLOCK */
.xm-bullet-title-block {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.title-bullet-container {
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 10px 20px;
  max-width: 100%;
  z-index: 99;
}

.bullet-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.bullet-text {
  margin: 1em 0;
}

.bullet-moon::before,
.bullet-moon::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #aef0f0;
}

.bullet-moon::before {
  top: 0;
  right: 0;
  transform: translate(100%, 40%);
  border-radius: 0% 0% 100% 0%;
  z-index: -1;
}

.bullet-moon::after {
  bottom: 0;
  right: 0;
  transform: translate(0%, -60%);
  border-radius: 100% 0% 0% 0%;
  z-index: -1;
}

.bullet-moon {
  height: 40px;
  border-radius: 0 100% 100% 0;
  position: relative;
  margin-right: 50px;
}

.bullet-number {
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
  padding: 10px;
}

/** MEDIA QUERIES FOR RESPONSIVENESS */
@media (max-width: 1024px) {
  .newsletter-energetic-paragraph {
    padding: 15px;
  }

  .xm-newsletter-video-container {
    height: 50vh;
  }

  .xm-newsletter-video-container iframe {
    height: 50vh;
  }
}

@media (max-width: 1010px) {
  .newsletter-energetic-paragraph-image {
    margin: 0px 60px;
  }
}

@media (max-width: 768px) {
  .xm-newsletter-video-container {
    height: 40vh;
  }

  .xm-newsletter-video-container iframe {
    height: 40vh;
  }
}

@media only screen and (min-width: 1300px) {
  .xm-newsletter-video-container {
    margin: 70px auto;
  }
}