.services_modal {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    position: absolute;
    top: 86px;
    left: 100%;
    background-color: var(--grey);
    width: 100%;
    height: calc(100vh - 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 25px;
    box-sizing: border-box;
    z-index: 999;
    transition: left 0.3s ease-in, opacity 0.5s ease-in, visibility 0.4s;
}

.services_modal.show {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    left: 0; /* Slide into view */
    transition: left 0.3s ease-out, opacity 0.2s ease-out;
}

.chevron_right {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    color: var(--black);
}

.services_modal .chevron_right {
    margin-top: -100px;
    cursor: pointer;
}

.services_modal a {
    font-size: 32px;
    font-family: area-normal, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: var(--black);
    margin-top: 5px;
}

.services_modal a:first-of-type {
    margin: 30px 0 20px;
    font-size: 24px;
    border-bottom: 2px solid var(--black);
}

@keyframes animateleft {
    from {left: calc(100% - 25px); opacity: 0}
    to {left: 0px; opacity: 1}
}

@keyframes animateright {
    from {left: 0px; opacity: 1}
    to {left: calc(100% - 25px); opacity: 0}
}

@media (max-width: 800px) {
    .services_modal {
        top: 76px;
        height: calc(100vh - 76px);
        padding: 20px;
    }
}