@media screen and (max-width: 1000px) {
    .services-table {
        width: 90%;
        left: 5%;
        right: auto;
        font-size: 15px;
    }

    .services-table-one-doctor {
        width: 90%;
        left: 5%;
        right: auto;
        font-size: 15px;
    }

    .services-table-link {
        background-color: rgba(0, 0, 0, 0);
        margin-top: 10px;
    }

    .services-table-link:hover {
        background-color: rgba(0, 0, 0, 0);
        color: white;
        transition: all 0.3s linear;
    }

    .table-button-mobile {
        background-color: aquamarine;
        border-radius: 15px;
        padding: 5px;
    }

    .list-item-mobile {
        background-color: aquamarine;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        border-radius: 15px;
    }

    .table-button-mobile:hover {
        background-color: #7fbbf5;
        color: white;
        text-decoration: white;
        transition: all 0.3s linear;
    }

    .list-item-mobile:hover {
        background-color: #7fbbf5;
        color: white;
        transition: all 0.3s linear;
    }

    .categories-container {
    left: 15%;
    width: 70%
    }

    .subcategory-button {
        font-size: 16px;
    }
}

@media screen and (max-width: 800px) {
    .subcategory-table {
        font-size: 15px;
        width: 90%;
        left: 5%;
        right: 5%;
    }
}

@media screen and (max-width: 650px) {
    .subcategory-table {
        font-size: 13px;
    }
}

@media screen and (max-width: 550px) {
    .subcategory-table {
        width: 100%;
        left: 0;
        font-size: 13px;
    }

    .subcategory-th {
        padding-left: 1px;
        padding-right: 1px;
    }

    .subcategory-td {
        padding-left: 1px;
        padding-right: 1px;
    }
}

@media screen and (max-width: 400px) {
    .services-table {
        width: 100%;
        left: 0;
        font-size: 13px;
    }

    .services-td li {
        margin: 5px !important;
    }

    .subcategory-table {
        font-size: 11px;
    }
}

@media screen and (max-width: 350px) {
    .subcategory-table {
        font-size: 10px;
    }
}

@media screen and (max-width: 320px) {
    .subcategory-table {
        font-size: 9px;
    }
}

@media screen and (max-width: 290px) {
    .subcategory-table {
        font-size: 8px;
    }
}