to be known as the Opioid Epidemic Response Fund (referred to in this section as the Fund ), for purposes of funding the programs and activities described in subsection (d). (2) Transfer For each of fiscal years 2020 through 2024, $5,000,000,000 shall be transferred to the Fund from the general fund of the Treasury. (3) Amounts deposited Any amounts transferred under paragraph (2) shall remain unavailable in the Fund until such amounts are appropriated pursuant to subsection (c). (c) Appropriations (1) Authorization of appropriations For the period of fiscal years 2020 through 2024, there is authorized to be appropriated from the Fund to the Department of Health and Human Services, for the purpose of carrying out the programs and activities described in subsection (d), an amount not to exceed the total amount transferred to the Fund under subsection (b)(2), to remain available until expended. (2) Offsetting future appropriations For any of fiscal years 2020 through 2024, for any discretionary appropriation to the Department of Health and Human Services (or any agency therein) pursuant to the authorization of appropriations under paragraph (1) for the purpose of carrying out the programs and activities described in subsection (d), the total amount of such appropriations for the applicable fiscal year (not to exceed the total amount remaining in the Account) shall be subtracted from the estimate of discretionary budget authority and the resulting outlays for any estimate under the Congressional Budget and Impoundment Control Act of 1974 or the Balanced Budget and Emergency Deficit Control Act of 1985, and the amount transferred to the Fund shall be reduced by the same amount. (d) Programs and activities Of the total amount authorized to be appropriated from the Fund to the Department of Health and Human Services by subsection (c)(1), such amount shall be allocated as follows: (1) SAMHSA For the Substance Abuse and Mental Health Services Administration to carry out programs and activities pursuant to section 102,