.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.share-modal dialog {
  position: relative;
  border: none;
  background-color: var(--background-color);
  padding: calc(var(--default-spacing) * 2);
  max-width: 400px;
  width: calc(100% - 40px);
  z-index: 1001;
}

.share-modal .share-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--default-color);
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.share-modal dialog h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--default-spacing);
  text-align: center;
}

.share-modal dialog div {
  display: flex;
  justify-content: center;
  gap: var(--default-spacing);
}

.share-modal a {
  display: block;
  border: 1px solid var(--default-color);
  background-color: var(--background-color);
  border-radius: 50%;
  width: 43px;
  height: 43px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-align: center;
  line-height: 40px;
}

.share-modal a img {
  width: 80%;
  height: 80%;
  vertical-align: middle;
}

.share-modal a:hover {
  filter: invert(1);
}

@media (min-width: 600px) {
    .share-modal dialog {
        max-width: 450px;
    }
}
