@keyframes call {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        opacity: 0;
    }
}

a.pulse {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 50px;
    cursor: pointer;
    background: var(--c);
    border-radius: 50%;
    width: 75px;
    height: 75px;
    text-align: center;
    z-index: 15;
    border: 2px solid var(--cw);
}

a.pulse i {
    color: var(--cw);
    font-size: 2em;
    margin: 0 0 2px 0;
}

a.pulse::before,
a.pulse::after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid var(--c);
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: call 1.5s ease infinite;
    animation-delay: 0s;
    opacity: 0;
    backface-visibility: hidden;
}

a.pulse::after {
    animation-delay: .5s;
}

.modal-header {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
}

.close {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    height: 16px;
    text-decoration: none;
    width: 16px;
}

.close svg {
    width: 16px;
}

.modal-wrapper {
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

#modal {
    opacity: 0;
    visibility: hidden;
    transition: .5s all ease;
    z-index: 999;
}

#modal:target {
    opacity: 1;
    visibility: visible;
}

#modal:target .modal-body {
    opacity: 1;
    transform: translateY(1);
}

#modal .modal-body {
    max-width: 500px;
    opacity: 0;
    width: 100%;
    z-index: 1;
}

.outside-trigger {
    bottom: 0;
    cursor: default;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}