.coc {
    display: flex;
    flex-direction: column;
    gap: var(--padding-2);
    position: relative;
}

.coc-text-content {
    align-self: flex-end;
    width: 50%;
    border-radius: var(--border-radius) 0 var(--border-radius) var(--border-radius);
    margin-right: 19%;
    padding: var(--padding-2);
    position: relative;
}

.coc-text-content::before {
    content: "";
    position: absolute;
    top: calc(var(--navbar-height) - 1px);
    left: calc(100% - 1px);
    width: 16px;
    height: 16px;
    background:
      radial-gradient(
        circle 10px at 100% 100%,
        transparent 16px,
        var(--theme-white) 17px);  /* + 1 px so the edge is smooth */
}

.coc::before {
    content: "";
    position: absolute;
    top: 0;
    left: 81%;
    background-color: var(--theme-white);
    width: 100vw;
    height: var(--navbar-height);
}

.contact {
    background-color: var(--theme-red);
    align-self: flex-start;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.contact p {
    font-size: 1.2rem;
    color: var(--theme-white);
}

@media(max-width: 600px) {
    .coc-text-content {
        align-self: flex-end;
        width: 90%;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
        margin-right: 0;
    }

    .coc-text-content::before {
        display: none;
    }

    .coc::before {
        top: calc(-2 * var(--navbar-height) - var(--padding-1));
        left: unset;
        right: 0;
        height: calc(2 * var(--navbar-height) + var(--padding-1));
        width: 20%;
    }

    .coc::after {
        content: "";
        position: absolute;
        bottom: calc(100% - 1px);
        right: calc(20% - 1px);
        width: 16px;
        height: 16px;
        background:
        radial-gradient(
            circle 10px at 100% 100%,
            transparent 16px,
            var(--theme-white) 17px);  /* + 1 px so the edge is smooth */
        transform: rotate(180deg);
    }
}