.overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  z-index: 1000;
  background-color: #0000006e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup {
  background-color: #fff;
  position: relative;
  width: 40%;
}
.canvas_popup {
  padding: 30px 30px 10px;
  display: flex;
  width: 100%;
}

.detail_title_close {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.icon_close {
  font-size: 1.2rem;
  color: #0000006e;
  cursor: pointer;
}
.preview_canvas {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px;
}

.preview_canvas_img {
  position: relative;
  width: auto;
  height: auto;
}

.preview_canvas_img img {
  width: 500px;
  max-width: 100%;
  height: auto;
  display: block;
}

.ring_svg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateX(-50%);;
}

.note {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  font-size: 0.7em;
  text-align: center;
  pointer-events: none;
  margin-top:30px;
    margin-bottom:20px;
}

.text_female, .text_male {
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8), 0 -1px 1px rgba(0, 0, 0, 0.4);
}



/** MOBILE BREAKPOINT */

@media only screen and (max-width: 1023px) {

  .canvas_popup {
    padding: 20px 20px 5px;
  }
  .popup {
    width: 80%;
  }

  .note {
    font-size: 0.7rem;
  }

}
@media only screen and (max-width: 650px) {
  .canvas_popup {
    padding: 20px 20px 5px;
  }
  .popup {
    width: 90%;
  }

  .preview_canvas {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px;
  }

  .preview_canvas_img {
    position: relative;
    width: 300px;
    display: inline-block;
  }

  .preview_canvas_img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .ring_svg {
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 100%;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .note {
    width: 100%;
    font-size: 0.6rem;
    margin-top:20px;
    margin-bottom:20px;
  }

  .text_female, .text_male {
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8), 0 -1px 1px rgba(0, 0, 0, 0.4);
  }
}
