#share-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: rgba(9, 9, 9, 0.2470588235);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: auto;
}

.closeModal {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  color: #333;
}

.modal-container {
  position: relative;
  width: 80%;
  height: 40%;
  top: 25%;
  margin: 0 auto;
  padding: 5px 20px;
  gap: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.507);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: #fff;
}

.modal-container > p {
  width: 100%;
  height: 50px;
  line-height: 46px;
  padding: 4px;
}

.modal-container .buttons {
  display: flex;
  justify-content: center;
  gap: 5%;
  width: 100%;
  flex-wrap: wrap;
}

.modal-container .url {
  display: flex;
  width: 100%;
  height: 14%;
  background-color: #fff;
  padding: 4px;
  border: 1px solid lightgray;
  border-radius: 5px;
  gap: 2px;
}

.modal-container .url .urlCopy {
  width: 80%;
  border: none;
  color: black;
}

.modal-container .url .btnCopy {
  width: 20%;
  border: none;
  background-color: lightgray;
  border-radius: 5px;
  cursor: pointer;
  color: black;
}

.smd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid lightgray;
  border-radius: 25px;
  width: 52px;
  height: 52px;
}

.share-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

#share-button {
  border: none;
  color: #00baff;
  background-color: transparent;
  padding: 2px;
  border-radius: 5px;
  cursor: pointer;
}

#share-modal p {
  margin-top: 0;
  color: #333;
}

#share-modal .share-link {
  display: block;
  text-decoration: none;
  color: #333;
}

@media (max-width: 720px) {
  .modal-container {
    gap: 15px;
  }
}
@media (min-width: 720px) {
  .modal-container {
    width: 35%;
    gap: 65px;
  }
  .modal-container .buttons {
    gap: 11%;
  }
  .modal-container .url {
    display: flex;
    width: 100%;
    height: 14%;
    background-color: #fff;
    padding: 4px;
    border: 1px solid lightgray;
    border-radius: 5px;
  }
  .modal-container .url .urlCopy {
    width: 80%;
    border: none;
    color: black;
  }
  .modal-container .url .btnCopy {
    width: 20%;
    border: none;
    background-color: lightgray;
    border-radius: 5px;
    cursor: pointer;
    color: black;
  }
}
