.post-share-wrapper {
    display: block;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.post-share-wrapper.active {
    pointer-events: all;
}

.post-share-background {
    opacity: 0;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(11 11 11 / 40%);
    transition: opacity 300ms ease;
}

.post-share-wrapper.active  .post-share-background {
    opacity: 1;
}

.post-share-content-headline {
    position: relative;
    font-size: calc(17px + (23 - 17) * ((100vw - 300px)/(1920 - 300)));
    padding: 10px 16px;
}

.close-share-content {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    color: #777;
    user-select: none;
    padding: 10px 20px;
}
.share-button {
    text-align: center;
}
.post-share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.post-share-button:hover .post-share-icon {
    filter: brightness(90%);
}

.post-share-icon {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    margin-bottom: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}
.mail-icon {
    background-color: #00b2a5
}
.pinterest-icon {
    background-color: #D73633
}
.facebook-icon {
    background-color: #1877f2
}
.twitter-icon {
    background-color: #00aced
}
.whatsapp-icon {
    background-color: #25D366
}
.post-share-icon svg {
    width: 26px;
    height: 26px;
}
.post-share-txt {
    font-weight: 500;
    color: var(--primary);
    font-size: 14px;
}

.form-copy-gr {
    width: 92%;
    padding: 0 16px 10px;
    margin: 4px auto 24px;
}

.form-copy-gr .form-control {
    padding: 12px 10px 12px 16px;
    border-radius: 4px 0 0 4px;
    border-right: none;
}
.form-copy-gr .button {
    border: 1px solid var(--secondary);
    background-color: var(--secondary);
    color: #fff;
    white-space: nowrap;
    border-radius: 0 4px 4px 0;
    position: relative;
}

.form-copy-gr .button small {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #fff;
    background-color: var(--primary);
    padding: 8px 10px;
    right: 100%;
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
    transition: var(--trans);
}
.form-copy-gr .button small:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-left-color: #000;
    border-width: 6px;
    margin-top: -6px;
}

.form-copy-gr .button.active small {
    opacity: 1;
    right: 115%
}

.copy-txt {
    font-weight: 500;
    margin-top: 12px;
}

strong{
    font-weight: 600;
}

@media (min-width: 760px) {
    .post-share-content-box {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        background-color: #fff;
        border-radius: 8px;
        width: 90%;
        max-width: 640px;
        opacity: 0;
        box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%), 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 10%);
    }

    .post-share-wrapper.active .post-share-content-box {
        opacity: 1;
    }
}
@media (max-width: 760px) {


    .post-share-wrapper .post-share-content-box {
        position: fixed;
        bottom: 0;
        width: 100%;
        box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%), 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 10%);
        transform: translateY(120%);
        left: 0;
        z-index: 3;
        background-color: #fff;
        border-radius: 8px 8px 0 0;
        transition: transform 300ms ease;

    }
    .post-share-wrapper.active .post-share-content-box {
        transform: translateY(0);
    }

    .post-share-button {
        width: 25%;
    } 
}