.button.share-button {
    display: none;
    padding: 0;
    width: 20px;
    height: 20px;

    border: 0;
    background-color: transparent;
}

.modal-share {
    display: none;

    align-items: flex-end;
    justify-content: center;

    width: 100%;
    height: auto;

    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;

    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);

    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.modal-share_active {
    visibility: visible;
    opacity: 1;
}

#modal-share.fancybox__content {
    display: flex;
    justify-content: end;
    padding: 0;
    bottom: 0;
    align-self: end;
    position: fixed;
}

.modal-share__content {
    display: flex;
    flex-direction: column;
    gap:12px;

    position: relative;
    padding: 20px;

    transform: translateY(120%);
    transition: transform .3s ease-in-out;
    width: 100%;
    background-color: var(--v-color-white);
}

.modal-share_active .modal-share__content {
    transform: translateY(0);
}

.modal-share__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-share__close svg {
    pointer-events: none;
}

.modal-share__title {
    font-size: 20px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-share__copy {
    font-size: 14px;
    font-weight: 500;

    background-color: #F1F1F5;
    padding: 8px 16px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;

    transition: border-color .3s ease;
    cursor: pointer;
}

.modal-share__copy * {
    pointer-events: none;
}

.modal-share__copy:hover {
    border-color: #ddd;
}



@media (max-width: 1024px) {
    .modal-share {
        display: flex;
    }

    .button.share-button {
        display: flex;
    }
}
